Newbie a little bit confused

Jochen Kaechelin debianfreak at freenet.de
Sun Apr 18 20:36:47 CEST 2004


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





More information about the Users mailing list