|
|
| Author |
Message |
Thjom jong
Joined: 08 Jul 2008 Posts: 6
|
Posted: Tue Jul 08, 2008 9:41 am Post subject: Problem with cacti: |
|
|
Hi,
I tried to install cacti (I use fedora
When I add a device, cacti sees all its properties with no problem.
But Cacti isn't show me any type of graphs.
Why???????????
[/img] |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Tue Jul 08, 2008 3:29 pm Post subject: |
|
|
Please explain what you did and what fails; error messages would be lovely. Better: read 1st link of my sig to find lots of HowTos. Please ask if anything is unclear
Reinhard |
|
| Back to top |
|
 |
Thjom jong
Joined: 08 Jul 2008 Posts: 6
|
Posted: Wed Jul 09, 2008 1:44 am Post subject: |
|
|
| Quote: | Please explain what you did and what fails; error messages would be lovely. Better: read 1st link of my sig to find lots of HowTos. Please ask if anything is unclear
Reinhard |
When I'm in cacti and I try to make graphics RRD TOOL show me a message.
RRD Tool says:
/var/www/html/cacti2/rra/"name of host" :no such file or directory |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Wed Jul 09, 2008 8:54 am Post subject: |
|
|
There are multiple reasons for this. Mostly, the "downed host detection" for that host failed. This is a "per host" setting. E.g. if you selected PING method and are not running as root, ping will fail (always fails due to lack of permissions) and no rrd files will be created.
Please see debugging procedure at 2nd link of my sig
Reinhard |
|
| Back to top |
|
 |
Thjom jong
Joined: 08 Jul 2008 Posts: 6
|
Posted: Wed Jul 09, 2008 9:30 am Post subject: |
|
|
I post graph debug mode log
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Questo รจ un device di prova - Logged in Users" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti2/rra/questo_un_device_di_prova_cpu_system_28.rrd":cpu_system:AVERAGE \
DEF:b="/var/www/html/cacti2/rra/questo_un_device_di_prova_cpu_user_29.rrd":cpu_user:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
CDEF:cdefi=a,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: opening '/var/www/html/cacti2/rra/questo_un_device_di_prova_cpu_system_28.rrd': No such file or directory |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Wed Jul 09, 2008 9:37 am Post subject: |
|
|
Unfortunately, that's no news. Please see poller debug log (file cacti.log) to find out, whether the poller detected that host as "down" during polling
Reinhard |
|
| Back to top |
|
 |
Thjom jong
Joined: 08 Jul 2008 Posts: 6
|
Posted: Wed Jul 09, 2008 9:48 am Post subject: |
|
|
| gandalf wrote: | Unfortunately, that's no news. Please see poller debug log (file cacti.log) to find out, whether the poller detected that host as "down" during polling
Reinhard |
I found a cacti.log (3.2 Mb)
I started to read it, but the only things that I found are many warnings.
For example Warning:udp ping error: gethostbyname failed for hostname |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Thu Jul 10, 2008 9:05 am Post subject: |
|
|
Those errors are bad. But you may simple try to run cmd.php or better spine against a single host only to keep logs at bay.
I'm quite sure, if gethostbyname fails, cacti will see the host as "unreachable" and will neither poll nor create an rrd file
Reinhard |
|
| Back to top |
|
 |
Thjom jong
Joined: 08 Jul 2008 Posts: 6
|
Posted: Tue Jul 29, 2008 4:49 am Post subject: |
|
|
| gandalf wrote: | Those errors are bad. But you may simple try to run cmd.php or better spine against a single host only to keep logs at bay.
I'm quite sure, if gethostbyname fails, cacti will see the host as "unreachable" and will neither poll nor create an rrd file
Reinhard |
Hi,
I have installed Debian instead of Fedora because Cacti didn't show me any type of graphs.
Now Cacti show me a lot of graphs.
Now I googled to find canopy templates for Cacti-0.8.6i but I have found nothing
Is there a way to download it?
Thank you |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Mon Aug 11, 2008 2:18 pm Post subject: |
|
|
There are templates, but perhaps not for 086i (I created some of them on my own, lately)
Reinhard |
|
| Back to top |
|
 |
|