[hobbit] mailq script & absolute values for disk checks
Henrik Stoerner
henrik at hswn.dk
Thu Oct 6 16:23:51 CEST 2005
On Thu, Oct 06, 2005 at 03:06:36PM +0200, cits.bogajewski at daimlerchrysler.com wrote:
>
> i am trying to implement the mailq check feature, but it seems that i am
> missing the right mailq script. If i use mailq.sh script from deadcat the
> values for mail queue size and length are reported properly, but no RRD
> file is created and thus no graph appears. Log files remains clean.
>
> Within do_mailq.c there is a notice about "Erik's enhanced mailq script"
> Unfortunately i cant find this script. Maybe anybody is using this one and
> could provide it?
Heh :-) the "Erik" mentioned here is a colleague of mine who handles
a bunch of Sendmail servers. That's a custom script for a virus-scanning
mail-gateway we have, where we want to check on both incoming and
outgoing mails - the default mailq scripts I've seen only looks at the
outbound queue size. So Erik's enhanced mailq script is pretty specific
to our setup, i think.
The normal mailq script I used for this was the one that comes with
larrd 0.43c (the "bf/nmailq-bf.sh" script in LARRD).
> Would you mind to think about the option to enhance disk checks for
> handling of absolute disk usage (KB/MB/GB) and not only the percent
> values?
It's already there - just ask for the "disk1" graph instead of "disk".
Or were you thinking of having the status (red/yellow/green) depend on
the # of GB's used ?
Henrik
More information about the Xymon
mailing list