Nagios XI 5.7 update problem
Re: Nagios XI 5.7 update problem
If you remove the nrpe upgrade, the check_nrpe will be update?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI 5.7 update problem
This should have already been copied to the expected location from your previous upgrade run but you can verify by runningperryell wrote:If you remove the nrpe upgrade, the check_nrpe will be update?
Code: Select all
/usr/local/nagios/libexec/check_nrpe -VCode: Select all
NRPE Plugin for Nagios
Version: 4.0.3
Re: Nagios XI 5.7 update problem
Not, it was not copied, it had the old one
-rwxrwxr-x 1 apache nagios 132392 Nov 19 2018 check_nrpe
I run the upgrade without the nrpe first, it finished
then i run the nrpe upgrade alone running the removed script
still failing to start but the check_nrpe is listed like updated now
rwxrwxr-x 1 nagios nagios 133439 Jun 10 11:22 /usr/local/nagios/libexec/check_nrpe
/usr/local/nagios/libexec/check_nrpe -V
NRPE Plugin for Nagios
Version: 4.0.3
-rwxrwxr-x 1 apache nagios 132392 Nov 19 2018 check_nrpe
I run the upgrade without the nrpe first, it finished
then i run the nrpe upgrade alone running the removed script
still failing to start but the check_nrpe is listed like updated now
rwxrwxr-x 1 nagios nagios 133439 Jun 10 11:22 /usr/local/nagios/libexec/check_nrpe
/usr/local/nagios/libexec/check_nrpe -V
NRPE Plugin for Nagios
Version: 4.0.3
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI 5.7 update problem
What is failing now?perryell wrote:still failing to start but the check_nrpe is listed like updated now
Re: Nagios XI 5.7 update problem
No, i was pointing that if you run the nrpe upgrade alone, received the same message , nagiosxi is running ok
cd ./src/; make install-plugin
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-4.0.3/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-4.0.3/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-4.0.3/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 755 nrpe /usr/local/nagios/bin
/usr/bin/install -c -m 755 -o nagios -g nagios -d /var/run/nrpe
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-4.0.3/src'
/usr/bin/install -c -m 755 startup/default-init /etc/init.d/nrpe
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Shutting down nrpe [FAILED]
Starting nrpe [FAILED]
cd ./src/; make install-plugin
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-4.0.3/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-4.0.3/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-4.0.3/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 755 nrpe /usr/local/nagios/bin
/usr/bin/install -c -m 755 -o nagios -g nagios -d /var/run/nrpe
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/nrpe/nrpe-4.0.3/src'
/usr/bin/install -c -m 755 startup/default-init /etc/init.d/nrpe
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Shutting down nrpe [FAILED]
Starting nrpe [FAILED]
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI 5.7 update problem
This is good to hear.perryell wrote:nagiosxi is running ok
It is possible that the NRPE agent might have been installed on the local system which could be throwing this off.
Quick question, do you have a multible Nagios XI servers where you are performing NRPE checks against this server from another?
If not, there is no need to have NRPE running on here and you can ignore this error.
Re: Nagios XI 5.7 update problem
No, not checking between multiple servers, we can keep the daemon off
Thank you for all your help
Thank you for all your help
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI 5.7 update problem
Sounds great!perryell wrote:No, not checking between multiple servers, we can keep the daemon off
Thank you for all your help
Locking thread