Page 2 of 5

Re: Issue with NCPA agent

Posted: Wed Jan 15, 2014 7:04 pm
by balothia
Sure Let me try this. Meanwhile we have the issue again with one of our server where we got UNKNOWN Plugin error. I am attaching the log files for your reference.

Thanks,

Re: Issue with NCPA agent

Posted: Thu Jan 16, 2014 10:34 am
by slansing
Where are you seeing this unknown output? Is it an active or passive check? I don't see any mentions of it in your NCPA logs.

Re: Issue with NCPA agent

Posted: Fri Jan 17, 2014 10:42 am
by balothia
slansing wrote:Where are you seeing this unknown output? Is it an active or passive check? I don't see any mentions of it in your NCPA logs.
This is for active checks. We see this UNKNOWN error while running ncpa python scripts from Nagios server. When we get the unknow error message, I have to login to these servers which are using NCPA agent and just restart the agent. This fix the issue.

Re: Issue with NCPA agent

Posted: Fri Jan 17, 2014 3:07 pm
by slansing
Hmm, and this is only occurring on one server that is running NCPA? Does this version differ from the other servers that work correctly? Have you tried simply re-installing it?

Re: Issue with NCPA agent

Posted: Mon Jan 20, 2014 5:51 pm
by balothia
slansing wrote:Hmm, and this is only occurring on one server that is running NCPA? Does this version differ from the other servers that work correctly? Have you tried simply re-installing it?
Nope, this is happening on all 3 servers, where I have installed NCPA recently. Unfortunately, these are first 3 servers in our environment with NCPA agent. I did the install with same exe file on all 3 servers. These are production servers, let me check if I can quickly do uninstall/install, I think it may require a restart.

Thanks,

Re: Issue with NCPA agent

Posted: Tue Jan 21, 2014 10:04 am
by slansing
Okay awesome, if you can, just let us know what change (if any) this had.

Re: Issue with NCPA agent

Posted: Mon Jan 27, 2014 11:54 am
by balothia
Looks like Auto start with delay is helping out. We havent seen any new issue since then. But still I am looking for agent reinstall, I havent got the approval for that. I will keep you guys posted. Thanks a lot for your patience.

Just want to check, I believe by default NCPA agent doesnt check for Windows event logs. How can we run a plugin like check_winevent.exe, to check event logs. Apart from installing perl and using perl module on windows server.

Thanks,
Gautam

Re: Issue with NCPA agent

Posted: Mon Jan 27, 2014 4:15 pm
by sreinhardt
yes ncpa should be able to handle forwarding any output from other plugins and scripts that work in windows land. If you have issues let us know!

Re: Issue with NCPA agent

Posted: Mon Jan 27, 2014 4:44 pm
by balothia
sreinhardt wrote:yes ncpa should be able to handle forwarding any output from other plugins and scripts that work in windows land. If you have issues let us know!
how you will invoke .exe plugin. I can see in ncpa.cfg we have to give something like below.

.sh = /bin/sh $plugin_name $plugin_args
.ps1 = powershell -ExecutionPolicy Unrestricted $plugin_name $plugin_args
.vbs = cscript $plugin_name $plugin_args //NoLogo

Do we have any procedure written for this?

Thanks,
Gautam

Re: Issue with NCPA agent

Posted: Tue Jan 28, 2014 10:13 am
by lmiltchev
how you will invoke .exe plugin.
To be honest, I am not sure if this is possible. The NCPA developer should be in the office this afternoon, and will address this question. If this functionality is not available at the moment, I am sure we can add it later (if this is doable).