sending snmp traps
"Osvaldo Alvarez Pozo" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi. 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. I get the trap when the disk space is under minimun value , but I get nothing when disk space is normal again. My file snmpd.conf is like this. com2sec readonly default public group MyROSystem v1 paranoid group MyROSystem v2c readonly group MyROSystem usm paranoid group MyROGroup v1 readonly group MyROGroup v2c readonly group MyROGroup usm readonly group MyRWGroup v1 readwrite group MyRWGroup v2c readwrite group MyRWGroup usm readwrite view all included .1 80 view system included .iso.org.dod.internet.mgmt.mib-2.system access MyROSystem "" any noauth exact system none none access MyROGroup "" any noauth exact all none none access MyRWGroup "" any noauth exact all all none syslocation "DATA STORE" syscontact [email protected] sysservices 13 proc apache2 disk /boot 100000 load 25 10 5 trap2sink manager public trapcommunity public rocommunity public createUser internalUse rouser internalUse iquerySecName internalUse monitor -r 80 -o prNames -o prErrMessage "procTable" prErrorFlag != 0 monitor -r 80 -o prNames -o prErrMessage "procTable" prErrorFlag == 0 monitor -r 80 -o memErrorName -o memSwapErrorMsg "memory" memSwapError != 0 monitor -r 80 -o extNames -o extOutput "extTable" extResult != 0 monitor -r 10 -o dskPath -o dskErrorMsg "dskTable" dskErrorFlag != 0 monitor -r 11 -o dskPath -o dskErrorMsg "dskTable" dskErrorFlag == 0 monitor -r 80 -o laNames -o laErrMessage "laTable" laErrorFlag != 0 monitor -r 80 -o fileName -o fileErrorMsg "fileTable" fileErrorFlag != 0 I tested fillling the partition with files, then I got a trap, cause the space available was under the minimun value. After that I erased all files, the space available was biger that the minimun value but I got no trap. Any advise please?? ------------------------------------------------------------------------- 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