
After i upgrade my nagiosxi i get this message when i try to start monitor engine from gui:
Code: Select all
An error occurred processing your request.
Error: Invalid max_check_attempts value for host 'XXXXXX'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/XXXXXX.cfg', starting on line 16)
The host XXXXX does not exist on my system
the output from /usr/local/nagiosxi/var/cmdsubsys.log
Code: Select all
PROCESS COMMAND: CMD=17, DATA=
APPLYING NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
Resetting configuration permissions failed!
OUTPUT=Resetting configuration permissions failed!
RETURNCODE=3
PROCESSING COMMAND ID 7876...
PROCESS COMMAND: CMD=1150, DATA=remove
CMDLINE=php /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php --cmd=syncall
buffer too small to read octet string (17 < 17)
CMD: syncall
MSG: BPI configuration applied successfully! BPI configuration applied successfully!
OUTPUT=MSG: BPI configuration applied successfully! BPI configuration applied successfully!
RETURNCODE=0
.................................................
PROCESSED 2 COMMANDS
buffer too small to read octet string (17 < 17)
Thanks for your help