[Xymon] Setting up custom graph to monitor mail queue on postfix

Ralph Mitchell ralphmitchell at gmail.com
Mon Aug 11 23:32:55 CEST 2014


I think your use of "lambda" in the DEF line may be wrong.  I think that
belongs to SPLIT_NCV, which is a different thing.

Take a look in data/rrd/servername for the postfix red files. You can dump
them out like this:

     rrdtool dump filename

The variable names will be in the header.

Ralph Mitchell
On Aug 11, 2014 4:12 PM, "Kim Johansen" <hobbit at weiser.dk> wrote:

> Hi,
>
> I using Xymon to monitor a postfix mail server, and want to monitor the
> different mail queues on it.
>
> I have found this script:
>
> https://wiki.xymonton.org/doku.php/monitors:postfix
>
> I have the data comming from the mail server to Xymon server:
>
> Mails active: 3
> amount equal to last measure.
> Mails bouncing: 0
> amount equal to last measure.
> Mails in deferred State: 63
> amount equal to last measure.
> Corrupt Mails: 0
> amount equal to last measure.
> Incoming Mails: 0
> amount equal to last measure.
>
>
> But I have not succeded in getting the graph to work, I have follow the
> steps on the wiki site above, and I have also gone though the help file,
> about costum graphs, in Xymon web site.
>
> In xymonserver.cfg have I added:
> - 'postfix=ncv' to the TEST2RRD string
> - NCV_postfix="*:GAUGE"
>
> Also in graph.cfg have I added:
> [postfix]
>         FNPATTERN postfix,(.*).rrd
>         TITLE Postfix statistics
>         YAXIS Mail(s)
>         DEF:p at RRDIDX@=@RRDFN@:lambda:AVERAGE
>         LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
>         GPRINT:p at RRDIDX@:LAST: \: %8.1lf (cur)
>         GPRINT:p at RRDIDX@:MAX: \: %8.1lf (max)
>         GPRINT:p at RRDIDX@:MIN: \: %8.1lf (min)
>         GPRINT:p at RRDIDX@:AVERAGE: \: %8.1lf (avg)\n
>
>
> But it do not generate the rrd files, I think I have missed something, but
> I can't figure it out, I hope You can...
>
> Regards,
>
> Kim
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140811/1057f4cf/attachment.html>


More information about the Xymon mailing list