Re: What am I missing (traps/notifications)
Ben Z <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
My mistake... I rewrote that snmpd.conf from memory, so don't compare the error messages from the log to what's acutally there :D (I also have an "informsink" line in the conf file too apparently) BZ On Fri, 2005-08-12 at 13:44, Ben Z wrote: > Hi all; > > > Sorry about that. Its net-snmp 5.2.1. My snmpd.conf is very simple: > > sysdescription "Example description" > syscontact "[email protected]" > syslocation "exampleNetwork" > rocommunity "public" > trapcommunity "public" > trapsink "192.168.0.x public" > trap2sink "192.168.0.x public" > authtrapenable 1 > > These are the errors I'm trying to figure out. (Thx for the "-d" tip > btw)... apparently I missing something when I'm trying to compile. > > > # cat /var/log/snmpd.log > mteTriggerTable has been disabled because the callback transport is not > available. > Cannot find module (SNMPv2-MIB): At line 0 in (none) > Cannot find module (SNMPv2-SMI): At line 0 in (none) > Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) > Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) > Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) > Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) > Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) > Cannot find module (SNMPv2-TM): At line 0 in (none) > snmpd: create_trap_session: Unknown host (Operation timed out) > /var/etc/snmpd.conf: line 7: Error: cannot create trap2sink: > "192.168.0.x > snmpd: create_trap_session: Unknown host (Operation timed out) > /var/etc/snmpd.conf: line 8: Error: cannot create informsink: > "192.168.0.x > NET-SNMP version 5.2.1 > > What I'm trying to do (and apparently missing the point) is to have as > small an agent as possible that will allow only basic traps and "system" > information (location, contact). > > Thanks again guys, > > Ben Z > > Any help would be awesome! > > On Thu, 2005-08-11 at 17:19, Thomas Anders wrote: > > Ben Z wrote: > > > Anyone? > > > Can the agent be compiled to send traps?? > > > > You missed to supply the necessary details (to the list, not me): what > > net-snmp version? What's your snmpd.conf? What errors do you actually > > get? What's the packet dump (snmpd -d)? ... > > > > > > +Thomas > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > 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 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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