Apan - but no graphs
Sean Knox
sean.knox at sbcglobal.net
Wed Oct 30 10:11:00 CET 2002
The rrdtool path in generate.cgi also threw me for a loop. To everyone
configuring Apan, here are a couple "gotchas":
1. As Ralph points out, generate.cgi is hardcoded to use
/usr/local/bin/rrdtool as the rrdtool location. Be sure to change to the
actual location. (on Debian, for example, rrdtool is located in
/usr/bin/rrdtool)
2. Apan resolves hosts defined in the apan.cfg via /etc/hosts and DNS,
not through nagios. Be sure to use FQDN with your hosts or define them
in /etc/hosts.
3. Make sure your permissions on your rrd files are correct. For the
longest time I had the graphs themselves generated, but no data was
being put into them. (I stupidly created them as root. yes, i know that
was bad). It's still unclear which user accesses the .rrd files... the
webserver? nagios? nobody?
4. Apan currently has little or no error-checking...i.e. just about
everything is case sensitive...be careful!
Those are the ones I remember off the top of my head. Apan has a ton of
potential- I can't wait to explore it.
Sean
Ralph Zimmermann wrote:
>I meant, these red colored "X" replacements instead of pictures.
>
>But I found the mistake myself now. It wasn't in the documentation
>that you need to adjust generate.cgi as well !!!
>
>In my case it was the path to rrdtool. Now "rrdtool graph" gets started
>properly and does create the required graphs.
>
>Ralph.
>
>-----Ursprüngliche Nachricht-----
>Von: Sean Knox [SMTP:sean.knox at sbcglobal.net]
>Gesendet am: Mittwoch, 30. Oktober 2002 09:09
>An: ralph.zimmermann at salt-ag.com
>Betreff: Re: [Nagios-users] Apan - but no graphs
>
>By no graphs, do you mean no graphics at all (i.e. pngs/gifs) or graphs
>with no data?
>
>Sean
>
>Ralph Zimmermann wrote:
>
>
>
>>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 GRAPHS.
>>
>>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.
>>
>>
>>Ralph Zimmermann
>>_____________________________________
>>- Netzwerkadministrator -
>>
>>SALT AG
>>Sedanstraße 23
>>D-97082 Würzburg
>>
>>Tel: +49 931 3573 - 400
>>Fax: +49 931 3573 - 409
>>
>>mailto: ralph.zimmermann at salt-ag.com
>>Besuchen Sie uns unter www.salt-ag.com
>>
>>telematikgestützte Logistik-Plattform cargoRent
>>Tracking & Tracing
>>ab 49 Euro monatlich/ Fahrzeug
>>Infos unter www.cargoRent.net
>>
>>
>>
>>
>>-------------------------------------------------------
>>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
>_______________________________________________
>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