[Xymon] Trending too many interfaces

Tim McCloskey tm at freedom.com
Wed Apr 27 05:01:27 CEST 2011


This is a crazy guess, you don't mention which version of xymon so this may be way off.  It may be way off anyway :)

If you are talking about the trends/"Network Traffic" graph it seems to be getting that data from the 'ifstat' var.

Some details follow.

1. what we graph for ifstat
hobbitgraph.cfg:        FNPATTERN ifstat.(.+).rrd
See data/rrd/$hostname/ifstat.*

2. where ifstat originates
client/hobbitclient-linux.sh:
echo "[ifstat]"
/sbin/ifconfig

3. what happens to ifstat 
hobbitd/client/linux.c: ifstatstr = getdata("ifstat");
hobbitd/client/linux.c: unix_ifstat_report(hostname, clienttype, os, hinfo, fromline, timestr, ifstatstr); <--- ifstatstr

You should be able to modify the client shell script to report other than ifconfig -a (which seems to be what is currently captured).  Of course, there must be a better way.


Regards, 

Tim


________________________________________
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Colin Coe [colin.coe at gmail.com]
Sent: Tuesday, April 26, 2011 7:02 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Trending too many interfaces

Anyone have any thoughts on this?

The only interfaces I want graphed are "rhevm" and "bond2".


More information about the Xymon mailing list