NCPA Active checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

NCPA Active checks

Post 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
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA Active checks

Post 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. :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NCPA Active checks

Post 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!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA Active checks

Post 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
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked