#123 Selectable behaviour for Admin Down in check_ifoperstatus

closed-accepted
Matthew Kent
3
2004-12-07
2004-08-19
Raúl Pedroche
No

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).

Discussion

  • Raúl Pedroche
    Raúl Pedroche
    2004-08-19

    Patch for check_ifoperstatus.pl

     
  • Raúl Pedroche
    Raúl Pedroche
    2004-08-19

    • priority: 5 --> 3
     
  • Matthew Kent
    Matthew Kent
    2004-12-07

    • status: open --> closed
     
  • Matthew Kent
    Matthew Kent
    2004-12-07

    • assigned_to: nobody --> mattkent
    • status: closed --> closed-accepted
     
  • Matthew Kent
    Matthew Kent
    2004-12-07

    Logged In: YES
    user_id=983566

    Looks good, applied in cvs HEAD. Thanks!