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?
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.
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 <gsteer at firstwave.com.au> 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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
Regards GEoff
-------------------------------Safe Stamp----------------------------------- The sender's Anti-virus Service scanned this email. It is safe from known viruses.
participants (2)
-
great.dilla@gmail.com
-
gsteer@firstwave.com.au