check_ifoperstatus.pl: add ifName search key option (#1407)
Cameron Moore <[email protected]> Wed, 02 Mar 2016 10:46:33 -0800
| Newsgroups | gmane.network.nagios.devel |
|---|---|
| Message-ID | <monitoring-plugins/monitoring-plugins/pull/[email protected]> |
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