Forum Discussion
Terje_Gravvold
Nimbostratus
Aug 20, 2007Graphing BigIP v9.x SNMP statistics with Cacti
In conjunction with the latter posts on SNMP mibs and SNMP monitoring on BigIP I want to do my small contribution. A while ago I spent some late hours to dig into the SNMP mibs of BigIP, my goal was to make graphs of BigIP internals in Cacti.
What's Cacti you wonder (www.cacti.net):
acti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.
In other words, just the ting I need to make graphs on a budget! So what I've made is a set of templates that could easily be imported into Cacti for BigIP graphing fun...
Heres that the template currently provides:
- F5 BigIP - Chassis Temperature
- F5 BigIP - Global Connections
- F5 BigIP - Global HTTP 2xx/3xx Responses
- F5 BigIP - Global HTTP Requests
- F5 BigIP - Global HTTP Response Errors
- F5 BigIP - Global HTTP Responses
- F5 BigIP - Global packets/sec
- F5 BigIP - Interface Errors/Drops/Collisions
- F5 BigIP - Interface Traffic (bits/sec)
- F5 BigIP - SSL TPS
- F5 BigIP - TMM memory
- F5 BigIP - VS Connection Rate
- F5 BigIP - VS Connections
- F5 BigIP - VS Traffic (bits/sec)
And here is the link for those of you that got curious:
Click here
So why do I bother you with this SPAM?
1. I want to do my duty and contribute something back to F5 who has "given" me this fantastic product...
2. I want to see if I could get some smart brains on this forum to contribute additions to the template to get it complete. I'm, a) to lasy to do the work my selves, b) Don't have the time, your choise. Either way. take a look at Cacti and this template if you have the time...
Hint: iRules in combination with this template seems temptating to me :-)
Best regards
Terje Gravvold
33 Replies
- Deb_Allen_18Historic F5 AccountHi Terje --
That's an impressive contribution -- thanks for sharing with the community!
Can you elaborate on your comment re: using the template with iRules?
thanks again!
/deb - Gary_T_31565
Nimbostratus
Terje,
Hi I have read your info with interest. Shame I do not use cacti. What caught my eye was - "- F5 BigIP - Global HTTP Response Errors"
I do not understand the cacti xml files. Read yours and it seems the OIDs are replaced with a hashed number.
I am keen on monitoring 500 errors on our B2B (web services) virtual servers. 500 indicates bad or looping orders.
Can I really monitor server side 500 (and 3/400s) on my LTM v9? Or this for GTM?
If so could you indicate where. I walked (getif) the MIBS but can not find them.
Thanks
Gary - JRahm
Admin
if you walk this oid on your LTM, you'll find all kinds of great information:
snmpwalk -v 2c -c snmp_community localhost .1.3.6.1.4.1.3375.2.1.1.2.4
You are looking for this:
sysHttpStatResp5xxCnt, the oid is .1.3.6.1.4.1.3375.2.1.1.2.4.6.0
The template in use (thanks Terje!) looks like this: - JRahm
Admin
Sorry, missed the 3xx/4xx request (plus version reqeusts/responses as well):
sysHttpStatResp2xxCnt, .1.3.6.1.4.1.3375.2.1.1.2.4.3.0
sysHttpStatResp3xxCnt, .1.3.6.1.4.1.3375.2.1.1.2.4.4.0
sysHttpStatResp4xxCnt, .1.3.6.1.4.1.3375.2.1.1.2.4.5.0
sysHttpStatResp5xxCnt, .1.3.6.1.4.1.3375.2.1.1.2.4.6.0
sysHttpStatNumberReqs, .1.3.6.1.4.1.3375.2.1.1.2.4.7.0
sysHttpStatPostReqs, .1.3.6.1.4.1.3375.2.1.1.2.4.8.0
sysHttpStatV9Reqs, .1.3.6.1.4.1.3375.2.1.1.2.4.9.0
sysHttpStatV10Reqs, .1.3.6.1.4.1.3375.2.1.1.2.4.10.0
sysHttpStatV11Reqs, .1.3.6.1.4.1.3375.2.1.1.2.4.11.0
sysHttpStatV9Resp, .1.3.6.1.4.1.3375.2.1.1.2.4.12.0
sysHttpStatV10Resp, .1.3.6.1.4.1.3375.2.1.1.2.4.13.0
sysHttpStatV11Resp, .1.3.6.1.4.1.3375.2.1.1.2.4.14.0 - jacob900_39797
Nimbostratus
citizen_elah,
Is that template anything you could share by chance?
Like the previous user, I've had a heck of time trying to understand the XML files and perl in the background. My goal was to get a decent XML template and then eventually add Client SSL Profile stats to it but I'm pretty frustrated at the moment with the original template(s) availalbe out there. I get really mixed/sporadic results on my 6400 boxes running 9.4.3 and 9.3.0 code.
thank you,
jay - jctx09@yahoo.com - JRahm
Admin
I am running 9.1.2 & 9.4.3 and the template below works well for me:
http://devcentral.f5.com/downloads/techtips/F5_v9_host_template.zip
Click here
If you want a step-through, I posted an article on this:
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=136
Click here - JRahm
Admin
BTW, I haven't done anything with the SSL, so I'm not sure that part of the template works. I concur with your frustration with the XML, I don't get it either. I am quite the hunt and peck hack with most things, to which I am so grateful for communities like this that distribute the knowledge base. - jacob900_39797
Nimbostratus
citizen_elah,
Thank you very much for the contribution. I wanted to get clarification one last thing.
Does your template include everything the original one (from Cacti) did expect that you added the correct TMM CPU utilization script? It looks like it but I wanted to make sure.
Thank you,
Jay - JRahm
Admin
I don't think I removed anything. - steve_111974
Nimbostratus
Hi, I've been searching through the articles and havent found out how to fix the vs connection and interface stats. i get broke image icon in the graphs. Can someone help?
thanks so much!
Steve
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
