On Thu, Jun 17, 2010 at 11:31 PM, Victor Churchill
<[email protected]> wrote:
> If you can list the graphs you can mime-construct to make the mail and send 
> it.
>

Hi Victor,

For example I do wget -O file.png
"http://collectd.example.com/collectd/cgi-bin/collection.cgi?action=show_plugin;host=testdb;timespan=day;plugin=mysql";
 for a single host "testdb" and plugin "mysql"

I do /usr/bin/mime-construct --header 'Sender: [email protected]'
--header 'From: [email protected]' --to [email protected] --subject 'Email
test' --file-attach /var/tmp/file.png

That would be a manual way of doing it. I do have numerous servers and
multiple plugins. Basically i would like to do it without manual
intervention.
Please suggest further to send multiple png files from multiple
servers with multiple collectd plugins

Thanks,

Kaushal

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to