[mrtg] Re: Problem with external get

John McKay jfmckay at monroe.net
Mon Aug 23 22:12:10 MEST 1999


mine looks like the following.... gsc mail server
if you want a copy of the perl script... let me know


#---------------------------------------------------------------
# mailstats
#.....................................................................
Target[mailque]: `c:\aperl\bin\perl -Ic:\aperl\lib c:\hp41\mailque2`
MaxBytes[mailque]: 1000
Options[mailque]: growright, absolute, gauge, nopercent, noinfo
Title[mailque]: goarwc09.airborne.com : Mail Queues
YLegend[mailque]: Messages
Legend1[mailque]: Tot other (excludes Highest single message queue count)
Legend2[mailque]: Highest single message queue count
ShortLegend[mailque]: msgs
LegendI[mailque]:  Tot other:
LegendO[mailque]:  Highest que:
AddHead[mailque]: <LINK REL=STYLESHEET TYPE="text/css"
HREF="../cssMRTG.css">
PageTop[mailque]: <H1>Mail Queue Stats</H1>
 <TABLE CLASS="clsIdentity">
   <TR><TD><B>System:</B></TD><TD>goa-g-gcs01.airborne.com</TD></TR>
 </TABLE>

#---------------------------------------------------------------

----- Original Message -----
From: <erichter at dds.nl>
To: <mrtg at list.ee.ethz.ch>
Sent: Sunday, August 22, 1999 12:11 PM
Subject: [mrtg] Problem with external get


>
> I have a program to make the number of mail messages availeble to mrtg.
The
> output looks:
> 5
> 9
>
> <5> is the number on server 1
> <9> is the number on server 2
>
> Th part of the cfg:
> Target[mail-queue]: `/usr/local/mrtg/bin/queuestats`
> MaxBytes[mail-queue]: 150
> Options[mail-queue]: gauge, nopercent
> Title[mail-queue]: Aantal berichten in mailqueue's
> PageTop[mail-queue]: <H1>Aantal berichten in mailqueue's</H1>
> WithPeak[mail-queue]: dwmy
> YLegend[mail-queue]: No. of messages
> ShortLegend[mail-queue]: messages
>
> While running mrtg, this error occurs:
> Problem with Externale get '`/usr/local/mrtg/bin/queuestats`':
>    Expected an INTEGER for 'in' but got ''
>
> Can anyone tell me the thing I'm doing wrong?
> (using 2.8.6)
>
> Eric
>
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list