Sponsored Content
Full Discussion: Cacti issue
Operating Systems Linux Cacti issue Post 302203103 by email-lalit on Friday 6th of June 2008 01:43:47 PM
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,
 

4 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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
apache(1M)                                                System Administration Commands                                                apache(1M)

NAME
apache - Apache hypertext transfer protocol server overview DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta- tion. FILES
The apache HTTPD server is integrated with Solaris. The following files specify the installation locations for apache: /etc/apache Contains server configuration files. A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example to the httpd.conf file and making local configuration adjustments. /usr/apache/bin Contains the httpd executable as well as other utility programs. /usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test page that gets installed upon fresh installation. /usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8) /usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the url: file:/usr/apache/jserv/docs/index.html /usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied into this directory. /usr/apache/man Contains man pages for the server, utility programs, and mod_perl. Add this directory to your MANPATH to read the Apache man pages. See NOTES. /usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache. /var/apache/cgi-bin Default location for the CGI scripts. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/htdocs Default document root. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/icons Icons used by the server. This normally shouldn't need to be changed. /var/apache/logs Contains server log files. The formats, names, and locations of the files in this directory can be altered by various configuration directives in the httpd.conf file. /var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file. The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWapchr | +-----------------------------+-----------------------------+ | |SUNWapchu | +-----------------------------+-----------------------------+ | |SUNWapchd | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) http://www.apache.org NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add /usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is not supported. SunOS 5.10 8 Aug 2000 apache(1M)
All times are GMT -4. The time now is 01:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy