Page 1 of 1

Automate client install

Posted: Thu Oct 13, 2011 9:12 am
by jon.bilderback
We've recently purchased RHEL's Satellite server, and one of the things I'm looking to use it for is to automate the install of the nagios nrpe client to our servers.

Is there a way to do this with scripting and/or rpm install of the client?

Thanks

Re: Automate client install

Posted: Thu Oct 13, 2011 10:36 am
by mguthrie
Currently we don't have an in-house solution for this. We added the Bulk Host Import Wizard which will allow you to add a large number of hosts on the Nagios XI side of things, but we don't have a mass deployment tool developed for the agent side of things. However, I believe there are some free solutions that exist that be able to do this. I googled "Linux mass deployment" and this came up as the first option. Not sure if it's an option, but I'm sure there's a solution out there already that would do this, we just haven't tested or documented any of them.

http://fai-project.org/

Re: Automate client install

Posted: Tue Oct 18, 2011 1:37 pm
by jon.bilderback
I just need to install the nagios client, not all of linux. Are there no rpms or scripts out there for this?

Re: Automate client install

Posted: Tue Oct 18, 2011 2:47 pm
by mguthrie
There are packages available for the nrpe agent in yum, apt, and probably rpm. The advantage of using our agent installer is that it matches our documentation and matches our Linux Wizard configs out of the box.

Re: Automate client install

Posted: Tue Oct 18, 2011 6:07 pm
by jsmurphy
I've never used satellite but we use ZLM (zenworks) and developed a sort of work around. We basically just deploy the source code and config file to the server as generic files and have ZLM execute a script after the fact that compiles the source and copies the config to the directory. It's not very robust and we're still early stages of developing the script... but I assume that satellite would have a similar functionality as I hear it's a lot better (wouldn't be hard really ZLM is a pain in the ass).