collectd application

Victor Churchill victorchurchill at
Fri Jun 18 18:25:35 UTC 2010

This sounds like a scripting issue rather than a mail one now.

DATE=`date +%Y%m%d`
for SVR in server1 server2 serverx; do
for PLG in plugin1 plugin2 pluginz; do
wget -O $SVR_$PLG_$DATE.png \
/usr/bin/mime-construct ... /var/tmp/$SVR_$PLG_$DATE.png

(not tested!) should send one mail for each chart. If you want all the
images in one email you would have to put the mime-construct outside
the loops and add each .png with a separate file-attach clause.

And then automate it with crontab.

More information about the ubuntu-server mailing list