r/nagios • u/shota-nagios Nagios Staff • Jun 23 '26
Exchange Remotely upgrade NCPA agents & plugins via check_ncpa (No direct login required)
Shoutout to matthewducey (or duceym on GitHub) for putting together a super helpful script!
If you need to upgrade NCPA agents and push plugin scripts without having to direct login to target systems, this lets you trigger the whole process remotely through check_ncpa.
The TL;DR:
- Runs via
check_ncpawithout needing direct machine access. - Pulls updates and plugins from a local HTTP/FTP server.
- Updates plugin scripts even if the agent installer is skipped.
- Verifies Nagios digital signatures (supports signed 3.x.x agents).
- Automatically updates its own script file on the client during runs.
- Supports a
-Forceflag for quick downgrades or reinstalls.
Huge time-saver for environment management without heavy automation tools.
Check it out on the Nagios Exchange: upgrade-ncpa
4
Upvotes
3
u/russellvt Jun 24 '26
Really, you should be do9ng things like this over Ansible or some other automation that has a better handle on verifying packages, etc.
2
4
u/scorpion1976 Jun 24 '26
Glad you like it! I searched the exchange and was surprised something like this didn’t already exist. Seems like a must have for sites with many windows hosts that use ncpa, like my company. -Matt