NRDP v1.5.1 passive check issue with Nagios Core v4.3.4
Posted: Tue May 08, 2018 6:55 am
Hi All,
I'm facing an issue during sending remote host check result with nrdp client to nagios core.
I've installed NRDP server onto Nagios Core server and successfully tested with http://nagios_core_ip/nrdp/ link by sending external command.
But I can not successfully tested with send command both from web link and from remote nrdp client.
when i use nrdp client i seee below message and debug log that check result is successfully sending to nagios core server.
But there is no update seen from nagios core web interface nor nagios.log.
What am i missing?
./send_nrdp.py -t xxxxxx -u http://nagios_core_ip/nrdp -H nrdphost -S 0 -o ammana -c 1
nrdp debug message on nagios core server--
I'm facing an issue during sending remote host check result with nrdp client to nagios core.
I've installed NRDP server onto Nagios Core server and successfully tested with http://nagios_core_ip/nrdp/ link by sending external command.
But I can not successfully tested with send command both from web link and from remote nrdp client.
when i use nrdp client i seee below message and debug log that check result is successfully sending to nagios core server.
But there is no update seen from nagios core web interface nor nagios.log.
What am i missing?
./send_nrdp.py -t xxxxxx -u http://nagios_core_ip/nrdp -H nrdphost -S 0 -o ammana -c 1
Code: Select all
Sent 1 checks to http://nagios_core_ip/nrdp/
Code: Select all
[Tue, 08 May 2018 14:53:34 +0300] nagioscorecmd_process_request(cbtype = PROCESS_REQUEST, args[cmd] = submitcheck
[Tue, 08 May 2018 14:53:34 +0300] nagioscorecmd_process_request() had no registered callbacks, returning
[Tue, 08 May 2018 14:53:34 +0300] nagioscorepassivecheck_process_request(cbtype = PROCESS_REQUEST, args[cmd] = submitcheck
[Tue, 08 May 2018 14:53:34 +0300] REQUEST: [token] xxxxxxxxxxxxxxxxxxxx
[Tue, 08 May 2018 14:53:34 +0300] REQUEST: [cmd] submitcheck
[Tue, 08 May 2018 14:53:34 +0300] REQUEST: [XMLDATA] <?xml version='1.0'?>
<checkresults>
<checkresult type='host' checktype='1'><hostname>nrdphost</hostname><state>0</state><output>ammana</output></checkresult></checkresults>
[Tue, 08 May 2018 14:53:34 +0300] have xml
[Tue, 08 May 2018 14:53:34 +0300] our xml: SimpleXMLElement Object
(
[checkresult] => SimpleXMLElement Object
(
[@attributes] => Array
(
[type] => host
[checktype] => 1
)
[hostname] => nrdphost
[state] => 0
[output] => ammana
)
)
[Tue, 08 May 2018 14:53:34 +0300] nrdp_write_check_output_to_cmd(hostname=nrdphost, servicename=, state=0, type=host, output=ammana
[Tue, 08 May 2018 14:53:34 +0300] nrdp_write_check_output_to_cmd() successful
[Tue, 08 May 2018 14:53:34 +0300] all nrdp (xml) checks have been written