Plugin for memory & swap monitoring with graphs in MB/GB

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lrnnetops
Posts: 102
Joined: Thu May 18, 2017 5:31 am

Plugin for memory & swap monitoring with graphs in MB/GB

Post by lrnnetops »

Hi Team,

We searched / tried many nagios plugins for monitoring linux server memory & swap usages. we are getting performance graphs but its in KB.
check_memory_usage.jpg
Please share a link from where we can download plugin which can provide / show graphs in MB / GB.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Plugin for memory & swap monitoring with graphs in MB/GB

Post by lmiltchev »

You could use NCPA. With check_ncpa.py, you could specify the units you would like to use.
-u UNITS, --units=UNITS
The unit prefix (k, Ki, M, Mi, G, Gi, T, Ti) for b and
B unit types which calculates the value returned.
Example:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H x.x.x.x -t 'mytoken' -P 5693 -M memory/virtual -u Gi -w 50 -c 80
OK: Used memory was 35.70 % (Available: 20.52 GiB, Total: 31.90 GiB, Free: 20.52 GiB, Used: 11.38 GiB) | 'available'=20.52GiB;16;26; 'total'=31.90GiB;16;26; 'free'=20.52GiB;16;26; 'used'=11.38GiB;16;26;
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked