Hi,

Matt Juszczak <m...@atopia.net> writes:

> * Nagios: What are people doing to add hosts/services to nagios where
> some hosts AREN'T puppet hosts?  For instance, deprecated hosts that
> were spun up prior to puppet (we won't be installing puppet on those
> hosts).

Just use several cfg_dir and cfg_file directives in your nagios config
file. I have the following:


#### from /etc/nagios/nagios.cfg
# host and service definitions for monitoring this machine
cfg_file=/etc/nagios/localhost.cfg

# human-maintained parts, if any
cfg_dir=/etc/nagios/admin
cfg_dir=/etc/nagios/hosts
cfg_dir=/etc/nagios/services

# script-generated parts
cfg_file=/etc/nagios/commands.cfg
cfg_file=/etc/nagios/hosts.cfg
cfg_file=/etc/nagios/services.cfg

# puppet-generated parts
cfg_file=/etc/nagios/nagios_service.cfg
####

-- 
Arnaud

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to