I did restart the snmptrapd server.
When I restart snmp from init.d it says snmptrapd was restarted: m...@en1:~$ sudo /etc/init.d/snmpd restart Restarting network management services: snmpd snmptrapd. m...@en1:~$ Am I to assume the MIB is broken? I think it's loaded properly. >-------- Original Message -------- >Subject: Re: Received Trap Won't Decode >Date: Mon, June 08, 2009 10:21 am > >Cc: [email protected] > >2009/6/8 <[email protected]>: >> Attached is the MIB which is in the "/usr/share/snmp/mibs/UPSD-MIB.txt" >> directory. >> >> File /etc/snmp/snmp.conf has line "mibs +UPSD-MIB" >> >> Restarted the server "sudo /etc/init.d/snmpd restart" > >You are asking about the behaviour of the trap receiver (snmptrapd). >So restarting the SNMP agent isn't relevant. > >Have you restarted snmptrapd? > >Dave > >>-------- Original Message -------- >>Subject: Received Trap Won't Decode >>Date: Sun, June 07, 2009 7:47 pm >>To: [email protected] >> >>Why won't the received trap decode to "INFORMATION: Communication with >>the UPS reestablished."? By looking at the tcpdump below, is the >>hardware sending a bad OID ( 0.1.0.0 ) or is it something else? >> >> >>Attached is the MIB which is in the "/usr/share/snmp/mibs/UPSD-MIB.txt" >>directory. >> >>File /etc/snmp/snmp.conf has line "mibs +UPSD-MIB" >> >>Restarted the server "sudo /etc/init.d/snmpd restart" >> >> >>Here are snmptrapd options: >>snmptrapd -Of -Lf /trap.log -p /var/run/snmptrapd.pid >> >> >> >>Here is the trap log, why won't it decode? >>2009-06-07 19:38:28 0.1.0.0(via UDP: [192.168.1.201]:2049) TRAP, SNMP >>v1, community myUPS >>.iso.org.dod.internet.mgmt.mib-2.33 Enterprise Specific Trap (4) >>Uptime: 23:27:14.29 >> >>2009-06-07 19:38:38 0.1.0.0(via UDP: [192.168.1.201]:2049) TRAP, SNMP >>v1, community myUPS >>.iso.org.dod.internet.mgmt.mib-2.33 Enterprise Specific Trap (2) >>Uptime: 23:27:24.19 >> >> >> >>Here is the some TCP Dump info: >>m...@en1:~/snmp/traps$ sudo tcpdump -vv -i eth0 src host 192.168.1.201 >>tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 >>bytes >>19:37:37.472166 IP (tos 0x0, ttl 255, id 32800, offset 0, flags [DF], >>proto UDP (17), length 74) 192.168.1.201.nfs > 192.168.1.200.snmp-trap: >>[udp sum ok] { SNMPv1 C=belkinUPS { Trap(28) 33 0.1.0.0 >>enterpriseSpecific s=4 8438318 } } >>19:37:46.178976 IP (tos 0x0, ttl 255, id 32803, offset 0, flags [DF], >>proto UDP (17), length 74) 192.168.1.201.nfs > 192.168.1.200.snmp-trap: >>[udp sum ok] { SNMPv1 C=belkinUPS { Trap(28) 33 0.1.0.0 >>enterpriseSpecific s=2 8439188 } } >> >> >> >>Thanks, >>Adam ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ 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 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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
