BUG 'New' style interface names not recognised
list Eddie Stassen
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_linux.pdf ) 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
list Japheth Cleaver
▸
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_linux.pdf ) 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