Apan Configurations

Bishop, Dean dean.bishop at tcdsb.org
Tue Oct 29 18:21:35 CET 2002


This seems like a good path.

Anyone have a way to suck in hosts/services from existing files?

i have 1400+ hosts and almost 1600 services.

If i read the docs correctly, i would have to create entries for each of the
services and/or hosts.

kinda daunting...but then came Perl.  anyone up to the task?

later,
dean

-----Original Message-----
From: Ralph Zimmermann [mailto:ralph.zimmermann at salt-ag.com]
Sent: Tuesday, October 29, 2002 12:01 PM
To: Nagios Mailing List
Subject: RE: [Nagios-users] Apan Configurations


Hi,

I've just configured Apan according to the documentation and the hints of
the last
postings. The config itself went fine and checks (ping) are running
successfully, 
but if I click on the graph icon in Nagios, which leads to the url, I get a
page with 
all required text but no pictures.

As I see from the dead-pictures properties it tries to generate the pictures
from the 
follwing call: http://.../nagios/cgi-bin/generate.cgi?server&Ping&600

Anyone aware what my fault may be ?

However I'm glad about Apan, always been waiting for a rrdtool to easily
integrate into Nagios.

Cheers,
Ralph.

-----Ursprüngliche Nachricht-----
Von:	Erkki Kukk [SMTP:erkki_k at ut.ee]
Gesendet am:	Dienstag, 29. Oktober 2002 12:30
An:	Fredrik Wänglund
Cc:	Nagios Mailing List
Betreff:	RE: [Nagios-users] Apan Configurations


Hi.

Its great to see that someone is finally dealing with graphing the
perfdata.
And for me Apan works fine. But I dont like that it does all the checks by
hostname :(  I think it is much better to check by ip
address, like nagios does.

Brgds,
	erkki


> I am currently working on an HOWTO section in the docs on Apans homepage.
>
> Here's the short one (assuming tou have installed the files and defined
the command):
>
> 1) Define a sevice in Nagios with apan as check_command and the
plugin-name as first argument;
> define service{
> host_name                      server
> service_description            Ping
> ...
> check_command                  apan!ping!100.0,20%!500.0,60%
> ...
> }
>
> 2) Create a RRD_file
> rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60
DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800
>
> 3) Define the serice in apan.cfg
> server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LINE2;Ping
round-trip time;Secondsefine the serice in apan.cfg
>
> 4) Add a URL and icon to the service
> define serviceextinfo{
> host_name               server
> service_description     Ping
> notes_url               


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list