Page 1 of 1

Check multiple same memory processes

Posted: Tue Aug 12, 2014 2:55 am
by sonuma
Hello,

With the "check_process_memory" I can monitored the memory used by a process on Windows Server...

But I want monitored JAVA.EXE, is it possible to check memory several instance of same processe ?

Thanks

Re: Check multiple same memory processes

Posted: Tue Aug 12, 2014 4:14 pm
by abrist
Only if their names are unique, otherwise you most likely get a memory pool usage for the all matched processes.

Re: Check multiple same memory processes

Posted: Tue Aug 12, 2014 10:00 pm
by Box293
This thread might hold the answers for you:

http://support.nagios.com/forum/viewtop ... =6&t=28537

Re: Check multiple same memory processes

Posted: Wed Aug 20, 2014 9:47 am
by sonuma
abrist wrote:Only if their names are unique, otherwise you most likely get a memory pool usage for the all matched processes.
their name are unique, I have always two instances of java.exe, how to distinguish ?

Re: Check multiple same memory processes

Posted: Wed Aug 20, 2014 9:51 am
by sonuma
Box293 wrote:This thread might hold the answers for you:

http://support.nagios.com/forum/viewtop ... =6&t=28537
Hello,

Thanks but I search documentation... Is there an install to do on Windows ? enable SNMP features on windows server ?

For the moment, i have a error when I use..
UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
[librpc/rpc/dcerpc_util.c:1290:dcerpc_pipe_auth_recv()] Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_NET_WRITE_FAULT
[librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000022) in dcerpc_pipe_connect_b_recv
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied
Yet, I use administrator user and password

Re: Check multiple same memory processes

Posted: Wed Aug 20, 2014 9:58 am
by slansing
Yes, but we do not document Windows admin tasks unless they correlate directly to something we are trying to explain how to do. I do know that there is a windows snmp trap document on the way but it has not been released yet. Are you talking more along the lines of traps, or active SNMP GET requests? I'm sure Microsoft has documentation on this, I've read it myself a few times, I'd suggest checking out their knowledge base on how to enable this once you have figured out how you want to check the system. As Box showed you, there are ways of doing what you are looking to do, however they will take some spoofing/finagling more than likely. You may have to end up naming your processes JAVA1.EXE, JAVA2.EXE, and so on and so forth.

Re: Check multiple same memory processes

Posted: Wed Aug 20, 2014 8:41 pm
by Box293
The documentation to get WMI checks working is located:
  • Help menu
    Documentation Guides > Administrator Guide
    Under Monitoring Windows click WMI Client
    Click the link "Monitoring Windows With WMI

Re: Check multiple same memory processes

Posted: Thu Aug 21, 2014 3:09 am
by sonuma
Thank you,

I finally use the "check_snmp_process.pl" script with -m option

Bye