Issue with NCPA agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Issue with NCPA agent

Post by tmcdonald »

One thing I have seen in a ncpa.cfg is this line:

Code: Select all

.exe = cmd /c $plugin_name $plugin_args
I haven't tried it myself but running "cmd /c" should kick off another process.
Former Nagios employee
balothia
Posts: 68
Joined: Sun Dec 08, 2013 10:25 am

Re: Issue with NCPA agent

Post by balothia »

tmcdonald wrote:One thing I have seen in a ncpa.cfg is this line:

Code: Select all

.exe = cmd /c $plugin_name $plugin_args
I haven't tried it myself but running "cmd /c" should kick off another process.
Thanks, earlier for log file monitoring we used the .exe plugin. In ncpa.cfg we tried with cmd but it didnt worked and I believe we were not aware of the syntax "cmd /c". After thats we installed perl on windows used the perl plugin. But I am going to check this if this works.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue with NCPA agent

Post by lmiltchev »

I am really curious to see if this is going to work. Please, keep us updated on that.
Be sure to check out our Knowledgebase for helpful articles and solutions!
balothia
Posts: 68
Joined: Sun Dec 08, 2013 10:25 am

Re: Issue with NCPA agent

Post by balothia »

We got the error message when we tried running the check_winevent plugin. I am attaching the screen shot.

Thanks,
Gautam
You do not have the required permissions to view the files attached to this post.
balothia
Posts: 68
Joined: Sun Dec 08, 2013 10:25 am

Re: Issue with NCPA agent

Post by balothia »

balothia wrote:We got the error message when we tried running the check_winevent plugin. I am attaching the screen shot.

Thanks,
Gautam
I am able to resolve the issue, now plugin is running. But i am not able to pass the arguments to plugin using -a option. "-a --window "10 minutes" -a --type "audit failure""
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue with NCPA agent

Post by lmiltchev »

I am confirm that there is a problem with parsing the arguments. Our NCPA developer is looking at this as we speak. We will post a possible solution/workaround as soon as we have one.
Be sure to check out our Knowledgebase for helpful articles and solutions!
balothia
Posts: 68
Joined: Sun Dec 08, 2013 10:25 am

Re: Issue with NCPA agent

Post by balothia »

lmiltchev wrote:I am confirm that there is a problem with parsing the arguments. Our NCPA developer is looking at this as we speak. We will post a possible solution/workaround as soon as we have one.
Thanks lmiltchev, as of now i am using the batch file with ncpa agent to run the plugin with parameters but thats not helping at all. Just for example if there 5 audit failures and critical threshold is set 4. The plugin output should be Critical as well but on Nagios its coming as green(OK) an"Event Critical event 5".
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Issue with NCPA agent

Post by nscott »

I am working on this and there is a bug where the plugins aren't getting passed properly. I'm working on a fix now.
Nicholas Scott
Former Nagios employee
balothia
Posts: 68
Joined: Sun Dec 08, 2013 10:25 am

Re: Issue with NCPA agent

Post by balothia »

nscott wrote:I am working on this and there is a bug where the plugins aren't getting passed properly. I'm working on a fix now.
Hi Scott & Team,

Do we have any updates on this issue? I know it might take sometime but we have to golive with our systems. If you suggest we can move to NSClient++, but really I want to use NCPA on all our servers. As it supported most of available OS platforms.

Thanks,
Gautam
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue with NCPA agent

Post by lmiltchev »

Just wanted to give you heads up. Nick Scott is off today but he will be in the office tomorrow afternoon, and will follow up with you on the development. Unfortunately, I don't know how much he's done on fixing the bug.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked