NCPA Client

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cklayus
Posts: 62
Joined: Tue May 27, 2014 8:42 am

NCPA Client

Post by cklayus »

I have manually modified the NCPA passive checks. what is the correct format?
mine look like this
[passive checks]
%HOSTNAME%|__HOST__ = $PLUGIN_DIR$\check_winping.exe -H 127.0.0.1 --warning 200,40% --critical 400,80%
%HOSTNAME%|Cpu Load = $PLUGIN_DIR$\check_pdm --processor --warning 85 --critical 95 --psamples 10 --pinterval 5
%HOSTNAME%|Memory Usage = $PLUGIN_DIR$\check_pdm.exe --memory -w 96 -c 99
%HOSTNAME%|Page File Usage = $PLUGIN_DIR$\check_pdm.exe --memory pagefile -w 80 -c 95
%HOSTNAME%|Disks Free Space = $PLUGIN_DIR$\check_all_disk.vbs /w:10 /c:5
and doesnt work. i have copied the plugins in to the plugin dir
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA Client

Post by lmiltchev »

Actually the correct format would be something like this:

Code: Select all

[passive checks]
%HOSTNAME%|cpu usage = /cpu/percent --warning 20 --critical 30
%HOSTNAME%|swap usage = /memory/swap/percent --warning 40 --critical 80
%HOSTNAME%|memory usage = /memory/virtual/percent --warning 60 --critical 80
See the documentation here:

http://assets.nagios.com/downloads/ncpa ... ssive.html

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked