Centralizing NRPE Configuration
Hari Sekhon
hpsekhon at googlemail.com
Wed Nov 28 14:13:42 CET 2007
Cipriani, Robert C wrote:
> Does anyone have any suggestions on a way to centralize NRPE configs? I suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server if I need to add any commands. Is there a better way to manage this? I'd like the Nagios server to be a central point of configuration. I am using nrpe's --enable-command-args option and passing parameters via check_nrpe, so once the monitored host has the nrpe.cfg, there wouldn't be much to do there.
>
I use Svn + Bash to rsync/scp configs. This works swimmingly for me, but
then I do love bash and I wrote quite a bit to install nrpe, configure
the environment by checking /etc/services etc and push the config over.
If you are a wizz in Bash then this is excellent. I can redeploy all
configurations to all servers with just one command.
There is also cfengine, but I didn't bother with this. Even if you're
not a Bash wizz, then just a few lines to scp and possibly restart
daemon (although I use xinetd to limit the source of the request to the
nagios server for extra protection so I don't even have to do that).
-h
--
Hari Sekhon
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list