Central nrpe config-management

Lori Adams ladams at cloudmark.com
Tue Jul 12 18:43:55 CEST 2005


We use a Perl script using the Expect module to distribute configs, and add new commands to the nrpe.cfg file.  There's no need to disable/enable services on the "remote" machine (one running nrpe).  They can all be listed in the config, some just won't be used.

-L

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Turnbull
Sent: Monday, July 11, 2005 3:42 AM
To: derfrecheDachs at gmx.net
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Central nrpe config-management

derfrecheDachs at gmx.net wrote:

>Hi,
>
>I´d like to know if there is a solution for this problem and how it works if
>there are different config-files on the  clients.
>How about the way to have the same cfg-file on the clients with not used
>(deacivated) services ??
>Any other solution possible ??
>
>
>Thnx Horst
>
>  
>
We used cfengine (http://www.cfengine.org/) to distribute our nrpe and 
other config files.  We had a script which ran over the config file and 
enabled or disabled the services we wanted on each machine.  This also 
meant you could change the services being montitored by running the 
script.  Was just a very simple Bash script that used sed.  I am sure 
you could do something much more impressive with Perl.

Regards

James Turnbull

-- 
James Turnbull <james at lovedthanlost.net>
---
Author of Hardening Linux from Apress
(http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/)
---
PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40)



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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