No graphs generated

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

nicodobrazil wrote:hello

I've got a problem with cacti. My graphs don't appear. I just see the tittle of the graph, with a link, but not the graph itself and even less the background or the tally.
A screenshot would help
One thing is weird too. After having create a device, my cacti doesn't see their state, their state is always Unknown.
What cacti version and what settings of "Downed Host Detection"?
and last point (but not the least) I don't see snmp request with ethereal on my pc, ,but my snmpd is enable and my pc answers to snmp request (for example a snmpwalk request )

[My configuration is php5 and the last cacti. ]

Thanks for your help

-Nico-
You won't need even snmpd to be started to gather data. SNMP client is needed only (unless you want to request data from localhost, of course). Are you gathering data for remote hosts when capturing with ethereal/wireshark?
Reinhard
nicodobrazil
Posts: 5
Joined: Wed Nov 29, 2006 5:41 am

Post by nicodobrazil »

I think I have identified my problem.
In fact, I've seen that I haven't got any rrd files created. I don't know how fix it.

when I list the directory /var/lib/cacti/rra, thre is nothing
root@cacti-desktop:/var/lib/cacti/rra# ll
total 0


I remember that when my cacti worked properly, the answer was :
root@cacti-desktop:/var/lib/cacti/rra# ll
total 816
-rw-r--r-- 1 www-data www-data 141488 2006-12-05 14:55 localhost_load_1min_5.rrd-rw-r--r-- 1 www-data www-data 47840 2006-12-05 14:55 localhost_mem_buffers_3.rrd
-rw-r--r-- 1 www-data www-data 47840 2006-12-05 14:55 localhost_mem_swap_4.rrd
-rw-r--r-- 1 www-data www-data 47840 2006-12-05 14:55 localhost_proc_7.rrd
-rw-r--r-- 1 www-data www-data 47840 2006-12-05 14:55 localhost_users_6.rrd
-rw-r--r-- 1 www-data www-data 141488 2006-12-05 14:55 paramreseau_load_1min_15.rrd
-rw-r--r-- 1 www-data www-data 47840 2006-12-05 14:55 paramreseau_mem_buffers_13.rrd
-rw-r--r-- 1 www-data www-data 47840 2006-12-05 14:55 paramreseau_mem_swap_14.rrd
-rw-r--r-- 1 www-data www-data 47840 2006-12-05 14:55 paramreseau_users_16.rrd
-rw-r--r-- 1 www-data www-data 141488 2006-12-05 14:55 pc_nico_load_1min_8.rrd
-rw-r--r-- 1 www-data www-data 47840 2006-12-05 14:55 pc_nico_users_9.rrd


I used to see my machines

gandalf wrote
A screenshot would help
I join a screenshot. i don't know if it will be useful. we just see the title of the graph but not the graph itself.
(cacti version 0.8.6h)

Thanks for your help

-Nico-
Attachments
Capture-1.png
Capture-1.png (101.54 KiB) Viewed 1006 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Ok, in this case
- check permissions on /rra (as stated in the installation manual)
- check, whether crontab runs the cacti poller
- check /log/cacti.log when running in DEBUG mode
- have a look at my "NaN Debugging" howto for more tips and tricks
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests