Cannot Apply Configuration
Posted: Wed May 16, 2012 10:17 am
Hi,
Anytime I try to apply configuration i get the error..
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.
Please see below the information from running the command
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
.........200 OK
Length: 4788 (4.7K) [text/html]
Saving to: `nagiosql.export.monitoring'
0K .... 100% 344M=0s
2012-05-16 16:12:11 (344 MB/s) - `nagiosql.export.monitoring' saved [4788/4788]
NAGIOSQL WRITE CONFIGS FAILED!\n
OUTPUT=NAGIOSQL WRITE CONFIGS FAILED!\n
RETURNCODE=5
PROCESSED 1 COMMANDS
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
..
PROCESSED 0 COMMANDS
0K ..... 100% 350M=0s
2012-05-16 16:11:18 (350 MB/s) - `nagiosql.login' saved [5286/5286]
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=nagios' -O nagiosql.loginLOGIN SUCCESSFUL!
URL: http://localhost/nagiosql/admin/verify.php
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --no-check-certificate --post-data 'writeMonitoring=Go' -O nagiosql.export.monitoring
--2012-05-16 16:11:18-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
Please help!
Anytime I try to apply configuration i get the error..
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.
Please see below the information from running the command
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
.........200 OK
Length: 4788 (4.7K) [text/html]
Saving to: `nagiosql.export.monitoring'
0K .... 100% 344M=0s
2012-05-16 16:12:11 (344 MB/s) - `nagiosql.export.monitoring' saved [4788/4788]
NAGIOSQL WRITE CONFIGS FAILED!\n
OUTPUT=NAGIOSQL WRITE CONFIGS FAILED!\n
RETURNCODE=5
PROCESSED 1 COMMANDS
tail: /usr/local/nagiosxi/var/cmdsubsys.log: file truncated
..
PROCESSED 0 COMMANDS
0K ..... 100% 350M=0s
2012-05-16 16:11:18 (350 MB/s) - `nagiosql.login' saved [5286/5286]
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=nagios' -O nagiosql.loginLOGIN SUCCESSFUL!
URL: http://localhost/nagiosql/admin/verify.php
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --no-check-certificate --post-data 'writeMonitoring=Go' -O nagiosql.export.monitoring
--2012-05-16 16:11:18-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
Please help!