RE: Problem with the "proc" directive

CHAUCHON Frédéric <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,

I openned two cmd console.
On the fisrt :
	snmpd -f -Le -Dexec
	registered debug token exec, 1
	NET-SNMP version 5.3.1

On the second console :
snmpget  -c public -v 2c 172.16.16.75  UCD-SNMP-MIB::prCount.1
UCD-SNMP-MIB::prCount.1 = INTEGER: -1

And after the command, on the first one :
exec:get_exec_output: calling /bin/ps

Any idea ?

Fred.

-----Message d'origine-----
De : [email protected] [mailto:[email protected]]De la
part de Dave Shield
Envoyé : vendredi 10 novembre 2006 10:04
À : CHAUCHON Frédéric
Cc : [email protected]
Objet : Re: Problem with the "proc" directive


On 10/11/06, CHAUCHON Frédéric <[email protected]> wrote:
> The SNMP Windows agent is stopped, and the Net-Snmp service is started. When
> I call the agent to get my informations, I have that :

> UCD-SNMP-MIB::prCount.1 = INTEGER: -1
> UCD-SNMP-MIB::prCount.2 = INTEGER: -1


I suspect that the mechanism used to determine the number of relevant processes
may not be suitable for a Windows environment.

Can you try starting the agent as

    snmpd -f -Le -Dexec ....

and then run the command

   snmpget  -c public -v 2c 172.16.16.75  UCD-SNMP-MIB::prCount.1

What output does the agent display?

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.