Bug #32237 Agent does not detect multiple IP addresses on single interface
Submitted: 9 Nov 2007 15:59
Reporter: Domas Mituzas Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S3 (Non-critical)
Version:1.2.0.7879 OS:Linux
Assigned to: Assigned Account CPU Architecture:Any

[9 Nov 2007 15:59] Domas Mituzas
Description:
Agent does not detect multiple IP addresses per interface. 

Though it supports eth0:0,eth0:1 aliases, virtual IPs added directly with 'ip' command are not seen. 
In this case: 

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:1c:42:bb:19:93 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.130/24 brd 192.168.1.255 scope global eth0
    inet 192.168.5.130/24 brd 192.168.5.255 scope global eth0:0
    inet 192.168.6.130/32 scope global eth0
    inet6 fe80::21c:42ff:febb:1993/64 scope link 
       valid_lft forever preferred_lft forever

Monitoring would report IPs as:
eth0: 192.168.1.130
eth0:0: 192.168.5.130

How to repeat:
ip addr add a.b.c.d dev eth0
ip addr list

restart agent

Suggested fix:
use proper IP listing, instead of address-per-interface
[23 Oct 2009 16:04] Enterprise Tools JIRA Robot
Mark Leith writes: 
This is a SIGAR issue, and seems to be a feature request. Need to check with Hyperic on whether this is possible to implement or not.