Re: Two snmp questions

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Thu, 27 May 2010 17:33:21 -0400, X Z <[email protected]> said:

XZ> Is the last line expected behavior since it is the last MIB loaded?

Yes

XZ> How to check the order of all loaded MIBs?

The NET-SNMP-AGENT-MIB::nsModuleTable will tell you all the registered
MIBs if it's a net-snmp agent.

XZ> 2. From the man page of snmpd.conf, it supports Process
XZ>    Monitoring. To enable it, simply adding "proc xxx" where xxx is
XZ>    the process name to snmpd.conf.I tried on Net-SNMP 5.5, it worked
XZ>    fine with short process names. For example a process name is
XZ>    httpd, sshd, etc. But for a longer process name, it doesn't
XZ>    support it. Like a name as "MyOwnCustomizedProcess", snmpwalk on
XZ>    the prTable always returns that process not running even the
XZ>    process is running. If I shortened the process name to be
XZ>    MyProcess, then it can be reported correctly. Is it a known bug
XZ>    for Net-SNMP? Any solution available if I don't want to change
XZ>    the name of the process?

Much of the 'proc' support may come from the output of other commands
like 'ps'.  If that's the case, it's likely ps that is the limiting
factor.  The true and proper, however, is OS dependent.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.