On Tue, 24 Jul 2018 11:04:58 +0200 Fabrice Bacchella <fabrice.bacche...@orange.fr> wrote:
> To monitoring the network interfaces, I have a script that check if > ifAdminStatus and ifOperStatus values matches in snmp. > > But with oVirt it fails on a server with 4 physical interfaces, but > only two connected, and return an error: > You want that eth0 and eth1 are UP, and eth2 and eth3 are DOWN? > snmptable XXX IF-MIB::ifTable | less > SNMP table: IF-MIB::ifTable > > ifIndex ifDescr ifAdminStatus ifOperStatus > 1 lo up up > 2 eth0 up up > 3 eth1 up up > 4 eth2 up down > 5 eth3 up down > 24 ;vdsmdummy; down down > 25 vnet0 up up > > > And indeed on the server: > > ip link show eth2 > 4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state > DOWN mode DEFAULT group default qlen 1000 link/ether > 40:a8:f0:30:81:1a brd ff:ff:ff:ff:ff:ff > looks like eth2 is DOWN, as expected. > > It's up, but I don't configured it on oVirt, removed ifcg-eth2. Is > there a way to disable it ? eth2 seems to be in state DOWN, which seems to be reflected in ifOperStatus. Is the issue that ifAdminStatus is up for eth2 and eth3, but you want it to be down? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/6UT2T3IFNWUFMOWHKK6LZRQOZHJ5HOXI/