2008/7/31 Osvaldo Alvarez Pozo <[EMAIL PROTECTED]>:
>  I have a problem sending snmptraps. I check disk space, and load. I
> want to send a trap in case on disk space probleme, an another when
> disk space is normal again.

> monitor -r 80 -o prNames      -o prErrMessage  "procTable" prErrorFlag   != 0
> monitor -r 80 -o prNames      -o prErrMessage  "procTable" prErrorFlag   == 0

Try using distinct names for the "problem" and "clear" monitor entries:

monitor -r 80 -o ....  "procTable alert" prErrorFlag   != 0
monitor -r 80 -o ....  "procTable clear" prErrorFlag   == 0


I suspect (though I haven't checked the code), that the second monitor
entry is being rejected as a duplicate entry.

Dave

-------------------------------------------------------------------------
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=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to