Forum Discussion
Gorf_112484
Oct 13, 2010Nimbostratus
little confusion on trying to get snmp working for some mrtg graphs
I've already started some talk with Support, but in the mean time I thought I would reach out to the community in hopes that my problems are PEBKAC in nature and someone could set me on the straight and narrow.
I've got SNMP working on my LTM1600 cluster, but for some reason I am having a heck of a time getting the counters that I want.
On the local LTM itself I can run this command all day long:
snmpwalk -v2c -c wm-prod-lb-ro localhost ltmVirtualServStatClientBytesIn.\"my_vip_name\"
and I get the counters that I expect. But if I do it from a remote location:
snmpwalk -v2c -c wm-prod-lb-ro lb1manage ltmVirtualServStatClientBytesIn.\"my_vip_name\"
ltmVirtualServStatClientBytesIn."my_vip_name": Unknown Object Identifier (Sub-id not found: (top) -> ltmVirtualServStatClientBytesIn)
This is all after reading the configuration and managment doc in the KB for my version (9.4.7) in chapter 15 on setting up SNMP. I think I am missing something to do with the MIB files that you download from within the GUI on the LTM. Am I suppose to do something with them? Do they cause snmpwalk to recognize the "ltmVirtualServStatClientBytesIn"? My remote client is CentOS so I have net-snmp and mrtg installed out of Yum.
If anyone has any thoughts on this, it would be greatly appreciated.
Thanks!
- hooleylistCirrostratusHi Gorf,
- Gorf_112484NimbostratusOops that was odd. Ok updated with the bbcode block. Something about my browser not being able to paste rich text format? LOL well fixed now...
- Gorf_112484NimbostratusOk I resolved the first issue. The problem was that my client, by default, did not include a pre-configured snmp.conf file in /etc/snmp. I create it and added just the two lines:
mibdirs /usr/share/snmp/mibs mibs +ALL
snmpget -On -v2c -c wm-prod-lb-ro 10.1.0.5 ltmVirtualServStatClientBytesOut.\"my_vip\"
Target[forum]: ltmVirtualServStatClientBytesOut.my_vip<mVirtualServStatClientBytesIn.my_vip:wm-prod-lb-ro@10.1.0.5:
- hwidjaja_37598AltostratusCan you try any of these:
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