Page 2 of 2
Re: Long Delay for Scheduled Downtimes for Non-admin Users
Posted: Mon Jan 28, 2019 1:28 pm
by npolovenko
@onegative, Nagios XI comes with nrpe by default. Can you attach the whole /tmp/nagiosxi/upgrade.log? There is a good chance your server wasn't able to connect to some repo at the beginning of the upgrade.
Re: Long Delay for Scheduled Downtimes for Non-admin Users
Posted: Mon Jan 28, 2019 1:31 pm
by onegative
Got around this by modifying the upgrade script...
# Subcomponents that may need to be recompiled, flags set so it's only done once per upgrade
# not yet fully implemented
CORE_UPDATED=0
NDO_UPDATED=0
PNP_UPDATED=0
PLUGINS_UPDATED=0
NRPE_UPDATED=1 <-- Modified this to skip NRPE upgrade...
NSCA_UPDATED=0
NRDP_UPDATED=0
MRTG_UPDATED=0
UPDATE_SUDOERS=0
Re: Long Delay for Scheduled Downtimes for Non-admin Users
Posted: Mon Jan 28, 2019 2:47 pm
by npolovenko
@onegative, This should be fine. Keep us updated.
Re: Long Delay for Scheduled Downtimes for Non-admin Users
Posted: Mon Jan 28, 2019 3:47 pm
by onegative
Well I was not impressed with the upgrades...
My primary T1 worked with no issue...but my secondary T2 failed with the NRPE and then complained about missing the shellinabox package but not in the upgrade.log. I couldn't get my T2 system to upgrade and it kept failing in the same spot but not indicating why (no error crying for shellinabox)...it was not till I tried a fullinstall which recognized the missing package...so I added the rpm manually and then the upgrade succeeded.
So now I am worried about the production systems Primary and Secondary not behaving during the upgrade...can you please indicate specifically what the prerequisites with regard to repo's, packages that must be present for the upgrade to succeed?
Let me know and thanks,
Danny
Re: Long Delay for Scheduled Downtimes for Non-admin Users
Posted: Tue Jan 29, 2019 11:56 am
by npolovenko
@onegative, The list of required repos would depend on the OS. What OS is used on T1 and T2 servers? Do they both have access to the internet? Please run "yum repolist" on both servers and show us the output. Ideally, I'd like to take a look at the upgrade.log from the T2 server.