Apan Configurations
Fredrik Wänglund
Fredrik.Wanglund at datavis.se
Tue Oct 29 08:04:36 CET 2002
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 /nagios/cgi-bin/apan.cgi?host=server&service=Ping
icon_image graph.png
...
}
/FredrikW
-----Original Message-----
From: Sean Knox [mailto:sean.knox at sbcglobal.net]
Sent: Mon 28-Oct-02 19:28
To: Carroll, Jim P [Contractor]
Cc: Nagios Mailing List
Subject: Re: [Nagios-users] Apan Configurations
I set up Orca as your normally would on a standalone box, and then
defined an external url (via notes_url in extended information) per
Orca'ed host. So while viewing everything via the Nagios gui, clicking
the url associated with each host would whisk you away to the host's
Orca graph.
Depending on when Apan comes out with a working howto, I might write a
Orca+Nagios howto, or perhaps a smokeping+nagios howto.
Apan will be nice as it will achieve the same results as Orca with the
nice rrdtool graphs, but there won't be a need to set up third party
software.
Sean
Carroll, Jim P [Contractor] wrote:
>Now I'm curious how Sean got Orca working with Nagios (if that's indeed what
>he's doing).
>
>jc
>
>
>
-------------------------------------------------------
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