Please see my inline response.
> 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.

[XZ] I tried 'ps' to 'grep' the process status (with long name), it does have a 
valid pid. If I put this process in a service script, and then check the 
service status, it says:MyOwnCustomizedProcess (pid 2947) is running...
But on the same machine(RHEL5 x86_64), if I put "proc MyOwnCustomizedProcess" 
in snmpd.conf, it always says the process not running. 
Is it possible that the snmpd.conf parser limits the name length? 
ThanksXuan
> -- 
> Wes Hardaker
> Cobham Analytic Solutions
                                          
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
------------------------------------------------------------------------------

_______________________________________________
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

Reply via email to