in reply to How do plugins work?

Yet an other not-really-answering-your-question-but-may-be-intersting post, Nagios may be of interest to you (it's perl,which is good) and it uses `plugins' to find out the status of a remote box, then aggregates it all up, with graphs, and the like.

Oh, and i'm in no way aligned with Nagios, but a sysadmin friend of mine is in love with it

Replies are listed 'Best First'.
Re: shameless plug for nagios
by gloryhack (Deacon) on Nov 11, 2006 at 05:04 UTC
    Nagios wrawks. I used mon for years and years, but finally bit the bullet and gave Nagios a try. I like it a lot and highly recommend it.
Re: shameless plug for nagios
by fmerges (Chaplain) on Nov 11, 2006 at 20:42 UTC

    Hi,

    I also recommend it. ;-)

    Regards,

    fmerges at irc.freenode.net
Re: shameless plug for nagios
by pileofrogs (Priest) on Nov 13, 2006 at 18:57 UTC

    Heh... This is funny because what I'm writing is a Nagios plugin, or more accurately, a bunch of plugins.

    I've got a home-made protocol for sharing info about a host. It shares a lot of different stuff, like disk usage, what version of dhcpd am I running, or whatever I want. That means my disk-usage nagios plugin will have the exact same user interface, data gathering interface and data output interface as my correct-version-of-dhcpd plugin. The only difference is the bit that checks disk usage, or checks the dhcpd version.

    So, I'm thinking I'll write a script that handles the user interface (command args etc...), data gathering interface (getting data from my home-brew info server) and data output (nagios style output). The pass/fail logic will be handled by plugins.