Re: Nagios XI 5 Open Beta - Download Available
Posted: Wed Sep 23, 2015 12:43 pm
All of a sudden the apply configurations isn't working. It gets to "Waiting for configuration verification" and just keeps spinning and spinning.
Support for Nagios products and services
https://support.nagios.com/forum/
Any chance the exported pdf could get a better naming system? (Maybe in a later release)One more thing before I go to sleep. When we run a report and export to pdf (I'm not sure if there is the same behavior for other types of export, the name of the pdf is always availibility.pdf
As I have to run multiple reports sometimes, it would be better and more convenient if all the reports were not named exactly the same. Some suggestions:
availibility-host1-YYYYMMdd-HHmmss
availibility-hostgroup-YYYYMMdd-HHmmss
By appending the host / hostgroup and the date we would not have to rename every exported pdf.
If I let it go long enough, this finally appears:jomann wrote:Can you verify if the config actually applied and that the page just got stuck? Or did the config actually not apply?
Code: Select all
Apply Configuration
Waiting for configuration verification........................................................................................................................................................................................................................................................................................................
Reset config permissions failed.
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.
View a snapshot of this configuration error
Try Again
Show Config Changes Show Errorsyes, goto http://your server url/nagiosxi/help/# then look on menu on left.WillemDH wrote:Another question => Is there any documentation about the new REST api?
Should be present under the Help menu, but there are a few parts that still need to be worked on. I went through and tested that all in the Beta release, and found a few commands that need to be fixed but work once they are correct.WillemDH wrote:Another question => Is there any documentation about the new REST api?
Can you post the snapshot? It probably has the reason for the failure in there.BanditBBS wrote:If I let it go long enough, this finally appears:jomann wrote:Can you verify if the config actually applied and that the page just got stuck? Or did the config actually not apply?
I'm guessing its a sudoers issue. Is there some new command needed in XI 5.0? Our sudoers is centrally managed and the sudoers file on this host was overwritten at 8am today.Code: Select all
Apply Configuration Waiting for configuration verification........................................................................................................................................................................................................................................................................................................ Reset config permissions failed. 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. View a snapshot of this configuration error Try Again Show Config Changes Show Errors
The devs will certainly respond soon - but for testing, here is my sudoers file from a fresh XI 5 test machine:I'm guessing its a sudoers issue. Is there some new command needed in XI 5.0? Our sudoers is centrally managed and the sudoers file on this host was overwritten at 8am today.
Code: Select all
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *That fixed it...took a while but then applied again and it was back to being quick....now to get everything needed added to the sudoers permanently.jolson wrote:The devs will certainly respond soon - but for testing, here is my sudoers file from a fresh XI 5 test machine:I'm guessing its a sudoers issue. Is there some new command needed in XI 5.0? Our sudoers is centrally managed and the sudoers file on this host was overwritten at 8am today.
Code: Select all
User_Alias NAGIOSXI=nagios User_Alias NAGIOSXIWEB=apache NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php * NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh * NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php * NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *