Newbie a little bit confused
Jason
jchambers at shaw.ca
Sun Apr 18 20:45:33 CEST 2004
A question could be, what's wrong with your nagios.cfg file?
Does it include:
cfg_file=/usr/local/nagios/etc/hosts.cfg
where
/usr/local/nagios/etc/hosts.cfg
is the location of that hosts.cfg file
Cheers,
Jason.
----- Original Message -----
From: "Jochen Kaechelin" <debianfreak at freenet.de>
To: <nagios-users at lists.sourceforge.net>
Sent: Sunday, April 18, 2004 12:36 PM
Subject: [Nagios-users] Newbie a little bit confused
> Hello List!
>
> I run Debian/sid and nagios-mysl (2:1.2-3.1)
>
> nagios 1.2
> Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org)
> Last Modified: 02-02-2004
>
> I have the following and only entry in my hosts.cfg:
>
> define host{
> host_name laptopjkt
> alias labby
> address 10.85.200.7
> check_command check-host-alive
> max_check_attempts 5
> process_perf_data 0
> retain_nonstatus_information 0
> notification_interval 30
> notification_period 24x7
> notification_options d,u,r
> }
>
> But a nagios -v nagios.cfg shows
>
> Checking hosts...
> Error: There are no hosts defined!
> Checked 0 hosts.
>
> What's wrong here my my hosts.cfg?
>
> --
> Jochen Kaechelin
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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