From: Christoph B. <cb...@df...> - 2010-07-26 10:08:19
|
Re: Ward, Martin 2010-07-26 <29889_1280138396_4C4D5C9B_29889_49021_1_1F7B01020EC4D04DA17703634B9E888E10B116D8@ULPGCTMVMAI003.EU.COLT> > Further to my email on the xymon mailing list, is there any mileage in modifying this script so that it perfectly emulates the ifconfig command when run as root and adding it in to the Xymon code? I ask because it is not only Solaris that doesn't show the MAC address in the ifconfig(1m) output. > > It would be useful to be able to have the data in a single location in the client data packet but you have two possibilities, keep it within the ifconfig output or add another section within the client packet jut for MAC addresses (which seems a little heavy-handed for a section that isn't currently used in Xymon). You could write an awk/perl/whatever script that injects the MACs in the ifconfig output and put that earlier in PATH. I don't think it's worth "fixing" in xymon, though. Christoph -- cb...@df... | http://www.df7cb.de/ |