On Thursday 17 Jun 2010 21:55:17 Kaushal Shriyan wrote:
> Hi,
> 
> For example I do wget -O file.png
> "http://collectd.example.com/collectd/cgi-bin/collection.cgi?action=show_pl
> ugin;host=testdb;timespan=day;plugin=mysql" for a single host "testdb" and
> plugin "mysql"
> 
> I do /usr/bin/mime-construct --header 'Sender: mor_...@test.com'
> --header 'From: mor_...@test.com' --to y...@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.
> 

Look at LWP - libwww-perl : http://search.cpan.org/dist/libwww-perl/ and you 
can use a good email module from CPAN like 
http://search.cpan.org/dist/Email-Sender/ .

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
What does "Zionism" mean? - http://shlom.in/def-zionism

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to