diff --git a/check_junos_vc.pl b/check_junos_vc.pl index 6350a83..23e67ad 100755 --- a/check_junos_vc.pl +++ b/check_junos_vc.pl @@ -812,7 +812,7 @@ sub get_iface_name sub get_iface_status { my $iface = shift; - return get_obj_element($iface, 'admin-status'); + return get_obj_element($iface, 'oper-status'); } sub verbose