check_ifoperstatus.pl: add ifName search key option (#1407)

Cameron Moore notifications at github.com
Wed Mar 2 19:46:33 CET 2016


Dell's PowerConnect switches store the interface name (ie. Te1/0/1) in
ifName
and not in ifDescr, so doing `... -d Te1/0/1` doesn't work.  This commit
adds
a new `-N|--namekey` option that allows you to search against the ifName
field.
You can view, comment on, or merge this pull request online at:

  https://github.com/monitoring-plugins/monitoring-plugins/pull/1407

-- Commit Summary --

  * check_ifoperstatus.pl: add ifName search key option

-- File Changes --

    M plugins-scripts/check_ifoperstatus.pl (17)

-- Patch Links --

https://github.com/monitoring-plugins/monitoring-plugins/pull/1407.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1407.diff

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1407
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20160302/e724a90a/attachment.html>


More information about the Devel mailing list