Below is an example of how we use it here:

watch xxx.xxx.xxx.xxx
    service ping
        description ping to xxx
        interval 3m
        monitor fping.monitor
        period wd {Sun-Sat}
            alert hpov.alert -o 2001 -i 111
            alertevery 30m
            upalert hpov.alert -o 2002 -i 111
            comp_alerts

You'll need to configure HPOV to receive and display these alerts.  The
alert script hpov.alert uses the HPOV program "ovevent" to send the trap;
if your installation of mon is on a machine where HPOV is not installed,
this may present a problem (and hence, the need for a more generic
snmptrap-based alert script).

Attached is a more recent version of hpov.alert, with a few minor bug fixes,
and the addition of another parameter (the "-i" argument).  It should
replace the version currently in contrib.

-- Scott

Scott Prater
Dpto. Sistemas
[EMAIL PROTECTED]

SERVICOM 2000
Av. Primado Reig, 189 entlo.
46020 Valencia - Spain
Tel. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
www.servicom2000.com


> -----Mensaje original-----
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> nombre de Jon Meek
> Enviado el: miercoles, 18 de agosto de 2004 17:08
> Para: Byron Emerson [mon]
> CC: [EMAIL PROTECTED]
> Asunto: Re: hpov.alert example
>
>
> Attached is ito.alert. It uses the "ITO" component of HPOV. I think that
> "ITO" has been re-named "OVO".
>
> ito.alert needs some work. If multiple hosts are down, it sends an
> individual ITO alert for each host. That may, or may not, be a desirable
> feature.
>
> I also attached an snmp based version by Scott Prater. This is probably a
> lot easier, and cheaper, to implement.
>
> Jon
>
> On Wed, 18 Aug 2004, Byron Emerson [mon] wrote:
>
> > Hello,
> >
> > Does anyone have a working example of an hpov.alert
> >
> > Thanks,
> > byron
> >
> > _______________________________________________
> > mon mailing list
> > [EMAIL PROTECTED]
> > http://linux.kernel.org/mailman/listinfo/mon
> >
>

Attachment: hpov.alert
Description: Binary data

_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to