NCPA free space doesn't draw performance graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
alipoglavsek
Posts: 13
Joined: Fri Nov 13, 2020 6:37 am

NCPA free space doesn't draw performance graph

Post 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 ?
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: NCPA free space doesn't draw performance graph

Post 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
You do not have the required permissions to view the files attached to this post.