Forum Discussion
wilcdr
Oct 18, 2016Nimbostratus
Making SNMP queries in iRules
From other questions people have asked, it looks like there is no built-in command for SNMP queries that you can make from iRules. Is that still true (running LTM 11.6)?
If that is not possible...
- Feb 08, 2023
Running an periodic iCall Job in the Config-Plane to query SNMP and write results to a DG would be a much easier and elegant alternative. No? Dealing with ASN1-BER in iRules isn't much fun... 🙂
Cheers, Kai
LiefZimmerman : Good to see that the ordering in DevCentral has finally been changed, so that we can see if something gets added to rather old questions. Thanks!
VernonWells
Oct 18, 2016Employee
You cannot use an external Tcl package in iRules. You can manually construct SNMP requests and responses using
binary format
and binary scan
, or you can use iRulesLX and perform the query using node.js. However, as 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