Setup and configuration

Antonio Pereira apereira at duocom.ca
Tue Jul 11 14:59:57 CEST 2006


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
	}
***********************************************
My servicegroups is as follows:
***********************************************
define servicegroup{
	servicegroup_name		http_services
	alias				Web Servers
	members				host_a,HTTP
	}
***********************************************
My hostgroups is as follows:
***********************************************
define hostgroup{
	hostgroup_name		temp	
	alias			temp Network
	members			host_a
	}
***********************************************
Am I even in the right direction?
Thanks for any help or any directions where I can find the answer.


-------------------------------------------------------------------------
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