Perhaps you forgot to define the service in your config file

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
inventsekar
Posts: 37
Joined: Fri Jul 20, 2012 11:29 am

Perhaps you forgot to define the service in your config file

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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.
Locked