Cacti on Plesk server

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

Moderators: Developers, Moderators

Post Reply
Wimpi
Posts: 8
Joined: Sat Oct 14, 2006 5:44 am

Cacti on Plesk server

Post by Wimpi »

Hello,

I've got a Redhat ES4 with Plesk server.

Is it possible to run Cacti on a Plesk server?

I tried it but it doesn't work. When i want to add a device i get a snmp error.

Does someone has a manual or something like that?

Hope you can help me.
Wimpi
Posts: 8
Joined: Sat Oct 14, 2006 5:44 am

Post by Wimpi »

OK. I've got the snmp error fixed but now i get no images. In the cacti log it al seems fine:

----
01/04/2007 02:50:04 PM - SYSTEM STATS: Time:1.1148 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSource
s:7 RRDsProcessed:6
----

Does someone has an idea?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post a screenshot for the "Graphs" Tab
Reinhard
Wimpi
Posts: 8
Joined: Sat Oct 14, 2006 5:44 am

Post by Wimpi »

In the rra folder i see the .rrd files.

Here is the screenshot Graph Tab:
Attachments
cactigraphs.jpg
cactigraphs.jpg (53.15 KiB) Viewed 3026 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What happens, if you click the "weird graph"?
And please select one failing graph from graph management. Select DEBUG and post the whole rrdtool graph statement as well
Reinhard
Wimpi
Posts: 8
Joined: Sat Oct 14, 2006 5:44 am

Post by Wimpi »

When i click on it i get 4 same picture as the image.

When i do the debug mode i get the following:
----------
RRDTool Command:

/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Slang - Traffic - 47" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/var/www/vhosts/noc.netaffairs.nl/httpdocs/cacti/rra/slang_traffic_in_9.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/vhosts/noc.netaffairs.nl/httpdocs/cacti/rra/slang_traffic_in_9.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"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#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
------
arcthelab
Posts: 1
Joined: Wed May 09, 2007 11:50 pm

problem

Post by arcthelab »

I have this problem too. Any solution?

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

Post by gandalf »

Please run from cli

Code: Select all

/usr/local/rrdtool-1.2.15/bin/rrdtool graph /tmp/foo.png \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Slang - Traffic - 47" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/var/www/vhosts/noc.netaffairs.nl/httpdocs/cacti/rra/slang_traffic_in_9.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/vhosts/noc.netaffairs.nl/httpdocs/cacti/rra/slang_traffic_in_9.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"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#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes" 
Reinhard
edinandy
Posts: 1
Joined: Fri May 11, 2007 12:40 pm

Post by edinandy »

I had a similar problem that seemed to be caused by PHP safe mode being turned on in the Plesk control panel. I switched it off and now it seems to work fine.

Does Plesk need safe mode turned off?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests