Page 1 of 1

NCPA Client

Posted: Tue Feb 03, 2015 4:49 am
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

Re: NCPA Client

Posted: Tue Feb 03, 2015 11:11 am
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.