Hello (again),
I have now the following configuration:
trap2sink traprecv.mydomain.com
informsink traprecv.mydomain.com
trapcommunity community
authtrapenable 2 # I don't want authenticate failures to be traped.
agentSecName internal
rouser internal
rocommunity internal
defaultMonitors yes
disk /var 99%
According to the snmpd.conf manpage, as I have the defaultMonitor yes
directive I have a rule like
monitor -o dskPath -o dskErrorMsg "dskTable" dskErrorFlag != 0
that originates a trap when there is any dskErrorFlag different than 0.
Am i wright?
So I'm monitoring the /var free space to check if it has more or less
than 99% of disk available. Of course, I don't have so much space
available. And with a snmpwalk, I can see that the dskErrorFlag is
activated:
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.2 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.3 = INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.4 = INTEGER: 1
But the trap is still missing. snmpd agent doesn't send any trap.
Any idea? What am I forgeting to?
--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información _o)
y las Comunicaciones Aplicadas (ATICA) / \\
http://www.um.es/atica _(___V
Tfo: 968367590
Fax: 968398337
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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