Re: Passive check struggle
Posted: Wed May 30, 2018 4:40 pm
I took a step. I reinstall the whole nrdp from the source.
Now there is only one warning:
The nrdp debug.log shows:
However my check does not appear in nagios, nor the in the check status on the ncpa webpage. The /var/spool/nagois/checkresults folder also empty.
Now there is only one warning:
Code: Select all
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/local/nrdp/server/includes/utils.inc.php on line 392
Code: Select all
[Wed, 30 May 2018 21:28:55 +0000] REQUEST: [cmd] submitcheck
[Wed, 30 May 2018 21:28:55 +0000] REQUEST: [token] token
[Wed, 30 May 2018 21:28:55 +0000] REQUEST: [XMLDATA] <?xml version='1.0'?>
<checkresults>
<checkresult type='host'>
<hostname>Apollonia</hostname>
<state>0</state>
<output>Everything looks okay! | perfdata=1;</output>
</checkresult>
<checkresult type='service'>
<hostname>Apollonia</hostname>
<servicename>Disk Usage</servicename>
<state>1</state>
<output>WARNING: Danger Will Robinson! | perfdata=1;</output>
</checkresult>
</checkresults>
[Wed, 30 May 2018 21:28:55 +0000] have xml