Cipriani, Robert C wrote:
> I'll probably need something a bit more sophisticated than a bash script. I 
> like the idea of being able to say "add line x to file y if line x doesn't 
> yet exist".
>   
You can do that in Bash, in fact I do it for deployment to make sure 
nrpe is in /etc/services.

Why not just have one global nrpe config that you have on all hosts though?

This is way easier to manage and maintain. You just make up different 
check command names for very specific things.
This also simplifies things incredibly and means you could never lose 
your config, unless all your nrpe holding servers burned down along with 
your svn server and all your backups.


-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@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

Reply via email to