>>>>> On Wed, 17 Nov 2010 03:32:41 -0800 (PST), sujata patra 
>>>>> <[email protected]> said:

sp> know how : 1> How to stop the /usr/local/sbin/snmpd in ubuntu
sp> gracefully ? 

You can safely kill it with a normal SIGTERM kill.

2> How to add mib directory path  other than a default path ?  

# man snmpcmd
...
       -M DIRLIST
              Specifies a colon separated list of directories to search
              for  MIBs.   This overrides (or augments) the environment
              variable MIBDIRS, the snmp.conf  directive  mibdirs,  and
...

sp> I expected that 705 port for agentx will be listening . But I do not
sp> see .  Is this running as agentx?

By default agentx listens to the local /var/agentx/master unix domain
socket, not to a TCP port.

# man snmpd.conf
...
       agentXSocket [<transport-specifier>:]<transport-address>[,...]
              defines the address the master agent listens at, or the subagent
              should connect to.   The  default  is  the  Unix  Domain  socket
              "/var/agentx/master".   Another common alternative is tcp:local-
              host:705.  See the section LISTENING ADDRESSES in  the  snmpd(8)
              manual  page for more information about the format of addresses.

              Note:  Specifying an AgentX socket does not automatically enable
                     AgentX   functionality   (unlike  the  ’-x’  command-line
                     option).

...

-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to