Cacti issue


 
Thread Tools Search this Thread
Operating Systems Linux Cacti issue
# 1  
Old 06-06-2008
Cacti issue

Hi all,

I am having issue with cacti graph.

Cacti is installed and configured with out any issues.

I am trying to create apache graphs for one machine running apache.

1) Apache statistics Hit/per sec
2) Apache Statistics KBits/sec
3) Apache Statistics Thread Details
and
4) Apache Statistics Bytes/Request

All three graphs working really fine but 4) Apache Statistics Bytes/Request not working (Broken Graph)

Here is the Error I am getting.

Code:
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Mccauley - Apache Statistics - Bytes / Request" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes / hit" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/home/cacti/cacti-0.8.7a/rra/mccauley_apache_idle_workers_1395.rrd":apache_total_kbytes:AVERAGE \
DEF:b="/home/cacti/cacti-0.8.7a/rra/mccauley_apache_idle_workers_1691.rrd":apache_total_hits:AVERAGE \
CDEF:cdefb=b,UN,0,b,100000,GT,0,b,IF,IF \
CDEF:cdefd=cdefb,0,EQ,0,cdefa,1024,*,cdefb,/,IF,0,1000000,LIMIT \
CDEF:cdefg=a,0,0,LIMIT \
CDEF:cdefh=b,0,0,LIMIT \
AREA:a#FFF200FF:""  \
 \
 \
GPRINT:cdefd:LAST:"      Current\:%8.2lf %s"  \
GPRINT:cdefd:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefg:"kBytes"  \
LINE2:cdefh:"Hits"  \
COMMENT:"                            Represents the number of bytes per hit\n"  \
COMMENT:"                                 ApacheStats v0.4 - Rolf Poser\n" 
RRDTool Says:

ERROR: invalid rpn expression in: cdefb,0,EQ,0,cdefa,1024,*,cdefb,/,IF,0,1000000,LIMIT

Can anyone help me how to fix?
thanks,
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Red Hat

Do not show graphs cacti

hi installed caci and Snmp connection is established 10.10 (192.168.10.10) SNMP Information System:Hardware: Intel64 Family 6 Model 23 Stepping 6 AT/AT COMPATIBLE - Software: Windows Version 6.1 (Build 7601 Multiprocessor Free) Uptime: 7550665 (0 days,... (2 Replies)
Discussion started by: mnnn
2 Replies

2. Infrastructure Monitoring

Cacti + MRTG + Nagios

hello all, could you please tell me how much time it will take setting up (for the first time) : MRTG, Cacti and Nagios on a network with ~25 routers and ~50 switches ? i am a bit familiar with perl and shell scripting. thanx in advance (3 Replies)
Discussion started by: OneDreamCloser
3 Replies

3. UNIX and Linux Applications

Cacti running on Fedora 13

Hi All, I have recently installed Cacti on a Fedora 13 machine and have followed all the steps the Cacti manual has given me: Install and Configure Cacti To my knowledge I have installed everything correctly and it should be working. However when i access localhost/cacti I get the... (0 Replies)
Discussion started by: chrisnoon
0 Replies

4. UNIX and Linux Applications

Cacti Getting Error

Dear Expert, I just succesfully installed cacti for monitoring my all of device in my office. But i got the strange, when i was pointing to the browser to run cacti there is a message like this. Invalid PHP_SELF Path What happen on my cacti configuration. Thanxs for your suggestion... (2 Replies)
Discussion started by: tpx99
2 Replies
Login or Register to Ask a Question