Xymon Mailing List Archive search

Setting up custom graph to monitor mail queue on postfix

list Kim Johansen
Tue, 12 Aug 2014 08:01:27 +0200
Message-Id: <user-a7a645a954d0@xymon.invalid>

On 08/11/2014 10:57 PM, Bill Arlofski wrote:
On 08/11/14 16:03, Kim Johansen 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"
Hi Kim

I htink you may have forgotten to ad "postfix" to the GRAPHS definition
line in the xymonserver.cfg

The GRAPHS variable is right after the TEST2RRD variable in a default
xymonserver.cfg file.

Hope this helps!


Bill

I have added that now, but it did not fix it.

I do understand that the GRAPH string is only to controle what is shown 
in the trend view.

Thanks for the reply.

Kim