Hello,
I would like to install a plugin that will search my Windows boxes from updates but i only seem to find plugins written for NRPE or that use powershell scripts. I do not want to open all my servers up to unrestricted execution policy and I am using NCPA so i am stuck. Is there a plugin specific to NCPA? I believe I saw a post somewhere that mentioned being able to change a plugin to work with NCPA instead of NRPE, is this accurate? If so, how do i go about that.
Thanks.
Windows Updates
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Windows Updates
I'm haven't delved a lot into NCPA however looking at the docs it shouldn't be too hard.
Your scripts should go in C:\Program Files (x86)\Nagios\NCPA\plugins\
Have a look here at the section "Using Nagios Plugins"
https://assets.nagios.com/downloads/ncp ... l/api.html
NOTE: there is a spelling mistake on that page, it references a URL that ends with /api/agent/plugins but the s at the end should not exist, it should be: /api/agent/plugin
Does this help?
Your scripts should go in C:\Program Files (x86)\Nagios\NCPA\plugins\
Have a look here at the section "Using Nagios Plugins"
https://assets.nagios.com/downloads/ncp ... l/api.html
NOTE: there is a spelling mistake on that page, it references a URL that ends with /api/agent/plugins but the s at the end should not exist, it should be: /api/agent/plugin
Does this help?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Windows Updates
So I will need to put the plugin on ever server's C:\Program Files (x86)\Nagios\NCPA\plugins\ directory?
Thanks.
Thanks.
Re: Windows Updates
I have come to terms with the PowerShell version of this check. I have it working on a service by service basis but i would like to create command or service template to make it easier to deploy across multiple servers. I have been working at this for the better part of the day and I can't get it to work. Any help is appreciated.
Re: Windows Updates
Are you looking to create a command specific for the Windows Update NCPA checks?
Navigate to Configure -> Core Config Manager -> ### Commands -> '+ Add New'.
Once there, give it a command name, and assign a command line check to it.
Is that what you're looking for?
Navigate to Configure -> Core Config Manager -> ### Commands -> '+ Add New'.
Once there, give it a command name, and assign a command line check to it.
Is that what you're looking for?
Former Nagios Employee
Re: Windows Updates
I have figured it out since my last post. Please close this ticket.
Thanks for the assistance.
Thanks for the assistance.