Yum Update OK?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Yum Update OK?

Post by tbmay »

The latest gnuTLS security issue has put the need front and center to keep our Nagios box patched. Generally I crontab yum updates on RHEL/CentOS boxes, but I haven't done so on this box because I didn't want to break NagiosXI.

The box is a minimal install of CentOS 6.4 with Base installed. (Plus tmux and htop for convenience.) 64 bit. Can we safely run yum update without breaking Nagios?
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yum Update OK?

Post by BanditBBS »

I update mine monthly and have yet to have an issue. Don't yell at me if you do though ;)
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Yum Update OK?

Post by slansing »

There is always the chance that package updates, particularly php and mysql can cause issues. I'd recommend doing this on a mirrored testing XI box first, just to be sure.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Yum Update OK?

Post by abrist »

You should be ok. About the only issue I have seen is that there has some breakage between really old openssl packages on clients (primarily old salaris boxes) and the newest version from yum on the XI system. This can break check_http -S (ssl) checks. But if the monitored systems in your environment are not ancient, you should be fine, at least when it comes to ssl.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Yum Update OK?

Post by WillemDH »

I'll have to do this too soon. Would it be safe enough to just take a vmware snapshot and restore in case problems arise? As I don't have a test XI server...
Nagios XI 5.8.1
https://outsideit.net
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yum Update OK?

Post by BanditBBS »

WillemDH wrote:I'll have to do this too soon. Would it be safe enough to just take a vmware snapshot and restore in case problems arise? As I don't have a test XI server...
I can't see why that wouldn't work as a rollback option just in case.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Yum Update OK?

Post by slansing »

Yep, that would work fine! Keep in mind that your XI license is good for 3 installations, you can create a test, and also a backup server with it.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Yum Update OK?

Post by sreinhardt »

I completely agree with bandit, snapshots are the way to go for system wide changes on vms!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Re: Yum Update OK?

Post by tbmay »

Our box is running on the metal and I don't have a testbed. I'd really like to cron yum updates; however, I'm getting the feeling from the responses that might not be a good idea. Any official word from Support?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Yum Update OK?

Post by sreinhardt »

cron updates... I would not suggest that route, as it takes away the human aspect of making sure its checked before install, and knowing if there is an issue post update. Honestly though if you do a full xi backup, move that off the system, then do your updates. I see no reason you should be concerned with it, provided you are using standard yum repos and not trying to push in super new packages that otherwise would not be available. Most of us in office, keep everything as up to date as possible and never have valid issues due to yum/packaging, just our own testing issues.(which are somewhat expected)
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked