Hey, >> How have you configured the access control for this agent? What do you mean ?
>>What is in your snmpd.conf file? My snmpd.conf file is locate on /etc/snmp/ (which is the basic way of the Ubuntu server). Or else there is another one in /var/net-snmp. In /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 0x80001f88803d1bf03c2f0cb14f00000000 0x76335f75736572 0x76335f75736572 NULL .1.3.6.1.6.3.10.1.1.2 0xa1a7448a30e2db676795814e6b27cc7e .1.3.6.1.6.3.10.1.2.2 0x4600cb1b7beca9fe43e5c1aeedbdb511 0x psyslocation Unknown setserialno 216543670 ############################################################## # # snmpNotifyFilterTable persistent data # ############################################################## ############################################################## # # ifXTable persistent data # ifXTable .1 14:0 18:0x $ ifXTable .2 14:0 18:0x $ ############################################################## engineBoots 10 oldEngineID 0x80001f88803d1bf03c2f0cb14f00000000 When I run : net-snmp-config --snmpconfpath >>>/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/home/dialog/.snmp:/var/net-snmp /usr/local/etc/snmp => not exist /usr/local/share/snmp => exist but no file snmpd.conf, only snmp.conf /usr/local/lib/snmp => not exist /home/dialog/.snmp => not exist /var/net-snmp => snmpd.conf wrote on top of this message. When I try to put my snmpd.conf in /var/net-snmp, I restart snmpd service, and it overwrite it with info on top. Thx fo our help. Cordialement, Jérôme BELLEGARDE --------------------------------------------------------------------------- -----Message d'origine----- De : Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Envoyé : jeudi 17 mai 2012 09:35 À : Jérôme BELLEGARDE Cc : net-snmp-users@lists.sourceforge.net Objet : Re: Problem installing a MIB On 16 May 2012 10:05, Jérôme BELLEGARDE <j.bellega...@alpha-direct-services.com> wrote: > And when I try : /usr/local/sbin/snmpd -f -L -d -p 9999 > > I got : > > Warning: no access control information configured. > (Config search path: > /usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/home/dialog/.snmp) How have you configured the access control for this agent? What is in your snmpd.conf file? More particularly, *where* is your snmpd.conf file? Note the list of locations that the agent is looking in. Do you have a suitable snmpd.conf file in any of these places? (Hint: the answer is almost certainly "no") Remember that you are now running a self-compiled version of the agent, and not a vendor-supplied one. So the agent will be looking in a different set of locations for the config files. It won't automatically pick up the original snmpd.conf files. This is covered in the FAQ Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users