[Nagiosplug-help] Install Nagios plug: instruction step 5:hosts.cfg file

Stewart St. Dennis sstdennis at mail.zaxia.com
Wed Aug 11 22:49:05 CEST 2010


Ivan:
One of the most mentally challenging parts of configuring Nagios is
there is not one configuration file.  Just like a relational database
needs to be normalized to eliminate data duplication storage/update
issues, to configure Nagios you should be updating/maintaining multiple
files.  
There is a good Nagios configuration diagram (that is the equivalent of
an Entity Relationship or database diagram in the relational world) that
you should look at to help you understand how the parts are put
together.  One of the URLs for the diagram is:
http://nagios.sourceforge.net/download/contrib/documentation/misc/config_diagrams/nagios-config.pngStewart St. Dennis
CTO, ZAXIA
-----Original Message-----
From: "Scott Lofland" <SLofland at slco.org>
Sent 8/10/2010 3:15:38 PM
To: "Nagios Plugin Help List" <nagiosplug-help at lists.sourceforge.net>, "sstdennis at zaxia.com" <sstdennis at zaxia.com>
Subject: RE: [Nagiosplug-help] Install Nagios plug: instruction	step
5:hosts.cfg file From: Labrovic, Ivan
[mailto:ivan.labrovic at centric.eu] Sent: Tuesday, August 10, 2010 12:59 PMTo: sstdennis at zaxia.com; Nagios Plugin Help ListSubject: Re: [Nagiosplug-help] Install Nagios plug: instruction step 5:hosts.cfg
file That was not my question.i know the location but have no idea how to
implement this in our config file. Perhaps you have an example config file for
us? Greetings,Ivan.   Ivan, The nagios.cfg file should contain references to
specific paths and the locations of Config files you want processed and
included in your environment.  You can create your own entries which point
to specific Config files by starting the line with cfg_file= or
you can process all config files in a given directory by using cfg_dir=
.  Either/both of those would be followed by the path specific to your
system. A couple lines from a default Nagios install are as follows: cfg_file=/usr/local/nagios/etc/objects/contacts.cfg cfg_dir=/usr/local/nagios/etc/servers Hope this helps. -Scott Loflandslofland at slco.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100811/b6663409/attachment.html>


More information about the Help mailing list