Initial nagios configuration

Andreas Ericsson ae at op5.se
Thu Mar 3 14:06:00 CET 2005


renatobusiness at netsite.com.br wrote:
> Right, but i read the documentation, but i've doubt with this topic.
> the documentatio are very goot, but at my installation the files that are 
> mentioneds at documentation do not exists at my instalation.
> please, read another time my mail with my doubt and help me. I need this.
> 

I think you misunderstood. The cfg_file directive in nagios.cfg names an 
object configuration file. That file can contain any kind of object 
(host, contact, service, contactgroup, timeperiod, you name it). What 
the files are called has nothing to do with things except for 
traditional purposes, where hosts are kept in hosts.cfg, services in 
services.cfg and so on. I'm sure you get the picture.

> Att
> Renato Gregio
> 
> Andreas Ericsson escreveu:
> 
>     renatobusiness at netsite.com.br wrote:
>      > Hi,
>      > I had installed nagios Version 2.0b2, this is my first experience with
>     nagios,
>      > and i have some dificults with configuration.
>      > I was reading the nagios documentation to install and configure. The
>     instalation
>      > is up, that's ok, but at configuration
>      > files i have problems, at documentation they mention some files but when
>     i go
>      > to this files to set up the configuration
>      > lines, they don't exists, look...
>      >
>      > example of files that don't exists:
>      >
>      > cfg_file=/usr/local/nagios/etc/hosts.cfg
>      > cfg_file=/usr/local/nagios/etc/services.cfg
>      > cfg_file=/usr/local/nagios/etc/commands.cfg
>      > object_cache_file_file=/usr/local/nagios/var/objects.cache
>      > temp_file=/usr/local/nagios/var/nagios.tmp
>      > command_file=/usr/local/nagios/var/rw/nagios.cmd
>      > downtime_file=/usr/local/nagios/var/downtime.dat
>      > comment_file=/usr/local/nagios/var/comment.dat
>      > state_retention_file=/usr/local/nagios/var/retention.dat
>      >
>      > did i need to creat this files?
> 
>     Yes.
> 
>      > what i do about this ???
>      >
> 
>     Read the documentation. You'll be glad you did once you have.
> 
>     -- 
>     Andreas Ericsson andreas.ericsson at op5.se
>     OP5 AB www.op5.se
>     Lead Developer
> 
> 
>     -------------------------------------------------------
>     SF email is sponsored by - The IT Product Guide
>     Read honest & candid reviews on hundreds of IT Products from real users.
>     Discover which products truly live up to the hype. Start reading now.
>     http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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