collectd application

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Jun 17 18:10:12 UTC 2010


On Thu, Jun 17, 2010 at 11:31 PM, Victor Churchill
<victorchurchill at gmail.com> 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: MOR_FAX at TEST.COM'
--header 'From: MOR_FAX at TEST.COM' --to your at mail.com --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




More information about the ubuntu-server mailing list