Forum Discussion
Angel_Lopez_116
Apr 01, 2014Altostratus
Exec of awk to return value of custom snmp oid
Hi,
I've defined a custom oid in /config/snmp/custom_mib.tcl as follows:
register_mib ".1" limitconn GAUGE
proc limitconn {}
{
set status [catch {exec tail -1 /var/log/irule_limitconn ...
chris01_159200
Jun 10, 2014Nimbostratus
Were you ever able to get this script working from anything other than the command line? I've had difficulty using awk as well in 11.4 as it seems the bash interpreter has problems with this command running as a script.
I have verified this with support but have yet to see a solution or "feature request" to resolve it. The only suggestion was to embed the commands and call it like an alias, but this only proceeded to take down my appliance and required a physical power cycle of the unit. :(
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