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:
Category:MySQL Enterprise Monitor: Agent Severity:S3 (Non-critical)
Version: OS:Linux
Assigned to: Assigned Account CPU Architecture:Any

[9 Nov 2007 15:59] Domas Mituzas
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 brd scope global eth0
    inet brd scope global eth0:0
    inet scope global eth0
    inet6 fe80::21c:42ff:febb:1993/64 scope link 
       valid_lft forever preferred_lft forever

Monitoring would report IPs as:

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.