Hi,
In one of production server, one particular service consuming more memory and crashing application.
We would like to monitor the memory usage of particular service and alert if memory reaches beyond 1200MB.
Kindly advice if any plugin or command available to monitor this ?
Memory Monitoring of Service
-
kyang
Re: Memory Monitoring of Service
Looks like this can be done using NSClient++ with check_process
Here's a related forum thread that should answer your question.
https://support.nagios.com/forum/viewto ... 16&t=44423
Let us know if you have any more questions.
Here's a related forum thread that should answer your question.
https://support.nagios.com/forum/viewto ... 16&t=44423
Let us know if you have any more questions.
Re: Memory Monitoring of Service
Hi,
I am able to get the output, but the current output displaying with working set (32.125MB), but I would like to display the memory with Private Working Set (memory showing in task manager 11MB).
[nagios@s930XXXXX ~]$ /usr/local/nagios/libexec/check_nrpe -u -H XXXXX -t 120 -c Check_Process -a process=nscp.exe "detail-syntax=%(exe) ws:%(working_set), handles: %(handles), user time:%(user)s" "top-syntax=%(status): %(problem_list)" "warn=working_set > 5M" "crit=working_set > 10M"
CRITICAL: nscp.exe ws:33685504, handles: 449, user time:22s|'nscp.exe ws_size'=32.125MB;5;10
[nagios@s930XXXXX ~]$
Kindly let me know if it is possible to check against private working set ?
I am able to get the output, but the current output displaying with working set (32.125MB), but I would like to display the memory with Private Working Set (memory showing in task manager 11MB).
[nagios@s930XXXXX ~]$ /usr/local/nagios/libexec/check_nrpe -u -H XXXXX -t 120 -c Check_Process -a process=nscp.exe "detail-syntax=%(exe) ws:%(working_set), handles: %(handles), user time:%(user)s" "top-syntax=%(status): %(problem_list)" "warn=working_set > 5M" "crit=working_set > 10M"
CRITICAL: nscp.exe ws:33685504, handles: 449, user time:22s|'nscp.exe ws_size'=32.125MB;5;10
[nagios@s930XXXXX ~]$
Kindly let me know if it is possible to check against private working set ?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Memory Monitoring of Service
@bsivavani, You may need to use a custom plugin for that or find one on the Nagios Exchange. Here are two plugins that I've found so far, but there are probably more.
https://exchange.nagios.org/directory/P ... ss/details
https://exchange.nagios.org/directory/P ... ry/details
https://exchange.nagios.org/directory/P ... ss/details
https://exchange.nagios.org/directory/P ... ry/details
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Memory Monitoring of Service
Thanks for your help. We are able to monitor process memory using plugin memused_process.ps1.
Re: Memory Monitoring of Service
Glad to hear it! Are we alright to close this up then?
Former Nagios employee
Re: Memory Monitoring of Service
Please close this request.
-
kyang
Re: Memory Monitoring of Service
Sounds good! I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!