Patches update

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
alidar
Posts: 26
Joined: Wed Apr 11, 2018 7:15 am

Patches update

Post by alidar »

Hello

Can I installed the patched on client computer (manual or schedule) through Nagios core.


Regards
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Patches update

Post by mcapra »

I guess you could if you wanted to write a custom event handler and check to reference the versions of agents, but frankly this is something that is better handled by a proper configuration management utility like Chef, Ansible, Puppet, Salt, etc.

Even for something like Graylog, which has it's own agent not unlike Nagios Core with NCPA, my org manages the installation and updates of that agent via Chef.
Former Nagios employee
https://www.mcapra.com/
kyang

Re: Patches update

Post by kyang »

Thanks for the help @mcapra!

alidar, Let us know if you have any more questions, but what mcapra said is correct.
alidar
Posts: 26
Joined: Wed Apr 11, 2018 7:15 am

Re: Patches update

Post by alidar »

Hello mcapra,

Chef will integrate with nagios or it will separate server?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Patches update

Post by mcapra »

There's a Chef cookbook for Nagios Core, which is useful for managing Nagios Core installations by themselves:
https://supermarket.chef.io/cookbooks/nagios

But there isn't really any "integration" between the two. You could certainly have a Nagios Core event handler that runs chef-client (or a Chef push job) on a given host whenever Nagios Core detects something as being "out of date", but that's "missing the forest for the trees"; Chef as a platform is already well suited for making sure software is either running on the latest versions or on a specific version.
Former Nagios employee
https://www.mcapra.com/
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Patches update

Post by npolovenko »

@alidar, Let us know if you have any other questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
alidar
Posts: 26
Joined: Wed Apr 11, 2018 7:15 am

Re: Patches update

Post by alidar »

Hi,

I could not find the solution of patch management through nagios core.

Regards
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Patches update

Post by mcapra »

Just one dude's opinion, but Nagios Core isn't really the right tool for managing updates/configuration of machines. You *could* do it, but that doesn't mean you *should* do it. Nagios Core is much better suited as a monitoring framework than a configuration management framework.

I would highly recommend one of the tools I previously mentioned in this thread (and the other thread) for that specific use case. They are, among other things, much easier to setup for this particular situation.
Former Nagios employee
https://www.mcapra.com/
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Patches update

Post by tmcdonald »

I have to agree with @mcapra - Nagios Core is very good at monitoring and alerting, but it was not designed to be a patch management system. You could shoe-horn it to be one, with enough patience, but I am doubtful that there are any solid Nagios tie-ins to do this.
Former Nagios employee
Locked