Page 1 of 1

NCPA Active checks

Posted: Fri Jul 11, 2014 12:10 pm
by BanditBBS
Yes, I am asking yet another NCPA question. This time is is in regards to active checks and not passive.

Last I tried using NCPA there were quite a few issues running passive checks and I have not been able to keep up with developments. So here are my questions:

1.) Is there a silent install option so we can push this out?
2.) What's the current version?
3.) I know it works well with built in checks(cpu, mem, disk) but do the active checks work well with custom plugins?(this was the issue I had with passive)
4.) I definitely want to use active checks(bye-bye old job) and am able to make that call here. Is NCPA the agent nagios would recommend out of all the choices?

Thanks

Re: NCPA Active checks

Posted: Fri Jul 11, 2014 1:44 pm
by lmiltchev
1.) Is there a silent install option so we can push this out?
I believe you can run:

Code: Select all

hcpa-head.exe /S /TOKEN=<your token>
2.) What's the current version?
What I can see on the assets.nagios.com is:
for Windows: ver. 1.5
for Linux: ver. 1.6
for Mac: ver. 1.5
3.) I know it works well with built in checks(cpu, mem, disk) but do the active checks work well with custom plugins?(this was the issue I had with passive)
It should... :) But let's make sure... What kind of pluings? Can you give us an example?
4.) I definitely want to use active checks(bye-bye old job) and am able to make that call here. Is NCPA the agent nagios would recommend out of all the choices?
Definitely. We are fixing some of the existing bugs, and will be adding the ability to monitor Windows performance counters, and event logs. NCPA is the way to go. :)

Re: NCPA Active checks

Posted: Fri Jul 11, 2014 2:41 pm
by BanditBBS
1.) I was pretty sure I knew that already, was just dbl checking

2.) Hasn't been a new version in a while. What is the current project plan for the next version? I know, I know, "when it's done"

3.) Any really! The issue on with passive is it would only run any custom plugin once and then error out on all later runs. I just wanted to know active checks work fine over and over :)

4.) Those will be nice features when added!

Re: NCPA Active checks

Posted: Mon Jul 14, 2014 10:05 am
by lmiltchev
You can just drop the script in the "C:\Program Files (x86)\Nagios\NCPA\plugins\" directory, then test it from the CLI or view it in the browser.

Example:

Code: Select all

[root@testbox libexec]# ./check_ncpa.py -H 192.168.x.x -t 'token' -P 5693 -M 'agent/plugin/check_updates.wsf'
Critical: 14 Updates detected! No Reboot required!
example01.PNG