Description of problem: ------------------------- For one of the nodes in my cluster, that was being monitored, a network interface was shown to be up even if it was actually disconnected. See below - ---------------------------------------------------------------------------- # ifconfig eth5 eth5 Link encap:Ethernet HWaddr 00:25:90:7C:2D:A5 inet addr:192.168.10.5 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Note: The IP address was assigned by running # ifconfig eth5 192.168.10.5 # ethtool eth5 Settings for eth5: Supported ports: [ TP ] Supported link modes: 100baseT/Full 1000baseT/Full 10000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 100baseT/Full 1000baseT/Full 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: Unknown! Duplex: Unknown! (255) Port: Twisted Pair PHYAD: 0 Transceiver: external Auto-negotiation: on MDI-X: Unknown Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: no The status of the interface should have been shown as down in the Nagios UI, but was shown as up. Version-Release number of selected component (if applicable): gluster-nagios-addons-0.1.4-1.el6rhs.x86_64 How reproducible: Saw it once. Steps to Reproduce: 1. Assign an IP address to an interface, which is actually disconnected, using ifconfig command. 2. Run the network utilization service for that node. Actual results: The network utilization service shows the interface to be up. Expected results: The interface should be shown as down. Additional info:
Currently we are handling only UNKNOWN or OK status for the network interface and the interface DOWN condition is not handled. However the plugin returns OK with out any perf data when the network is down. This will occurs only when the node has multiple interface.
upstream patch is under review at http://review.gluster.com/8111
(In reply to Shruti Sampat from comment #0) > Description of problem: > ------------------------- > > For one of the nodes in my cluster, that was being monitored, a network > interface was shown to be up even if it was actually disconnected. > > See below - > ---------------------------------------------------------------------------- > > # ifconfig eth5 > eth5 Link encap:Ethernet HWaddr 00:25:90:7C:2D:A5 > inet addr:192.168.10.5 Bcast:192.168.10.255 Mask:255.255.255.0 > UP BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > Note: The IP address was assigned by running # ifconfig eth5 192.168.10.5 > > # ethtool eth5 > Settings for eth5: > Supported ports: [ TP ] > Supported link modes: 100baseT/Full > 1000baseT/Full > 10000baseT/Full > Supported pause frame use: No > Supports auto-negotiation: Yes > Advertised link modes: 100baseT/Full > 1000baseT/Full > 10000baseT/Full > Advertised pause frame use: No > Advertised auto-negotiation: Yes > Speed: Unknown! > Duplex: Unknown! (255) > Port: Twisted Pair > PHYAD: 0 > Transceiver: external > Auto-negotiation: on > MDI-X: Unknown > Supports Wake-on: d > Wake-on: d > Current message level: 0x00000007 (7) > drv probe link > Link detected: no > > > The status of the interface should have been shown as down in the Nagios UI, > but was shown as up. > > Version-Release number of selected component (if applicable): > gluster-nagios-addons-0.1.4-1.el6rhs.x86_64 > > How reproducible: > Saw it once. > > Steps to Reproduce: > 1. Assign an IP address to an interface, which is actually disconnected, > using ifconfig command. > 2. Run the network utilization service for that node. > > Actual results: > The network utilization service shows the interface to be up. > > Expected results: > The interface should be shown as down. > > Additional info: Currently the plugin check the interface status locally (in the server itself not thru remotly) and returns the status. If you assign any ip to an interface, you can also ping the ip locally. Please let me know whether you are able to ping the ip locally which you have assigned.
(In reply to Timothy Asir from comment #4) > > > Currently the plugin check the interface status locally (in the server > itself not thru remotly) and returns the status. If you assign any ip to an > interface, you can also ping the ip locally. Please let me know whether you > are able to ping the ip locally which you have assigned. Timothy, I am able to ping the IP address that I assigned locally to interface eth1. Let me know if you need more information.
Patch sent to downsteam: https://code.engineering.redhat.com/gerrit/#/c/41585/ https://code.engineering.redhat.com/gerrit/#/c/41586/
Verified as fixed in gluster-nagios-addons-0.1.15-1.el6rhs.x86_64 Disconnected network interface is now shown as DOWN by Nagios.
Please add doc text.
Please review and sign-off edited doc text.
It looks good to me!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0681.html