Xymon Mailing List Archive search

No graph of nmailq-bf.sh

list Soumya K. Das
Sun, 24 Apr 2005 12:37:28 +0530
Message-Id: <user-c64d42936d16@xymon.invalid>

Nope...still not showing... have a look at the code below...
This is the mailq section of hobbitgraph file 
[mailq]
        FNPATTERN mailq(.*).rrd
        TITLE Mail Queue Length
        YAXIZ Queue Length
        DEF:mailq at RRDIDX@=@RRDFN@:mailq:AVERAGE
        LINE2:mailq at RRDIDX@#@COLOR@:Queue Length @RRDPARAM@
        COMMENT:\n
        GPRINT:mailq at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:mailq at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:mailq at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:mailq at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
        # This handles "mailq.rrd", "mailqin.rrd" and "mailqout.rrd"

And this is what I get in the screen when it runs the mailq command

Total requests: 3

Don't you think the @RRDFN@ should be requests instead of "requests" or
"total requests:"

Regards
Soumya


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Sunday, April 24, 2005 12:05 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] No graph of nmailq-bf.sh

On Sun, Apr 24, 2005 at 10:03:24AM +0530, Soumya K. Das wrote:
I am not getting the graph of the nmailq-bf from my client, however I
am
able to get other graphs from the same machine such as 

Vmstat, netstat... 

I have noticed that there is no mention of nmailq in the
hobbitgraph.cfg
file, instead there is codes for mailq not nmailq.
Try adding "nmailq=mailq" to the long list of entries for the LARRDS
setting in hobbitserver.cfg. It was accidentally left out in the first
releases of Hobbit. The current default looks like this:

LARRDS="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,
dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendm
ail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,h
obbitd"

You'll need to restart Hobbit after this change (at least: kill the
hobbitd_larrd processes).


Regards,
Henrik