On Fri, 2002-12-20 at 18:19, Colm MacCarthaigh wrote:
> On Fri, Dec 20, 2002 at 04:54:36PM +0000, John P. Looney wrote:
> > If you are looking after machines, check out nagios. It's quite good - it
> > does all sorts of monitoring, so you don't have to. You can set it up to
> > monitor all your servers, and email you when things go bad - like the
> > exchange server stops responding to IMAP queries..
> >
> > More importantly, most of the plugins have "warning thresholds"; for
> > instance, I monitor all my machines to make sure that they have at least
> > 20% free on all disk partitions. It's nice to get an email saying the
> > webserver is 85% full, because someone left a PHP page echoing a few dozen
> > kilobytes to disk every time it's hit....before the website falls over.
>> How are you checking the disk space on remote machines ? The only
> nice way I could think of doing it was creating an unencrypted ssh key
> which limited what could be run to one script, e.g:
>> no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command="~/bin/stats"
> <rest of ssh public key>
>are you worried about security? why not just stick a script on a port
with inetd which gives back the stats you want (and then firewall that
port off).
L.
--
Liam Bedford <lbedford at lbedford.org>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!