Page 1 of 1

NCPA graph - turn into a check in Nagios XI

Posted: Wed Jan 22, 2020 8:38 am
by gixxx11
I've got some Hyper-V VM's on a couple of shared iSCSI volumes, I'm trying to figure out how to monitor the capacity of those volumes with Nagios.

I've installed NCPA and can find the exact graph of what I want to monitor but I'm been unable to figure out how to turn that into a check.

Here is a screenshot of the graph I'm talking about: https://www.dropbox.com/s/g19buoiolio26bk/NCPA.png?dl=0

Thanks for the help.

Re: NCPA graph - turn into a check in Nagios XI

Posted: Wed Jan 22, 2020 10:54 am
by lmiltchev
Try something like this:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H <ip address>  -t 'token' -M 'disk/logical/C:|ClusterStorage|Volume1|/used_percent'

Re: NCPA graph - turn into a check in Nagios XI

Posted: Wed Jan 22, 2020 3:41 pm
by gixxx11
check_xi_ncpa!-t 'token' -P 5693 -M 'disk/logical/C:|ClusterStorage|Volume1|' -w 80 -c 90

Got the above working.
Thank you.

Re: NCPA graph - turn into a check in Nagios XI

Posted: Wed Jan 22, 2020 4:05 pm
by lmiltchev
I am glad I could help! I will be closing this topic now. If you have any further questions/issues, please start a new thread.