Check multiple same memory processes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

Check multiple same memory processes

Post 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
Last edited by sonuma on Thu Aug 21, 2014 3:09 am, edited 2 times in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Check multiple same memory processes

Post by abrist »

Only if their names are unique, otherwise you most likely get a memory pool usage for the all matched processes.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Check multiple same memory processes

Post by Box293 »

This thread might hold the answers for you:

http://support.nagios.com/forum/viewtop ... =6&t=28537
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

Re: Check multiple same memory processes

Post 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 ?
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

Re: Check multiple same memory processes

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Check multiple same memory processes

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Check multiple same memory processes

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

Re: Check multiple same memory processes

Post by sonuma »

Thank you,

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

Bye
Locked