Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[XML] Template for Cisco Memory Graphs

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Karlg



Joined: 03 Dec 2003
Posts: 1

PostPosted: Fri Dec 05, 2003 1:40 pm    Post subject: [XML] Template for Cisco Memory Graphs Reply with quote

I added this to my cisco Host template and running it on 40+ cisco switches. Fairly useful if you want to monitor your switch memory usage. And pretty too.


cacti_graph_template_cisco_memory_usage.xml
 Description:
XML Template for Cisco Memory Graphs

Download
 Filename:  cacti_graph_template_cisco_memory_usage.xml
 Filesize:  20.69 KB
 Downloaded:  1883 Time(s)

Back to top
roddie
Cacti User


Joined: 10 Feb 2004
Posts: 98
Location: Frisco, TX

PostPosted: Fri May 07, 2004 8:36 am    Post subject: Reply with quote

Thanks for the addon.

It seemed to install well, but for some reason, the graphs don't draw. It's like it is trying but can't get anywhere.

I'm running cacti 0.8.5a, and everything else I graph (frame PVCs, CPU, etc.) work fine.

Thanks for any tips!

Roddie
Back to top
roddie
Cacti User


Joined: 10 Feb 2004
Posts: 98
Location: Frisco, TX

PostPosted: Fri May 07, 2004 4:32 pm    Post subject: Reply with quote

I figured I better provide some more info in case someone out there not familiar with the template has any ideas. The graph just doesn't draw, though it tried - I can see on the server the rrdtool processes running, but nothing shows up on the screen.

Here's the "Source" from one of the graphs, maybe someone can spot something that I'm missing.

Code:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Los Angeles POP Router - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="Bytes" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/los_angeles_pop_router_io_memory_used_238.rrd":io_memory_used:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti/rra/los_angeles_pop_router_proc_memory_used_240.rrd":proc_memory_used:AVERAGE \
DEF:c="/usr/local/apache/htdocs/cacti/rra/los_angeles_pop_router_io_memory_free_237.rrd":io_memory_free:AVERAGE \
DEF:d="/usr/local/apache/htdocs/cacti/rra/los_angeles_pop_router_proc_memory_free_239.rrd":proc_memory_free:AVERAGE \
AREA:a#005D57:"IO - Used"  \
GPRINT:a:LAST:"       Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
STACK:b#00BBB4:"Proc - Used"  \
GPRINT:b:LAST:"     Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"  \
STACK:c#D8ACE0:"IO - Free"  \
GPRINT:c:LAST:"       Current\:%8.2lf %s"  \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:c:MAX:"Maximum\:%8.2lf %s\n"  \
STACK:d#D2D8F9:"Processor - Free"  \
GPRINT:d:LAST:"Current\:%8.2lf %s"  \
GPRINT:d:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:d:MAX:"Maximum\:%8.2lf %s\n"
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group