Nagios is logging "Service Check Timed Out" for certain service

Yu Watanabe yu.watanabe at jp.fujitsu.com
Mon Dec 21 02:26:42 CET 2009


Hello Jim.

I still cannnot solve why this had occured.
So , would you please give us an advice?

In the previous mail , I have realized that 
the detail about the situation was not articulated.

Following are the details about the situation:

1. About the log checking process:
  There is one active check and one passive service check to do the job.

  The active check service scans the log file using the pre defined regexpression.
  If there are any lines that matches the regex, it send the result to the passive service.

2. Only the active check for log checkin process returns "Service Timed Out"
  All the other services but the corresponding active check were returning proper 
  check result. 

3. The active check itself was not executed.
  This, I found out by writing a debug line in the active check plugin.
  I wrote a debug line at the very top of the source code but even though the 
  check time came , the debug log wasn't created.

The most suspicious fact is 2 and 3. If the the reason was completely dependent on the plugin,
there must be some kind of debug log created, but since the plugin itself was not 
executed , it is becoming a little bit tricky.

Would it possibe to here your opinion about this ?

Thank you 
Yu Watanabe 


Jim Avery さんは書きました:
>2009/12/1 Yu Watanabe <yu.watanabe at jp.fujitsu.com>:
>> Hello Jim.
>>
>> Thank you for the reply and sorry for the late reply from me.
>>
>> Well , my situation was using plugin that scans through the syslog file and
>> whenever any regular expression match occurs it sends an passive check alert to nagios.
>>
>> Weird thing was there was existing log file but nagios plugin itself
>> was not executed.
>>
>> Yu Watanabe
>
>Is your problem solved now?  If not, the first thing which I would
>mention is that if it is a passive check you almost certainly want to
>disable active checks for that service in Nagios.
>
>Cheers,
>
>Jim
>
>------------------------------------------------------------------------------
>Join us December 9, 2009 for the Red Hat Virtual Experience,
>a free event focused on virtualization and cloud computing. 
>Attend in-depth sessions from your desk. Your couch. Anywhere.
>http://p.sf.net/sfu/redhat-sfdev2dev
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
>::: Messages without supporting info will risk being sent to /dev/null
>


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list