Thanks again Dave for your help. I've installed net-snmp cleanly, however,
when I run the command:
snmptrapd -f -Le
the following items appear:
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()
NET-SNMP version 5.4.1
I've searched through the lists but the similar problem seems to occur with
snmpd though, not snmptrapd. The solution there seems to lie within
commenting out some lines from snmpd.conf, but I didn't create that one. Do
I need to create one even if I'm only interested in using snmptrapd?
This is the only utility I need to use from netsnmp, and I've created the
snmptrapd.conf using the snmpconf command. It only contains the following
lines:
--------------------------------------------------
traphandle default /usr/local/share/snmp/mytrapd.pl
pidfile snmptrapd.pid
disableAuthorization yes
-------------------------------------------------
(I want to run a program whenever snmptrapd recieves a trap..I'm trying out
TrapReciever<http://search.cpan.org/%7Ehardaker/NetSNMP-TrapReceiver-5.0401/TrapReceiver.pm>from
CPAN)
any ideas why these lines appear when I start snmptrapd? The logs dont
contain anything either when I try sending these traps.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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