Changing Service/host state Manualy (or script)

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Aug 19 13:11:41 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/08/08 05:28 AM, Assaf Flatto wrote:
> Hello List.
> I have a peculiar situation .
> I have 987 servers I need to ping in a specific time of day and send a report about them at the end 
> of the time period ( that is no problem). 
> The problem starts due to the fact that the servers status does not change in the time when I am not 
> pinging them so in the next test cycle - their status hasn't changed and no notification is sent 
> out .
> 
> I need to change them so I will get a report of which are down and which are up.
> 
> The solution I use now is, prior to the real test time period I defined a second time period where I 
> run the check_dummy on all those server to set their status as OK ( no notification is sent for 
> this change). 
> Then I run the actual test and get the report .
> 
> Anyone got a more elegant way to solve this issue ?

Volatile services is likely what you're looking for. Every non-OK result
received will result in a notification. Those are usually set as passive
checks too, with freshness checking & check_dummy to reset the state
after some time (just for aesthetics - having stuff green in the web
interface).


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIqqpt6dZ+Kt5BchYRAs/wAKDUXL7QD3OSCRT/gQ/WTkCu4pthnACfVGpS
i33na3JbLSuqkzNlsvBEHvE=
=L/Dl
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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