nrdp checks not displaying in nagios core
nrdp checks not displaying in nagios core
network anaylyzer is sending nrdp info to nagios core but can't get the results to display in nagios web interface.
This is the nrdp check file from the nagios server:
### NRDP Check ###
start_time=1434036920.0
# Time: Thu, 11 Jun 2015 11:35:20 -0400
host_name=Test-Router
service_description=HO_Bandwidth_2
check_type=1
early_timeout=1
exited_ok=1
return_code=1
output=bytes on Test_Router with filter `net 10.104.1.0/24` is 276 | bytes=276;100;500000;0\n
This is the nrdp check file from the nagios server:
### NRDP Check ###
start_time=1434036920.0
# Time: Thu, 11 Jun 2015 11:35:20 -0400
host_name=Test-Router
service_description=HO_Bandwidth_2
check_type=1
early_timeout=1
exited_ok=1
return_code=1
output=bytes on Test_Router with filter `net 10.104.1.0/24` is 276 | bytes=276;100;500000;0\n
Re: nrdp checks not displaying in nagios core
What version of Nagios Network Analyzer are you running?
There was an issue regarding hyphens, and as of our most recent release hyphens can no longer be used. Please change your hostname from 'Test-Router' to 'Test_Router' on both Nagios Core and Network Analyzer. Let me know if your results are any different after doing so.
There was an issue regarding hyphens, and as of our most recent release hyphens can no longer be used. Please change your hostname from 'Test-Router' to 'Test_Router' on both Nagios Core and Network Analyzer. Let me know if your results are any different after doing so.
Re: nrdp checks not displaying in nagios core
I'm using the latest version of analyzer and have changed to _ on analyzer and core for hostname. Still the same result.
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: nrdp checks not displaying in nagios core
Is your NRDP install healthy and working properly? Can you submit a passive result through the web interface for your test_router and have it show up?
Just trying to narrow down the scope, is the problem Nagios, NRDP, or NNA.
Thanks
Just trying to narrow down the scope, is the problem Nagios, NRDP, or NNA.
Thanks
Re: nrdp checks not displaying in nagios core
Here is what the file in checkresults has in it from Analyzer. I think it might be a permissions issue on the nagios side.
the NNA check reaches the checkresults folder on nagios server but from there I'm at a loss.
### NRDP Check ###
start_time=1434636619.0
# Time: Thu, 18 Jun 2015 10:10:19 -0400
host_name=Lakefield_Router_NA_148
service_description=Lakfield_Bandwidth
check_type=1
early_timeout=1
exited_ok=1
return_code=0
output=bps on Lakefield_Router_NA_148 with filter `net 10.104.1.0/24` is 0 | bps=0;50;500000;0\n
the NNA check reaches the checkresults folder on nagios server but from there I'm at a loss.
### NRDP Check ###
start_time=1434636619.0
# Time: Thu, 18 Jun 2015 10:10:19 -0400
host_name=Lakefield_Router_NA_148
service_description=Lakfield_Bandwidth
check_type=1
early_timeout=1
exited_ok=1
return_code=0
output=bps on Lakefield_Router_NA_148 with filter `net 10.104.1.0/24` is 0 | bps=0;50;500000;0\n
Re: nrdp checks not displaying in nagios core
This is the result of a passive check sent from nrdp.
submit command:
<result>
<status>0</status>
<message>OK</message>
</result>
submit check data:
<result>
<status>0</status>
<message>OK</message>
<meta>
<output>2 checks processed.</output>
</meta>
</result>
submit command:
<result>
<status>0</status>
<message>OK</message>
</result>
submit check data:
<result>
<status>0</status>
<message>OK</message>
<meta>
<output>2 checks processed.</output>
</meta>
</result>
Re: nrdp checks not displaying in nagios core
Please run the following command as root from the Nagios server command line and post the results:
if you are on Core 3. If you are on Core 4, please run this instead:
Code: Select all
grep "Check result queue contained results for" /usr/local/nagios/var/nagios.log
grep "Passive check result was received for" /usr/local/nagios/var/nagios.log
Code: Select all
grep "Got check result for" /usr/local/nagios/var/nagios.log
grep "Got host checkresult for" /usr/local/nagios/var/nagios.log
Former Nagios employee
Re: nrdp checks not displaying in nagios core
Here are the results. The odd thing is that I have a host and service defined.
root@caap435:~# grep "Got check result for" /usr/local/nagios/var/nagios.log
[1434956181] Error: Got check result for service 'Lakefield_Bandwidth' on host 'Lakefield_Router_NA_148'. Unable to find service
root@caap435:~# grep "Got host checkresult for" /usr/local/nagios/var/nagios.log
[1434956181] Error: Got host checkresult for 'Lakefield_Router_NA_148', but no such host can be found
root@caap435:~# grep "Got check result for" /usr/local/nagios/var/nagios.log
[1434956181] Error: Got check result for service 'Lakefield_Bandwidth' on host 'Lakefield_Router_NA_148'. Unable to find service
root@caap435:~# grep "Got host checkresult for" /usr/local/nagios/var/nagios.log
[1434956181] Error: Got host checkresult for 'Lakefield_Router_NA_148', but no such host can be found
Re: nrdp checks not displaying in nagios core
Is this supposed to read "service_description=Lakefield_Bandwidth"?service_description=Lakfield_Bandwidth
Re: nrdp checks not displaying in nagios core
I already corrected the spelling mistake on the NNA side. It now matches the service definition but still no luck.
Last edited by ssmelt on Tue Jun 23, 2015 9:41 am, edited 1 time in total.