Xymon Mailing List Archive search

sendmail graphs

list Great Dilla
Sun, 19 Feb 2006 12:04:26 +0800
Message-Id: <user-ef0fd81a2e03@xymon.invalid>

Hi Geoff,

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

Thanks in advance.

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.