Notification on Stalk

Petersen, Mark MPetersen at gs1us.org
Wed May 9 17:09:22 CEST 2007


> You might get by if you are willing to write your own custom 
> notification script. Nagios should notify every N minutes to 
> the script as long as a warning or critical level exists.
> 
> The scripts should keep progress of the performance data and 
> only send out a real message if the performance data merits it.
> 
> Or if you write a custom check_disk to get rid of some of the 
> details you can use stalking. But with the current level of 
> details it would fire up every round. For exmple "DISK OK - 
> free space: /boot 66 MB (70% inode=99%)"
> 
> The percentages are fine but the more exact counter will be a 
> problem if you enable stalking.

Lots of this disks I'm tracking are Databases that usually allocate disk
space in roughly 1% chunks anyway, but under more normal conditions the
exact count would be a problem.  My custom notification script could be
smart enough to check just the first xxx% with a --percent flag or
something.  Basically I can do a lot of with a custom notification
script, so this seems like a great idea, much better (and easier to
implement) than many of the hacks we've come up with.  A simple
notify-by-epager-with-stalking and notify-by-email-with-stalking script
will out perfectly.

thanks,
mark

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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