Setup and configuration

Antonio Pereira apereira at duocom.ca
Tue Jul 11 16:47:12 CEST 2006


Thanks

That was it. Something so simple. I knew it.



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira
> Sent: Tuesday, July 11, 2006 8:00 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Setup and configuration
> 
> Hello All,
> 
> I am new to Nagios and am looking to try and configure the system. I
> have read alot of documentation. I am having an issue trying to
> configure one system to start.
> 
> The error I get is as follows.
> 
> ******************************************
> Error: Could not find any host matching 'host_a'
> Error: Could not expand hostgroups and/or hosts specified in service
> (config file '/usr/local/nagios/etc/services.cfg', starting on line 1)
> ******************************************
> My Services config is:
> *****************************************
> define service{
> 	service_description		HTTP
> 	host_name			host_a
> 	servicegroups			http_services
> 	check_command			check_http
> 	max_check_attempts		3
> 	normal_check_interval		5
> 	retry_check_interval		1
> 	check_period			24x7
> 	notification_interval		60
> 	notification_period		24x7
> 	notification_options		w,u,c
> 	contact_groups			network_team
> 	}
> **********************************************
> My hosts files is as follows:
> **********************************************
> define host{
> 	host_name		host_a
> 	alias			main system
> 	address			192.168.0.19
> 	hostgroups		temp
> 	check_period		24x7
> 	max_check_attempts	1
> 	contact_groups		network_team
> 	notification_interval	30
> 	notification_period	24x7
> 	notification_options	d,u,r
> 	}

Do you list the file containing this host definition as a cfg_file in
nagios.cfg?

--
Marc


------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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