New to Nagios - Need help with nagios.cfg

Eric Chatham echatham at broadvox.net
Wed Feb 18 20:37:16 CET 2009


Thank you.  Next time you're in the area...

I still can't find the problem.  I can't find the duplicate command. :/

Eric Chatham
Broadvox MIS Department
(216) 373-4683
echatham at broadvox.net


-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]
Sent: Tuesday, February 17, 2009 17:04
To: Nagios Users
Subject: Re: [Nagios-users] New to Nagios - Need help with nagios.cfg


On Feb 17, 2009, at 3:44 PM, Eric Chatham wrote:

> Is the cfg_dir location recursive?


Ok, I'll look that up for you. You owe me a local beer though.

http://nagios.sourceforge.net/docs/3_0/configmain.html

Object Configuration Directory

Format:                 cfg_dir=<directory_name>
Example:        cfg_dir=/usr/local/nagios/etc/commands
                        cfg_dir=/usr/local/nagios/etc/services
                        cfg_dir=/usr/local/nagios/etc/hosts

This directive is used to specify a directory which contains object
configuration files that Nagios should use for monitoring. All files
in the directory with a .cfg extension are processed as object config
files. Additionally, Nagios will recursively process all config files
in subdirectories of the directory you specify here. You can seperate
your configuration files into different directories and specify
multiple cfg_dir= statements to have all config files in each
directory processed.

--
Marc


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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

CONFIDENTIAL.  This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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