I have modified check_ifoperstatus to allow selecting
the status for interfaces with ifAdminStatus = 2
(down), just like it can already be done with
interfaces with ifOperStatus = 5 (dormant).
I find it quite useful to be able to specify Ignore in
hosts with a lot of interfaces that are
enabled/disabled commonly, like Ethernet switches.
I have also fixed a small bug that outputted "WARNNG"
instead of "WARNING" for dormant interfaces (without -w
or with -w w).