We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

Issue in the output of memory usage using NCPA

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Issue in the output of memory usage using NCPA

Postby ashok.verma » Thu Mar 31, 2022 1:31 pm

If total memory is 125 & used memory is 13 then by doing (% calculation) 13/125*100 we got 10.4 which is the usage percentage.

When running a check from Nagios it shows Memory usage was 73.50 % which is wrong and causing lots of alarms.

Output from Nagios:

OK: Memory usage was 73.50 % (Available: 33.18 GiB, Total: 125.26 GiB, Free: 30.30 GiB, Used: 12.61 GiB) | 'available'=33.18GiB;;; 'total'=125.26GiB;;; 'free'=30.30GiB;;; 'used'=12.61GiB;;;

Here I am using NCPA
check_ncpa.py -H $HOSTADDRESS$ $ARG1$
-t 'uaiZTWko4tW5hZ5G' -P 5693 -M memory/virtual -u 'Gi' -w '90' -c '95'
Posts: 19
Joined: Tue May 25, 2021 7:24 am

Return to Community Support

Who is online

Users browsing this forum: No registered users and 21 guests