Forum Discussion
Angel_Lopez_116
Altostratus
Apr 01, 2014Exec 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
Nimbostratus
Jun 10, 2014Actually in my situation it wasn't a problem with awk, instead the bash interpreter did not like any quotes when used with part of a grep statement. Have you tried not escaping the single quotes to see if the command runs properly?
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