Xymon Mailing List Archive search

sendmail graphs

4 messages in this thread

list Great Dilla · Fri, 17 Feb 2006 17:51:43 +0800 ·
How does one enable [sendmail] graphs? I have searched the mailing
list archives but cannot find any hints. I'm using version 4.1.2p1.

Things I have done so far:
on solaris clients, edited "hobbitclient-sunos.sh"
inserted lines:
*****
echo "[sendmail]"
mailstats
*****
on linux clients, edited "hobbitclient-linux.sh"
inserted lines:
*****
echo "[sendmail]"
mailstats
*****

on the hobbit server, added "TRENDS:*,sendmail:sendmail|sendmail1" to
each host monitored.

I don't see any graphs for sendmail on the hobbit webpage.

Any inputs?
list Geoff Steer · Sat, 18 Feb 2006 14:59:06 +1100 ·
quoted from Great Dilla
On Fri, 2006-02-17 at 17:51 +0800, Great Dilla wrote:
How does one enable [sendmail] graphs? I have searched the mailing
list archives but cannot find any hints. I'm using version 4.1.2p1.

Things I have done so far:
on solaris clients, edited "hobbitclient-sunos.sh"
inserted lines:
*****
echo "[sendmail]"
mailstats
*****
on linux clients, edited "hobbitclient-linux.sh"
inserted lines:
*****
echo "[sendmail]"
mailstats
*****

on the hobbit server, added "TRENDS:*,sendmail:sendmail|sendmail1" to
each host monitored.

I don't see any graphs for sendmail on the hobbit webpage.

Any inputs?
Not sure if this is the preferred (or only) method but what I do is to
run a script from clientlaunch.cfg on the hobbit client. e.g.
 
[sendmail]
        ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
        CMD /home/hobbit/client/ext/sendmail.sh
        LOGFILE /home/hobbit/client/logs/hobbitclient.log
        INTERVAL 5m

The sendmail.sh script runs a mailstats command and uses the bb command
to send it the hobbit server.
The only server configuration is to make sure that the word 'sendmail'
appears in the TEST2RRD and GRAPHS definitions in hobbitserver.cfg.

-- 
Regards
Geoff


-------------------------------Safe Stamp-----------------------------------
The sender's Anti-virus Service scanned this email. It is safe from known viruses.
list Great Dilla · Sun, 19 Feb 2006 12:04:26 +0800 ·
Hi Geoff,

Would it be alright if you share with me your external script for sendmail?

Thanks in advance.
quoted from Geoff Steer

On 2/18/06, Geoff Steer <user-63da8dfb9093@xymon.invalid> wrote:
Not sure if this is the preferred (or only) method but what I do is to
run a script from clientlaunch.cfg on the hobbit client. e.g.

[sendmail]
        ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
        CMD /home/hobbit/client/ext/sendmail.sh
        LOGFILE /home/hobbit/client/logs/hobbitclient.log
        INTERVAL 5m

The sendmail.sh script runs a mailstats command and uses the bb command
to send it the hobbit server.
The only server configuration is to make sure that the word 'sendmail'
appears in the TEST2RRD and GRAPHS definitions in hobbitserver.cfg.

--
Regards
Geoff


-------------------------------Safe Stamp-----------------------------------
The sender's Anti-virus Service scanned this email. It is safe from known viruses.

list Geoff Steer · Sun, 19 Feb 2006 16:10:51 +1100 ·
quoted from Great Dilla
On Sun, 2006-02-19 at 12:04 +0800, Great Dilla wrote:
Hi Geoff,

Would it be alright if you share with me your external script for sendmail?

Thanks in advance.
The script is just the LARRD bottom feeder script from Big Brother.
You can get this from http://deadcat.net.au.

I'll send this to you offline.
quoted from Great Dilla

Regards
GEoff


-------------------------------Safe Stamp-----------------------------------
The sender's Anti-virus Service scanned this email. It is safe from known viruses.