AW: Recording every service status check

Mohr James james.mohr at elaxy.com
Mon Nov 7 18:59:36 CET 2005


>> -----Ursprüngliche Nachricht-----
>> Von: Ludwig Pummer [mailto:Ludwig.Pummer at Copart.Com] 
>> Gesendet: Montag, 7. November 2005 17:53
>> An: Mohr James; Nagios-users at lists.sourceforge.net
>> Betreff: RE: [Nagios-users] Recording every service status check
>> 
>> > -----Original Message-----
>> > From: nagios-users-admin at lists.sourceforge.net
>> > [mailto:nagios-users-admin at lists.sourceforge.net] On 
>> Behalf Of Mohr 
>> > James
>> > Sent: Monday, November 07, 2005 7:13 AM
>> > To: Nagios-users at lists.sourceforge.net
>> > Subject: [Nagios-users] Recording every service status check
>> > 
>> > Hi All!
>> > 
>> > I am missing a bit of KnowHow here. I need to have a 
>> record of every 
>> > single service check. Looking at the files in var/archives, the 
>> > entries for any given service does not appear that entries 
>> are made at 
>> > regular intervals. Well, at least I cannot see any pattern.
>> > 
>> > I have been looking at the NEB, particularly the Mysql 
>> Insert plugin, 
>> > but I would hate to re-invent the wheel. Would the NEB be 
>> the way or 
>> > is there an option within the service definition that I am 
>> > overlooking?
>> > 
>> > Regards,
>> > 
>> > Jim Mohr
>> 
>> You could set up an ocsp_command. It gets executed with the 
>> results of every service check. Its only possible 
>> disadvantage to your situation is that it has no per-service 
>> or per-host controls. If you want to, for example, keep 
>> information only about specific services, you'll need to put 
>> some intelligence into your ocsp command.

So, if I am reading it right, because we define the ocsp_command in nagios.cfg, it will be valid for every single service. 



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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