--- On Wed, 6/17/09, Dave Shield <[email protected]> wrote:
> From: Dave Shield <[email protected]> > Subject: Re: net-snmp process traps from agent > To: "Jansen, Mario" <[email protected]> > Cc: [email protected] > Received: Wednesday, June 17, 2009, 6:02 AM > 2009/6/17 Jansen, Mario <[email protected]>: > > I thought this was only for snmpv3. > > Yes - but the internal queries used to retrieve the > information being monitored do use SNMPv3 > > > What do I need > to put in the > > iquerySecName or agentSecName ? > > You need something like: > > createUser noSuchUser MD5 > somejunk > [ in the file > /var/net-snmp/snmpd.conf] > > and > rouser noSuchUser > iquerySecName noSuchUser > [in the main > snmpd.conf file] > > > It doesn't matter what username you use (as long as this is > consistant > across all three entries), nor what password you > specify - this isn't > actually used.. > (Though I'd suggest you use a different > junk password!) > > > > If I put an creatuser in the statement, should the > user exist on OS level? > > No. > SNMP users are completely separate from O/S users. > > Dave > > I have the same question - no trap is sent when the ethernet is enabled or disabled by the commands "ifdown eth0" & "ifup eth0" issued through serial port (console). # cat /usr/local/share/snmp/snmpd.conf rwuser "admin" priv authtrapenable 1 trapcommunity public trap2sink 172.20.11.72 iquerySecName _internal rouser _internal # Active the standard monitoring entries defaultMonitors yes linkUpDownNotifications yes I had done createUser _internal MD5 somejunk [ in the file /var/net-snmp/snmpd.conf] # cat /var/net-snmp/snmpd.conf # # net-snmp (or ucd-snmp) persistent data file. # ############################################################################ # STOP STOP STOP STOP STOP STOP STOP STOP STOP # # **** DO NOT EDIT THIS FILE **** # # STOP STOP STOP STOP STOP STOP STOP STOP STOP ############################################################################ # # DO NOT STORE CONFIGURATION ENTRIES HERE. # Please save normal configuration tokens for snmpd in SNMPCONFPATH/snmpd.conf. # Only "createUser" tokens should be placed here by snmpd administrators. # (Did I mention: do not edit this file?) # usmUser 1 3 0x80001f8880d2130b7280effe49 0x61646d696e00 0x61646d696e00 NULL .1.3.6.1.6.3.10.1.1.3 0x24dd356af62d539f10308f67e8ac043509bde4f5 .1.3.6.1.6.3.10.1.2.2 0x738b3dc7646ee57b25e8574b5020b6db 0x00 setserialno 1337435696 ############################################################## # # snmpNotifyFilterTable persistent data # ############################################################## ############################################################## # # ifXTable persistent data # ifXTable .1 14:0 18:0x $ ifXTable .2 14:0 18:0x $ ifXTable .3 14:0 18:0x $ ############################################################## engineBoots 13 oldEngineID 0x80001f8880d2130b7280effe49 __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com ------------------------------------------------------------------------------ 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
