nrdp checks not displaying in nagios core
Re: nrdp checks not displaying in nagios core
I think that's the point. You have it set to "Lakfield_Bandwidth" in your config but "Lakefield_Bandwidth" in the passive result. This is causing Core to see it as an entirely different service, so it doesn't update.
Former Nagios employee
Re: nrdp checks not displaying in nagios core
Hence the I have corrected the spelling error post.
I'm now getting this error in the log file and haven't been able to find any solid help for this problem. Both the host and the service have been setup with correct spelling.
[1435672281] Error: Got check result for service 'Lakefield_Bandwidth' on host 'Lakefield_Router_NA_148'. Unable to find service
I'm now getting this error in the log file and haven't been able to find any solid help for this problem. Both the host and the service have been setup with correct spelling.
[1435672281] Error: Got check result for service 'Lakefield_Bandwidth' on host 'Lakefield_Router_NA_148'. Unable to find service
Re: nrdp checks not displaying in nagios core
You must have a host defined named 'Lakefield_Router_NA_148. If you do, please post that hosts configuration here.Lakefield_Bandwidth' on host 'Lakefield_Router_NA_148
You must also have a service defined called 'Lakefield_Bandwidth. If you do, please post that service configuration here.
Nagios will need to be restarted to pick up the new host/service if you haven't restarted nagios since adding them:
Check for errors:
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Code: Select all
service nagios restart
Re: nrdp checks not displaying in nagios core
These were setup prior to NNA. Core shows the dummy check as "No Data from passive check" so the host and service are active.
define host{
host_name Lakefield_Router_NA_148
alias Lakefield_Router_NA_148
address XX.XXX.XX.XX
hostgroups CA-Routers,Lakefield
active_checks_enabled 0
passive_checks_enabled 1
max_check_attempts 5
}
define service{
name Lakefield_Bandwidth
service_description Lakefield_Bandwidth
host_name Lakefield_Router_NA_148
check_command check_dummy!3 "No Data from passive check"
max_check_attempts 10
active_checks_enabled 0
passive_checks_enabled 1
check_freshness 1
freshness_threshold 300
flap_detection_options n
stalking_options n
parallelize_check 1
is_volatile 1
obsess_over_service 0
}
define host{
host_name Lakefield_Router_NA_148
alias Lakefield_Router_NA_148
address XX.XXX.XX.XX
hostgroups CA-Routers,Lakefield
active_checks_enabled 0
passive_checks_enabled 1
max_check_attempts 5
}
define service{
name Lakefield_Bandwidth
service_description Lakefield_Bandwidth
host_name Lakefield_Router_NA_148
check_command check_dummy!3 "No Data from passive check"
max_check_attempts 10
active_checks_enabled 0
passive_checks_enabled 1
check_freshness 1
freshness_threshold 300
flap_detection_options n
stalking_options n
parallelize_check 1
is_volatile 1
obsess_over_service 0
}
Re: nrdp checks not displaying in nagios core
Now that you've changed the spelling mistake on the NNA side, please run these commands again after it's submitted another passive so that we can view the latest entries to see what it says:
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
Re: nrdp checks not displaying in nagios core
[1435838182] Error: Got check result for service 'Lakefield_Bandwidth' on host 'Lakefield_Router_NA_148'. Unable to find service
The second command doesn't display anything.
The second command doesn't display anything.
Re: nrdp checks not displaying in nagios core
Can you zip up and PM me your /usr/local/nagios/var/objects.cache file?
*** That file may contain sensitive info
*** That file may contain sensitive info
Re: nrdp checks not displaying in nagios core
In Nagios XI, click on Admin > Unconfigured Objects and see if it is in there. If so, reconfigure it.
Be sure to check out our Knowledgebase for helpful articles and solutions!