nagios.cfg problem with cfg_dir & cfg_file directives

Steve_Schryburt at Mitel.COM Steve_Schryburt at Mitel.COM
Thu May 12 22:23:52 CEST 2005


Hi,

I'm running nagios 2.0b3 on HP-UX 11.11.

I'm having 2 problems but everything else id OK.


1 - Can't get cfg_dir directive in nagios.cfg to work.

cfg_dir=/usr/local/nagios/etc/servers

Nagios doesn't know anything about *.cfg files that I put in the servers
directory.  I'm trying to break-up my hosts.cfg into smaller files.


2 - Extended host file directive not working.

nagios.cfg: cfg_file=/usr/local/nagios/etc/hostextinfo.cfg

The pre-flight check gives me:

   Checking extended host info definitions...
           Checked 0 extended host info definitions.

But I can make the extended host info work if I put my "define
hostextinfo" statements into the hosts.cfg file.

Thanks.
Stephen S.




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
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