The traditional approach to system monitoring would be to use SNMP. There are many tools for about every platform under the sun to accomplish this. The second approach to poll a Windows machine for system information would be to use the WMI (also available via a module by me, DBD::WMI).
As you don't seem to do the system monitoring in a "professional" environment (which to me means SNMP), there are various possibilities:
- Use SSH / SCP. With that, you can simply copy any file to the remote machine, as long as you set up passwordless keys. See Putty and pscp
- Use mail. With MIME::Lite, your Windows machine can fire off a mail to either a local mailserver which does the routing, or directly to the ISP machine. As soon as MIME::Lite has handed off the mail, you get all the benefits of SMTP, including retries and MX fallbacks if one of your servers becomes unavailable.
- Use ftp. With Net::FTP, your Windows machine can send a file to an outside machine.
- Make a HTTP POST request using (for example) LWP::UserAgent and HTTP::Request.
I would avoid writing directly into a MySQL database, as that means making MySQL accessible via the internet, which likely opens up lots of vulnerabilities for little gain.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.