[Xymon] monitoring aggregated network traffic

Martin Flemming martin.flemming at desy.de
Thu Feb 23 23:12:01 CET 2012


On Fri, 17 Feb 2012, Jeremy Laidman wrote:

> On Thu, Feb 16, 2012 at 6:26 PM, Martin Flemming
> <martin.flemming at desy.de> wrote:
>
>> Now i've found this thread and the solution :-)
>>
>> http://lists.xymon.com/pipermail/xymon/2011-December/033323.html
>
> I remember that thread now, but I didn't understand quite what was
> going on.  I've recently been trying to solve a different problem
> related to the same bit of code.
>
>> I've had to make an touch  ifsum.rrd and voila, the graph will be display
>
>> Is that an bug ?
>
> Probably not really a bug.  It's just that the code that generates the
> trends page was not (it seems) designed to handle graphs where the
> graph name doesn't match the RRD filename.  It probably needs
> enhancements to incorporate this as a feature.
>
> The code also looks at FNPATTERN in the graph definition to tell the
> code which filename to look at, and while it is probably not intended
> for use with fixed filenames like you're using, it might still work,
> without having to create a dummy file.
>


Hmmmm, ok before i start another thread to the similar problem,
i want to ask how i could solve this problem whith FNPATTERN ?

in my situation


> [ifsum]
>          TITLE Network Traffic
>          YAXIS Bits/second
>          DEF:inbytes0=ifstat.eth0.rrd:bytesReceived:AVERAGE
>          DEF:inbytes1=ifstat.eth1.rrd:bytesReceived:AVERAGE
>          DEF:inbytes2=ifstat.eth2.rrd:bytesReceived:AVERAGE
>          DEF:inbytes3=ifstat.eth3.rrd:bytesReceived:AVERAGE
>          CDEF:intotal=inbytes0,inbytes1,inbytes2,inbytes3,+,+,+
>      CDEF:inbits=intotal,8,*
>      LINE:inbits#FF0000:Aggregate inbound



  [ifsum]
 	  FNPATTERN ifstat(.+).rrd
           TITLE Network Traffic
           YAXIS Bits/second
           DEF:inbytes at RRDIDX@=@RRDFN@:bytesReceived:AVERAGE
             .
             .
             .

 	???

    thanks in advance

 	martin


More information about the Xymon mailing list