Forum Discussion
JRahm
Admin
Feb 20, 2008Cacti 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.
31 Replies
- JRahm
Admin
Like I said, I'm not a cacti expert, you'll need to post this question to the cacti forums. - JRahm
Admin
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 :-) - Omar_68835
Nimbostratus
haha, ok then... Tell me what CDEFs you are using for the graphs? Thanks - JRahm
Admin
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 - JRahm
Admin
Deb posted a spreadsheet a while back with all the oid goodies, I'll see if I can track that down today - Hamish
Cirrocumulus
Doh! The cacti appliance only has version 0.8.6j... - Hamish
Cirrocumulus
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 - JRahm
Admin
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? - Omar_68835
Nimbostratus
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 - JRahm
Admin
I created the template in 0.8.7a
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
