You can see the version by running one of the plugins like this:
Code: Select all
/usr/local/nagios/libexec/check_http -V
I probably wouldn't upgrade them all as development hasn't tested them all against the XI wizards else they would have included them in the XI update.
Usually, when I want to upgrade a specific plugin I do this:
Code: Select all
cd
cp -p /usr/local/nagios/libexec/check_snmp /usr/local/nagios/libexec/check_snmpOLD
wget https://github.com/nagios-plugins/nagios-plugins/archive/refs/tags/release-2.4.0.zip
unzip release-2.4.0.zip
cd nagios-plugins-release-2.4.0
./tools/setup
./configure
make all
Test it out:
Code: Select all
cd plugins
./check_snmp rest of the comand
Then if everything looks good, copy it in place manually:
Code: Select all
\cp -f plugins/check_snmp /usr/local/nagios/libexec/check_snmp
To undo the change in the event of an issue:
Code: Select all
\cp -f /usr/local/nagios/libexec/check_snmpOLD /usr/local/nagios/libexec/check_snmp