Page 1 of 1

Patches update

Posted: Mon May 07, 2018 5:35 am
by alidar
Hello

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


Regards

Re: Patches update

Posted: Mon May 07, 2018 9:22 am
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.

Re: Patches update

Posted: Mon May 07, 2018 3:21 pm
by kyang
Thanks for the help @mcapra!

alidar, Let us know if you have any more questions, but what mcapra said is correct.

Re: Patches update

Posted: Tue May 08, 2018 1:35 am
by alidar
Hello mcapra,

Chef will integrate with nagios or it will separate server?

Re: Patches update

Posted: Tue May 08, 2018 8:58 am
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.

Re: Patches update

Posted: Tue May 08, 2018 4:07 pm
by npolovenko
@alidar, Let us know if you have any other questions.

Re: Patches update

Posted: Mon Jun 11, 2018 3:35 am
by alidar
Hi,

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

Regards

Re: Patches update

Posted: Mon Jun 11, 2018 7:04 am
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.

Re: Patches update

Posted: Mon Jun 11, 2018 12:29 pm
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.