snmptrapd problems

"Matt Hinzel" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

 

I'm having an issue getting snmptrapd to successfully open up UDP port 162.
Running Debian Sarge, and Net-SNMP version 5.4.1.

 

I'm attempting to launch the snmptrap daemon using the following command:

/usr/local/sbin/snmptrapd -On -c /etc/snmp/snmptrapd.conf -Lf
/var/log/snmptrapd.log X.X.X.X:162

The command is being run by the root user.

 

My log gets the following output:

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()

Bad month in timestamp (000926000000Z): At line 219 in
/usr/share/snmp/mibs/docs_evnt.mib

Bad day in timestamp (000926000000Z): At line 219 in
/usr/share/snmp/mibs/docs_evnt.mib

Bad format for OBJECT-TYPE (DEFAULT): At line 23 in
/usr/share/snmp/mibs/arris_mta_device_cntr.mib

Bad parse of OBJECT-TYPE: At line 23 in
/usr/share/snmp/mibs/arris_mta_device_cntr.mib

Bad format for OBJECT-TYPE (END): At line 78 in
/usr/share/snmp/mibs/rfc1212.smi

Bad parse of OBJECT-TYPE: At line 78 in /usr/share/snmp/mibs/rfc1212.smi

Bad format for OBJECT-TYPE (DEFAULT): At line 13 in
/usr/share/snmp/mibs/arris_sip_cntr.mib

Bad parse of OBJECT-TYPE: At line 13 in
/usr/share/snmp/mibs/arris_sip_cntr.mib

NET-SNMP version 5.4.1

 

Ps aux | grep snmp shows that snmptrapd is actually running, but running
nmap -p 162 localhost shows port 162 as closed.

 

These are the only commands in my snmptrapd.conf file:

disableAuthorization yes

traphandle default /usr/sbin/snmptthandler

snmpTrapdAddr udp:localhost:162

 

Any suggestions would be greatly appreciated.

 

Thanks,

Matt Hinzel

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.