View FAQ

[ Return To FAQ Index | Search The FAQs ]


FAQ Database : Nagios : Configuration

Title:How can I have the CGIs process multiple extended information configuration files?
FAQ ID:F0104
Submitted By:Ethan Galstad 
Last Updated:11/10/2002

Description:User would like to extended information definitions into multiple config files and have the CGIs process each config file.  

Solution:

The xedtemplate_config_file directive in the CGI config file is used to tell the CGIs what extended information config file to process. If you want to have the CGIs process multiple config files that contain extended information definitions, you can use the xedtemplate_config_file directive as follows (one entry per config file):

xedtemplate_config_file=/usr/local/nagios/etc/file1.cfg
xedtemplate_config_file=/usr/local/nagios/etc/file2.cfg
xedtemplate_config_file=/usr/local/nagios/etc/file3.cfg
...

 

Keywords:extended information config files