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
Check multiple same memory processes
Check multiple same memory processes
Last edited by sonuma on Thu Aug 21, 2014 3:09 am, edited 2 times in total.
Re: Check multiple same memory processes
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.
"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.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Check multiple same memory processes
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Check multiple same memory processes
their name are unique, I have always two instances of java.exe, how to distinguish ?abrist wrote: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
Hello,Box293 wrote:This thread might hold the answers for you:
http://support.nagios.com/forum/viewtop ... =6&t=28537
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..
Yet, I use administrator user and passwordUNKNOWN - 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.cdcerpc_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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Check multiple same memory processes
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.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Check multiple same memory processes
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.
Re: Check multiple same memory processes
Thank you,
I finally use the "check_snmp_process.pl" script with -m option
Bye
I finally use the "check_snmp_process.pl" script with -m option
Bye