Xymon Mailing List Archive search

ifconfig request

list Larry Barber
Fri, 7 Jun 2013 11:48:27 -0500
Message-Id: <CAOnF4RAOsZVi3rkEr+69fhafkK7Jpv=user-f537a148cf99@xymon.invalid>

Loot in $XYMONHOME/client/bin for the script that corresponds to you OS and
then change the command in the [ifconfig] section.

Thanks,
Larry Barber


On Fri, Jun 7, 2013 at 10:24 AM, Isaac W Traxler <user-4dfb0dbf036e@xymon.invalid> wrote:
When the clients collects data to send the server, one of the commands
issues is ifconfig. Where can I go to edit this so that the ifconfig
becomes "ifconfig 2>/dev/null"?

It turns out that systems with network interfaces that have mac addresses
larger than 8 bytes cause ifconfig to print the following message to
standard error:

  Ifconfig uses the ioctl access method to get the full address
  information, which limits hardware addresses to 8 bytes. Because
  Infiniband address has 20 bytes, only the first 8 bytes are displayed
  correctly. Ifconfig is obsolete! For replacement check ip.

So, if I can edit the command list so that standard error is sent to
/dev/null, my xymonclientlog will not fill up.


--
Isaac Traxler                             AIX,Linux Admin
Louisiana State University, LONI          user-4dfb0dbf036e@xymon.invalid
High Performance Computing                XXX-XXX-XXXX
Storage & Infrastructure
______________________________**
Xymon at xymon.com<