New install on Arch linux, No graphs :(

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

Moderators: Developers, Moderators

Post Reply
Xarion
Posts: 32
Joined: Sat Nov 12, 2005 2:04 am

New install on Arch linux, No graphs :(

Post by Xarion »

Everything seems to be working find except for the graphing, rrdtool is installed (1.2.11)
I have something like
1) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [163 Items, 20 Rows]
so I imagine snmp isnt the problem

How can i enable degugging of the graphing functions etc? I seems to thing it might have something to do with permissions

oh yeah and poller is working fine..
[root@gateway ~]# su cactiuser
[cactiuser@gateway root]$ php /home/httpd/html/cacti/poller.php
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
11/12/2005 01:47:07 AM - SYSTEM STATS: Time: 1.0670 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 9, RRDs Processed 8

Thanx in advance:)
macdonaldc
Posts: 25
Joined: Thu Nov 10, 2005 12:00 am

Post by macdonaldc »

are you seeing the snmp quey in the log cache? sorry im a newbie and im trying to troubleshoot identical sitatution myself but on a SuSe install.

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

Re: New install on Arch linux, No graphs :(

Post by gandalf »

Xarion wrote:Everything seems to be working find except for the graphing, rrdtool is installed (1.2.11)
I have something like
1) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [163 Items, 20 Rows]
so I imagine snmp isnt the problem

How can i enable degugging of the graphing functions etc? I seems to thing it might have something to do with permissions

oh yeah and poller is working fine..
[root@gateway ~]# su cactiuser
[cactiuser@gateway root]$ php /home/httpd/html/cacti/poller.php
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
11/12/2005 01:47:07 AM - SYSTEM STATS: Time: 1.0670 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3, Data Sources 9, RRDs Processed 8

Thanx in advance:)
Please be more specific. You created a host entry (for what host?), and snmp is working (as your query above states). Did you Create Graphs for this Host? Which Graphs? Did you select the Graphs tab beneath the Console tab ot the top of the screen? What do you see?
Is your problem related to Graphs not being created at all or to not being displayed correctly?
Some screenshots may help
Reinhard
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What version of cacti?

What version of rrdtool?

Do you have your RRDTool version set correctly in your cacti settings?

Also, does the distro that you are using have SELinux enabled and enforced?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Xarion
Posts: 32
Joined: Sat Nov 12, 2005 2:04 am

reply

Post by Xarion »

I have created the graphs but where I would usually see the graph or a broken image ( when stats are still being colected) there is nothing it just has the heading. I have set the correct version in the setting page to 1.2.x for rrdtool
Attachments
img.jpg
img.jpg (21.06 KiB) Viewed 6237 times
Xarion
Posts: 32
Joined: Sat Nov 12, 2005 2:04 am

permissions

Post by Xarion »

Oh yeah and i have set the cacti directory and file permissions to 777 just incase and still no graphs.

Weird thing is that i have managed to get it working Fedora so this is really weird :(
Xarion
Posts: 32
Joined: Sat Nov 12, 2005 2:04 am

Post by Xarion »

rony wrote:What version of cacti?

What version of rrdtool?

Do you have your RRDTool version set correctly in your cacti settings?

Also, does the distro that you are using have SELinux enabled and enforced?
I'm not too sure about the SELinux? what is that?
Xarion
Posts: 32
Joined: Sat Nov 12, 2005 2:04 am

selinux

Post by Xarion »

i did a locate on selinux and found this, so i dont know if the os is using it?
[root@gateway ~]# locate selinux
/usr/include/linux/selinux_netlink.h
/usr/src/linux-2.6.10-ARCH/include/linux/selinux_netlink.h
/usr/src/linux-2.6.10-ARCH/security/selinux
/usr/src/linux-2.6.10-ARCH/security/selinux/Kconfig
ancery
Posts: 11
Joined: Thu Nov 03, 2005 4:43 am

Re: reply

Post by ancery »

Xarion wrote:I have created the graphs but where I would usually see the graph or a broken image ( when stats are still being colected) there is nothing it just has the heading. I have set the correct version in the setting page to 1.2.x for rrdtool
from the result there's no mistake, but from your graph we can see no graph, so i want to know do u add any graph or host to your graph tree, if u don't do that, there's certainly no graph shown...

i' sure~~~ 8)
Xarion
Posts: 32
Joined: Sat Nov 12, 2005 2:04 am

what i did

Post by Xarion »

ok lemme tell you what i did because there is a lot of confusion in my head.

1. first i created my device and it found snmp running on it.
2. i went to New graphs, selected my host, selected the adapter (VP1 - Virtual-PPP1) selected a graph type of In/Out Bytes and clicked create
3. Went to graph tree > default tree and clicked add
4. Selected Tree item type of graph
5. Selected Traffic - VP1
6. Clicked create
7. no graph, or even broken image

Is there something perhaps that i am not doing?

I am a little confused with templates, graphs, hosts which might be the problem here.

I did notice something strange tho.. under Graph Management.. check the attachment. there are 8 rows but none of them are showing???

Thanx :-) hope someone can help !
Attachments
grph.jpg
grph.jpg (14.68 KiB) Viewed 6159 times
Xarion
Posts: 32
Joined: Sat Nov 12, 2005 2:04 am

anyone?

Post by Xarion »

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

Re: selinux

Post by gandalf »

Xarion wrote:i did a locate on selinux and found this, so i dont know if the os is using it?
[root@gateway ~]# locate selinux
/usr/include/linux/selinux_netlink.h
/usr/src/linux-2.6.10-ARCH/include/linux/selinux_netlink.h
/usr/src/linux-2.6.10-ARCH/security/selinux
/usr/src/linux-2.6.10-ARCH/security/selinux/Kconfig
For SELinux, see http://forums.cacti.net/viewtopic.php?t=7759
Reinhard
kagoryu
Posts: 6
Joined: Thu Dec 08, 2005 4:29 am

Post by kagoryu »

same problem, im using RHEL3 AS.

no SELINUX installed.
Burnout
Posts: 29
Joined: Mon Nov 28, 2005 8:06 am

Post by Burnout »

Watch this topic http://forums.cacti.net/viewtopic.php?t=10616

I have a simlar problem. I can't find a solution.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What version of mysql are you running?

Btw, Version 5.0 is not supported at this time.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests