Cacti template for GTM

Here’s my first crack at a template for GTM (included in the archive is also the LTM template). Note that you will need to have at least 0.8.7a installed to import the templates.

You’ll notice that the global DNS graphs are line based and the wideIP graphs are stacked. There’s no reason, I just haven’t decided which I like better, so if you want to make them consistent this is done in the graph template.

rename to zip file…

to get cacti installed, did you have to install anything else on your bigip? or just download install install cacti straight on?

I would not recommend installing cacti on your F5 hardware. I installed on a old PC that is running freeBSD.

Here’s the original article with the implementation details: Click here

citizen_elah, thanks again for your contributions!

/deb

Hi

I have a question, have 9.4.3HF3 GTM and the oid

.1.3.6.1.4.1.3375.2.3.12.2.3.1.10 = No Such Object available on this agent at this OID

and in the .xml

Alternate

walk

value

output

.1.3.6.1.4.1.3375.2.3.12.2.3.1.6

Alternate is not into F5 MIBs only have .1 to .9 and not have Alternate data…is strange and .6 have Fallbak and so on.

You know for what reason Alternate data is not into mibs?

Hello,

i just got cacti running with help of this howto DevCentral - An F5 Technical Community

can i just add the templates here, or will break my setup?

For some reason I cant get a graph for the global VS statistiks, will this fiyx it?

thx

adding templates will not break what you already have.

That question would probably be better answered in the Cacti forums. I’m guessing that if your rate is less than 1/second and you don’t have a scaling setting set correctly that it averages you out and auto-scale prints the sub-one number. Remember that the rrd values are just stored data, the graphs utilize business rules (CDEF) to represent the delta’s for those values.

I’ve worked on this hours on end. No result yet. What are your scale settings and what CDEFs are you using for the graphs?

Currently, in the graph templates for the Global DNS and WIPs graphs all the items for CDEF are set to none.

Below are my current scaling settings.

Here is a sample of two graphs.

Like I said, I’m not a cacti expert, you’ll need to post this question to the cacti forums.

I guess I didn’t say that to you though. But I will now… I’m not a cacti expert!

Sorry I’m no help, I’m just a hack trying to make a living :slight_smile:

haha, ok then… Tell me what CDEFs you are using for the graphs? Thanks

For GTM, I don’t use any CDEFs. I’m not sure how to solve the problem, except to increase your DNS hit count… For testing, you could use this script (courtesy of F5) to generate queries:

!/bin/bash

Initialize Variables

COUNT=0

LOGEVERY=10

LOGCOUNT=0

Gather Test Data

echo -n 'Enter DNS Server IP addres: ’

read DNSIP

echo -n 'Enter FQDN for resolution: ’

read FQDN

echo -n 'Enter number of resolution attempts: ’

read LIMIT

echo -n 'Specify output file: ’

read OUTFILE

Check for $OUTPUT file exists, if the file exists and IS NOT empty

clear the file with cat /dev/null to empty it out.

if [ -s $OUTFILE ]

then

echo ‘Output file $OUTFILE exists and is NOT empty… Resetting file.’

sleep 1

cat /dev/null > $OUTFILE

fi

Dig Loop

while [ $COUNT -lt $LIMIT ]

do

dig +short @“$DNSIP” $FQDN A >> $OUTFILE

if [ $LOGCOUNT == $LOGEVERY ]

then

echo “DNS Requests sent: $COUNT”

LOGCOUNT=0

fi

COUNT=$(($COUNT+1))

LOGCOUNT=$((LOGCOUNT+1))

done

exit

Deb posted a spreadsheet a while back with all the oid goodies, I’ll see if I can track that down today

Doh! The cacti appliance only has version 0.8.6j…

Any chance you could export the XML for an older version of cacti? Or does it rely on something in the later 0.8.7 version?

TIA

I created the template on version 0.8.7a, you’ll need to be at that version unless anyone knows a way I can export generically?

Posted By citizen_elah on 07/31/2008 8:47 AM

Deb posted a spreadsheet a while back with all the oid goodies, I’ll see if I can track that down today

BINGO… Found it at: http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=84