in reply to How to connect to remote machine

This may be like using an eighteen-wheeler to deliver an envelope, but I've really enjoyed using Nagios to monitor my collection of servers and services. It uses plugins to collect important information about a server's health.

Failing that, you may be able to build something using the Net::SSH and Expect modules.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Replies are listed 'Best First'.
Re^2: How to connect to remote machine
by naChoZ (Curate) on Jan 22, 2008 at 15:16 UTC

    I second the Nagios recommendation. It may be an eighteen-wheeler, but to set it up with a small config like this is very quick.

    On the other hand, since ssh access is already set up, the nagios check plugins can be installed on the remote server without bothering to set up a full blown Nagios server. Then just use a script to ssh in and run one of the nagios checks and take action based on the exit code of the plugin.

    --
    naChoZ

    Therapy is expensive. Popping bubble wrap is cheap. You choose.