ssinyagin/gerty — Issue #3: feature request: generic exclusion regex for plugins
Author: cbueche
Created: 2012-03-07 13:00:56+00:00
State: open

I see the Gerty.CiscoIOS, Gerty.CiscoLike having the regex exclusion "ntp-clock-period.regexp". However, as far as I understand, there is no facility to exclude strings from other commands. I tried this :

ios.sh-version.command = show version
ios.sh-version.exclude = uptime
uptime.regexp = uptime\s+is

but gerty doesn't use my regex and doesn't filter out my "uptime" string.

Feature request : a plugin having the possibility of post-processing output of previous commands would be extremely useful.

* simple cases : do a regex like above
* extreme cases, forking an external shell command used as filter.