Monitoring large memory hosts

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cbeattie
Posts: 19
Joined: Fri Oct 04, 2013 7:12 am

Monitoring large memory hosts

Post by cbeattie »

Does anyone have suggestions for monitoring hosts with large amounts of memory? I mean hundreds of GB here.

We use NSClient++, but mostly the check_nt style checks unless we need something beyond that. The check_nt MEMUSE check works, but takes its warning and critical thresholds as integer percents. If I set the warning and critical to 98 and 99, the notification goes out when there's still several GB free. I would prefer to set the warning more like 99 and critical at 99.5, or to use absolute values like warning at 3GB free and critical at 1,500MB.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring large memory hosts

Post by lmiltchev »

You can use NCPA and use the "G" with the "-u" flag in your command, for example:

Code: Select all

./check_ncpa.py -H 192.168.x.x -t "mytoken" -P 5693 -M 'disk/logical/C:|/used' -u G -w 350 -c 400
WARNING: Used was 360.882Gb|'used_0'=360.882Gb;350;400

./check_ncpa.py -H 192.168.x.x -t "mytoken" -P 5693 -M 'disk/logical/C:|/used' -u G -w 400 -c 420
OK: Used was 360.882Gb|'used_0'=360.882Gb;400;420
Be sure to check out our Knowledgebase for helpful articles and solutions!
cbeattie
Posts: 19
Joined: Fri Oct 04, 2013 7:12 am

Re: Monitoring large memory hosts

Post by cbeattie »

Thank you! I will check that out.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring large memory hosts

Post by tmcdonald »

Let us know how this works for you. We will keep this thread open for you.
Former Nagios employee
Locked