Alert based on response?

Kyle O'Donnell kyleodonnell at gmail.com
Thu Mar 19 17:53:13 CET 2009


i would create a custom notification command that does an eval on the
$SERVICEOUTPUT$ before issuing /bin/mail.

then create a contact to use that new notification command.

On 3/19/09, Jason Frisvold <frisvolj at lafayette.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> 	I have a number of UPS devices to monitor.  We're looking to alert on
> conditions such as On Battery, On Bypass, and possibly others.  I can
> create service entries for each condition, but that causes multiple SNMP
> queries to be sent to the same device.  So I'm wondering if there is a
> way to query once and alert based on the response.
>
> Thanks,
>
> - --
> - ---------------------------
> Jason Frisvold
> Network Engineer
> frisvolj at lafayette.edu
> - ---------------------------
> "What I cannot create, I do not understand"
>    - Richard Feynman
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org
>
> iD8DBQFJwnLjO80o6DJ8UvkRAuyvAKCMsDJ9BE3rrZObFJjS7SOH6MbtKgCePdKz
> cKl2JRMavhkDWImSGnuogvI=
> =MYxn
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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