Forum Discussion
Vincent_Malguy_
Nimbostratus
Oct 11, 2007snmp pool monitoring
Hi,
I am playing with snmp inside a perl script. Thank for the file MIB_deconstructed that help a lot.
Still, I have some questions :
1-Does someone have a perl fonction to print the ip in hexa format (for exemple , the result of the iod .1.3.6.1.4.1.3375.2.2.10.1.2.1.3.4.86.73.80.49
2-Does someone have a perl function/table to print in humanreadable what is return in the ltmPoolLBMode (iod : .1.3.6.1.4.1.3375.2.2.5.1.2.1.2.10.116.101.115.116.95.114.97.116.105.111
) ?
3-Does someone have "a way" to get the member that are inside a pool ?
Regards,
F5 PC certified,
Vincent.
2 Replies
- Vincent_Malguy_
Nimbostratus
the first question is anwsered :
@IP = split "", $polled_oids->{$vs_ip};
print hex ($IP[2].$IP[3]).".".hex ($IP[4].$IP[5]).".".hex ($IP[6].$IP[7]).".".hex ($IP[8].$IP[9]); - Deb_Allen_18Historic F5 Accountfor 1 & 2:
I think what you are looking for here is "snmptranslate" which is one of the utilities included with the snmp distribution. See Jeff's first comment at the end of the SNMP MIB article for a few more details: Click here
Pool members roll up under the pool OID, will look it up & post back when I get back to a workstation w/Excel.
HTH
/deb
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
