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,
Issue with NCPA agent
Re: Issue with NCPA agent
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Issue with NCPA agent
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
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.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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Issue with NCPA agent
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
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.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?
Thanks,
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Issue with NCPA agent
Okay awesome, if you can, just let us know what change (if any) this had.
Re: Issue with NCPA agent
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
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
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Issue with NCPA agent
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!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Issue with NCPA agent
how you will invoke .exe plugin. I can see in ncpa.cfg we have to give something like below.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!
.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
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).how you will invoke .exe plugin.
Be sure to check out our Knowledgebase for helpful articles and solutions!