Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Dan Bunyard - Traffic - 10.37.58.80 (Intel(R) PRO/10)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/dan_bunyard_traffic_in_490.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/dan_bunyard_traffic_in_490.rrd":traffic_out:AVERAGE \
DEF:c="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":AlignmentErrors:AVERAGE \
DEF:d="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":CarrierSenseErrors:AVERAGE \
DEF:e="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":DeferredTrans:AVERAGE \
DEF:f="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":ExcessiveCollision:AVERAGE \
DEF:g="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":FCSErrors:AVERAGE \
DEF:h="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":FrameTooLongs:AVERAGE \
DEF:i="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":MultipleCollFrames:AVERAGE \
DEF:j="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":SingleCollisionFra:AVERAGE \
DEF:ba="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":SQETestErrors:AVERAGE \
DEF:bb="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":LateCollisions:AVERAGE \
DEF:bc="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":IntMacReceiveErr:AVERAGE \
DEF:bd="/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd":IntMacTransmitErr:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefj=c,8,* \
CDEF:cdefba=b,8,*,-1,* \
CDEF:cdefbe=d,8,* \
CDEF:cdefbi=e,8,* \
CDEF:cdefcc=f,8,* \
CDEF:cdefcg=g,8,* \
CDEF:cdefda=h,8,* \
CDEF:cdefde=i,8,* \
CDEF:cdefdi=j,8,* \
CDEF:cdefec=ba,8,* \
CDEF:cdefeg=bb,8,* \
CDEF:cdeffa=bc,8,* \
CDEF:cdeffe=bd,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" \
LINE1:cdefa#000000FF:"" \
LINE2:cdefj#dd0000FF:"Alignment Errors" \
LINE1:cdefba#000000FF:"" \
GPRINT:cdefj:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefj:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefj:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefbe#FFFF00FF:"CarrierSenseErrors" \
GPRINT:cdefbe:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbe:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefbi#CDCFC4FF:"Deferred Transmissions" \
GPRINT:cdefbi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbi:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefcc#000000FF:"Excessive Collisions" \
GPRINT:cdefcc:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefcc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefcc:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefcg#FF897CFF:"FCS Errors" \
GPRINT:cdefcg:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefcg:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefcg:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefda#CCBB00FF:"FrameTooLongs" \
GPRINT:cdefda:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefda:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefda:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefde#008A77FF:"Multiple Collision Frames" \
GPRINT:cdefde:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefde:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefde:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefdi#00A0C1FF:"Single Collision Frames" \
GPRINT:cdefdi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefdi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefdi:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefec#0000FFFF:"SQE Test Errors" \
GPRINT:cdefec:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefec:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefec:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefeg#FAFD9EFF:"Late Collisons" \
GPRINT:bb:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefeg:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefeg:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdeffa#aaaa00FF:"Internal MACReceive Errors" \
GPRINT:cdeffa:LAST:" Current\:%8.2lf %s" \
GPRINT:bc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeffa:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdeffe#D8ACE0FF:"Internal MACTransmit Errors" \
GPRINT:cdeffe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeffe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeffe:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/dan_bunyard_intmacreceiveerr_491.rrd': No such file or directory
ThanksCacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - CMD.php
Server Info - Linux 2.6.27.12-170.2.5.fc10.i686
Web Server - Apache/2.2.10 (Fedora)
PHP - 5.2.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, SPL, shmop, standard, Reflection, posix, iconv, hash, gmp, gettext, ftp, filter, exif, date, curl, ctype, calendar, bz2, zlib, openssl, apache2handler, dbase, json, ldap, mbstring, mcrypt, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, zip
MySQL - 5.0.67
RRDTool - 1.3.4
SNMP - 5.4.2.1
Plugins
- Global Plugin Settings (settings - v0.5)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Network Discovery (discovery - v0.8.5)
Documents (docs - v0.1)
Host Info (hostinfo - v0.2)
Device Tracking (mactrack - v1.1)
Device Monitoring (monitor - v0.8.2)
Thresholds (thold - v0.4.1)