Issue with NCPA agent
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Issue with NCPA agent
We're going to look into this with the developer of NCPA, he should be in today.
Re: Issue with NCPA agent
Did you copy only the "check_winevent.exe" file to the NCPA plugins directory, or you copied all the folders (bin, cpfworkrt, dll, doc, lib)? I am not really sure what is needed - never used this plugin, however it is working just fine for me (after I copied all of the files
). See below:
Code: Select all
[root@testbox libexec]# ./check_ncpa.py -H 192.168.x.x -t 'token' -P 5693 -M agent/plugin/check_winevent.exe -a "--log security"
EVENT OK - 865 events|events=865;;;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!
Re: Issue with NCPA agent
Definitely I copied all files in the plugin folder without that the plugin will not work. I did reinstalled the NCPA, I provided the new version 1.3 I am using. I will try to reinstall the agent. The ncpa agent doesnt need a restart of server, Can you confirm? if this is the case i havent restarted the server after reinstalling the agent. Also can you give me the agent download link which you have used in the scenario working for you.
Do you have any new version of check_ncpa.py script?
Thanks,
Gautam
Do you have any new version of check_ncpa.py script?
Thanks,
Gautam
Re: Issue with NCPA agent
I downloaded the "check_winevent" from here:
http://www.itefix.no/i2/sites/all/modul ... &nid=12690
Unzipped it, and copied over all of the files to "C:\Program Files (x86)\Nagios\NCPA\plugins\" directory.
I download the NCPA Windows agent from here:
http://assets.nagios.com/downloads/ncpa/ncpa-head.exe
I didn't have to restart the server.
Try reinstalling the agent and see if this is going to fix your issue. If not, we will have to bring in the NCPA developer.
http://www.itefix.no/i2/sites/all/modul ... &nid=12690
Unzipped it, and copied over all of the files to "C:\Program Files (x86)\Nagios\NCPA\plugins\" directory.
I download the NCPA Windows agent from here:
http://assets.nagios.com/downloads/ncpa/ncpa-head.exe
I didn't have to restart the server.
Try reinstalling the agent and see if this is going to fix your issue. If not, we will have to bring in the NCPA developer.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Issue with NCPA agent
Issue got resolved after replacing the check_ncpa.py. I did the reinstallation of agent but that didnt changed anything and then I though to look for check_ncpa.py script if any changes has been done. And thats where was the problem, there is a new modifies check_ncpa.py script available, which is now working for me.
Difference in bytes as well between old and new script....
4263 check_ncpa.py
4283 check_ncpa.py.old
Thanks for working on this issue...
Thanks,
Gautam
Difference in bytes as well between old and new script....
4263 check_ncpa.py
4283 check_ncpa.py.old
Thanks for working on this issue...
Thanks,
Gautam
Re: Issue with NCPA agent
Glad to see it working now. I'll be closing this thread, but feel free to start another if you have issues in the future.
Former Nagios employee
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Issue with NCPA agent
Excellent!