BUG 'New' style interface names not recognised
On Centos 7, Xymon does not recognise interface names like p3p1, etc. This is the interface naming according to the 'Consistent Device Naming' standard ( http://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_... )
A simple fix would be to change the regex on line 22, do_ifstat.c from: "^([a-z]+[0123456789.:]*|lo:?)\\s", to "^([a-z0-9]+(_[0-9]+)?:*|lo:?)\\s",
Regards, Eddie
On Tue, July 21, 2015 2:30 am, Eddie Stassen wrote:
On Centos 7, Xymon does not recognise interface names like p3p1, etc. This is the interface naming according to the 'Consistent Device Naming' standard ( http://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_... )
A simple fix would be to change the regex on line 22, do_ifstat.c from: "^([a-z]+[0123456789.:]*|lo:?)\\s", to "^([a-z0-9]+(_[0-9]+)?:*|lo:?)\\s",
Regards, Eddie
Hi,
Thanks. This looks good! I'll commit as soon as Sourceforge's maintenance is over.
Regards,
-jc
participants (2)
-
cleaver@terabithia.org
-
estassen@gmail.com