Page 2 of 2

Re: Service check "pending" in Nagiosxi but works in Core

Posted: Tue Nov 23, 2021 4:36 pm
by pbroste
Hello @Sistemisti Sisal

Thanks for following up, want to answer your questions and then provide further troubleshooting.
For instance, where is this performance data stored, once it is received from the plugin?
[*] could it be a database table with some char limit?
The perfdata does not associate with the database, please see diagram:
map.png
[*] maybe the html does not allow passing so much data?
PHP issue is not out of the possibility.
[*] any idea is really appreciated
Next steps:
  • Tail perfdata logging when triggering the service check. Trigger the service check and watch the perfdata log
  • [list]
  • Code: Select all

    tail -f /usr/local/nagios/var/perfdata.log
  • /usr/local/nagios/etc/pnp/process_perfdata.cfg
    Change:
    LOG_LEVEL = 0
    To:
    LOG_LEVEL = 2
    The process_perfdata.pl script should now log all errors and debug information to the file /usr/local/nagios/var/perfdata.log which can be watched using this command:
    tail -f /usr/local/nagios/var/perfdata.log
[*]Also watch Apache logs located in /var/log/httpd/ or /var/log/apache2/..[/*][/list]

Please follow up with results,
Perry