Page 3 of 5

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 10:25 am
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.

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 10:55 am
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.

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 11:13 am
by lmiltchev
I am really curious to see if this is going to work. Please, keep us updated on that.

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 11:46 am
by balothia
We got the error message when we tried running the check_winevent plugin. I am attaching the screen shot.

Thanks,
Gautam

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 12:45 pm
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""

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 3:30 pm
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.

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 4:24 pm
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".

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 8:19 pm
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.

Re: Issue with NCPA agent

Posted: Mon Feb 03, 2014 8:24 am
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

Re: Issue with NCPA agent

Posted: Mon Feb 03, 2014 12:25 pm
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.