Is there a magic wand to wave to get snmp traps? I added the
default/default service as suggested:
watch default
service default
description Default trap service
period
alert mail.alert fugalh
And put these in my mon.cf:
snmpport = 162
snmp = yes
authfile = /etc/mon/auth.cf
And this in my /etc/mon/auth.cf
trap section
127.0.0.1 * *
Ran this:
$ snmptrap -v2c -cpublic 127.0.0.1 '' .1.3.6.1.2.1.1.3.0
And got this:
Apr 6 16:42:37 gwythaint mon[18229]: got SNMP trap from
unauthorized agent: 127.0.0.1
--
De gustibus non disputandum est.
_______________________________________________
mon mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/mon