Page 1 of 1

Perhaps you forgot to define the service in your config file

Posted: Mon Oct 08, 2012 12:05 pm
by inventsekar
GoodGoodGood...well, this one is not actually a question, but thought to share this info with you all..

1. I added few nodes for monitoring and they are in pending status for long time, though i scheduled host check, it was in pending status.
2. Every other refresh or so of the Nagios web view, the Services numbers are "fluctuating"...

Checked the Nagios log file and found this strange but interesting error msg - /usr/local/nagios/var/nagios.log

Code: Select all

[1349710932] Warning: Check result queue contained results for service 'Check Memeory' on host 'abc.efg.hij', but the service could not be found!  Perhaps you forgot to define the service in your config files?
Searched here in this forum for this msg and as expected i didnt get any match. (am i the only one??)
but google gave me lot of matches, (as usual).
checked the page, which resolved the issue
http://mymcp.blogspot.com/2011/02/stran ... olved.html

the solution was - two nagios instances were running. kill them and restart the service. All is well.

Hope this would help somebody someday...
Regards,
invent Sekar

Re: Perhaps you forgot to define the service in your config

Posted: Mon Oct 08, 2012 3:46 pm
by slansing
Excellent information, thank you for your contribution. We have seen this before but it looks like you were the first one to post it here.