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?
Yum Update OK?
Re: Yum Update OK?
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
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?
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.
Re: Yum Update OK?
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.
"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.
Re: Yum Update OK?
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
https://outsideit.net
Re: Yum Update OK?
I can't see why that wouldn't work as a rollback option just in case.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...
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
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?
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?
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.
Re: Yum Update OK?
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?
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.