Page 1 of 1

monitoring engine status no data?!

Posted: Tue Oct 15, 2019 12:34 pm
by xpertech
why sometimes the monitoring engine status display "no data"?!

Re: monitoring engine status no data?!

Posted: Tue Oct 15, 2019 2:28 pm
by benjaminsmith
Hello @xpertech,

Looks like the dashlet is updating but it's not able to fetch any data. Have you made any changes to the server since this started happening? The data is retrieved from a php script running on a scheduled basis as a cron job.

1. Please post the output of the cron log

Code: Select all

tail -n 25 /var/log/cron
2. Load the this page and tail the Apache log and post the output. Thanks.

Code: Select all

tail -f /var/log/httpd/*error_log /var/log/httpd/*access_log

Re: monitoring engine status no data?!

Posted: Mon Oct 28, 2019 10:11 am
by xpertech
had PM attachments...

Re: monitoring engine status no data?!

Posted: Mon Oct 28, 2019 1:17 pm
by benjaminsmith
Hello @Xpertech

The logs contain the error below on the script that is parsing the status data for the server. This is a known issue that will be patched in the next maintenance release.
PHP Warning: simplexml_load_string(): in /usr/local/nagiosxi/html/includes/utils-systat.inc.php on line 17
If you'd like to fix this right away, see the forum post below. Also, be sure to make a backup copy of manage_services.sh before making any changes.

https://support.nagios.com/forum/viewto ... 16&t=55707

Let us know if you have any questions.