Page 1 of 1

NCPA free space doesn't draw performance graph

Posted: Wed Dec 23, 2020 4:49 am
by alipoglavsek
We have noticed, that when using NCPA and Free Space parameters, performance graph is not being populated anymore. We are using latest version of Nagios XI and NCPA.

This is a syntax used for monitoring:
./check_ncpa.py -H 10.25.14.91 -t Str0ngT0k3n -M 'disk/logical/C:|/free' --warning 10: --critical 5: -u G

After doing a troubleshooting we noticed, that colon symbol (:) is causing performance graph not being populated. If I remove : symbol defining threshold range, it is OK. Is this not supported ?

Re: NCPA free space doesn't draw performance graph

Posted: Wed Dec 23, 2020 4:52 pm
by vtrac
Hi alipoglavsek,
I tested by creating a new "c:/free" service check with below command and I do see performance graph for its:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H 192.168.254.41 -t 'VT9900' -P 5693 -M 'disk/logical/C:|/free' --warning 10: --critical 5: -u G
pgraph.png
I asked my teammates and was told that one of the reason that might have make the graphs not populate was if you start with a different check and change it to something with a different amount of perfdata datasources.
if that is the case then we'll have to remove the rrd and it should start graphing with the new check.

I would suggest (on your test Nagios XI) you add a new "c:/free with :' service check and see if you get a performance graph or not.
GUI > Configure > Core Config Manager > Services > "+ Add New"

Also, below is the range definition for ":"
Range Definition.png
Hope this helps!!

Vinh