Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
PowerShell script that the Nagios check_ncpa utility can call which will then upgrade the Nagios NCPA agent and other plugin files/scripts.
Current Version
1.0.0
Last Release Date
2026-06-19
Owner
matthewducey
Website
https://github.com/duceym/upgrade-ncpa
Download URL
License
GPL
Compatible With
I wrote this plugin because I needed a way to upgrade the NCPA agent and other plugins without having direct login rights to the target system. By using check_ncpa, the upgrade can be triggered remotely.
To get started, download ncpa-latest.exe from Nagios and stage it on a local HTTP or FTP server. In that same directory, create a subdirectory called `scripts` and place any plugin files you want copied to the client inside it. You will also need to edit the `$PluginFiles` array near the top of `upgrade-ncpa.ps1` to list the filenames you want copied to the plugins directory on the target system.
If the version of NCPA you are trying to install is less than or equal to the version already installed, the installer will be skipped — but the plugin scripts will still be copied. To force a reinstall or downgrade, use the `-Force` parameter.
The script verifies that ncpa-latest.exe has been digitally signed by Nagios before running it. Note that only 3.x.x NCPA agents are signed, so 2.x.x agents are not supported.
The script is self-updating — if `upgrade-ncpa.ps1` is included in the plugin list and will be copied to the client on every run, keeping it current automatically.
You must be logged in to submit a review.
To:
From: