ERROR : Apan could not find service

SAHNOUN, Nadir nsahnoun at refco.fr
Tue Aug 3 18:49:09 CEST 2004


Hi all,

The error is : Apan could not find service

Can you help me please ? Thank You very much.


My configuration file :

=========================================
SERVICES.CFG
=========================================
# Service definition
define service{
	use				generic-service-apan

	host_name			server1
	name				Net_usage
	service_description		Net_usage
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		1
	retry_check_interval		1
	check_command		apan-sql!snmpget!10!20
	}
=========================================
SERVICEXTINFO-APAN
=========================================
# Network traffic
define serviceextinfo  {
	host_name              	server1
	service_description    	Net_usage
	notes_url
/nagios/cgi-bin/apan-sql.cgi?host=nagios1&service=Net_usage
	icon_image             	graph.png
	icon_image_alt         	View Apan-graphs
	}

=========================================
CHECKCOMMANDS.CFG
=========================================
# 'apan-sql' command definition
define command{
	command_name	apan-sql
	command_line		/usr/local/nagios/apan-sql/apan-sql.sh
$ARG1$ $HOSTADDRESS$ $SERVICEDESC$ $TIMET$ $ARG2$ $ARG3#$
	}




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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