APAN problems

Bunting, Glen, IG GBunting864 at Worldsavings.com
Fri Mar 28 18:33:00 CET 2003


Fredrik,

I have compared the case sensitivity of hostname/description and they look correct.  Here are the relevant parts of my configs.  I still do not have any links from within nagios.  

############################################################################################
# Services for APAN
############################################################################################

# service definition for APAN ping

define service{
	host_name			GlenNT,JeffNT,JeffIIS,JeffLinux,gbredhat1
	service_description		Ping
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			nt-admins,linux-admins
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	check_command			apan!ping!100.0,20%!500.0,60%
	name				Ping
	use 				generic-service
	normal_check_interval		1
	}

############################################################################################
# Extended service information
############################################################################################

# rrd link of ping round-trip times
define serviceextinfo{
	host_name			gbredhat1
	service_description		Ping
	notes_url			/nagios/cgi-bin/apan.cgi?host=gbredhat1&service=Ping
	icon_image			graph.png
	icon_image_alt			View graphs
	}

############################################################################################
# Enabling extended host info
############################################################################################

xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg
xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg

Thanks

Glen

-----Original Message-----
From: Fredrik Wänglund [mailto:fredrik.wanglund at datavis.se]
Sent: Thursday, March 27, 2003 11:42 PM
To: Bunting, Glen, IG
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] APAN problems


The extinfo-definitions (and Apan) is very case-sensitive. Make sure 
your hostname/sevicedescription looks exactly the same in the 
service-definition and the serviceextinfo-definition.
If this desnt work, let us look at the relevant parts of your config.


/FredrikW



Bunting, Glen, IG wrote:

>I am currently trying to set up APAN.   As far as I can tell, I have set it up exactly as shown in the how-to for the ping round trip times.  I have two problems.
>
>1.  The only host that this seems to be working on is the local host.  All other computers I am getting an error "Could not insert ':Ping' , 'xxxxxxxxxx:' into /usr/local/nagios/rrd/GlenNT_Ping.rrd" from apan.debug.  From within nagios is states the host could not be found.
>
>I have check the permissions on the rrd file and they all have nagios as the owner with read/write access.
>
>2.  The other problem I have is that I cannot get the graphs to come up from within nagios using serviceextinfo.cfg.  I can get hostextinfo.cfg to work properly with the logos, but not the APAN link to the graphs.
>
>I have followed the instruction and examples as close as I could and I believe they are accurate.  Am I missing something obvious or should I post the relevant configs?
>
>Thanks
>
>Glen
>
>
>*****************************************************************************
>If you are not the intended recipient of this e-mail, please notify 
>the sender immediately. The contents of this e-mail do not amend 
>any existing disclosures or agreements unless expressly stated.
>*****************************************************************************
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by:
>The Definitive IT and Networking Event. Be There!
>NetWorld+Interop Las Vegas 2003 -- Register today!
>http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
>_______________________________________________
>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
>  
>




*****************************************************************************
If you are not the intended recipient of this e-mail, please notify 
the sender immediately. The contents of this e-mail do not amend 
any existing disclosures or agreements unless expressly stated.
*****************************************************************************



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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