NRPE vs. check_by_ssh vs. nagios_statd

Steven Grimm koreth-nagios at midwinter.com
Tue Feb 4 01:28:18 CET 2003


If you want to check multiple services on remote hosts using ssh, you
might want to look at my batch_by_ssh script, which will check all of
a remote host's services with one ssh command (rather than one ssh
per remote service) which should reduce your scaling woes.  It's still
not as cheap as NRPE, but especially if you have several services per
host on a ton of remote hosts, it'll cut way down on ssh overhead.
It also lets you centrally manage the commands that are run on remote
hosts, rather than doing it on config files on those hosts as with NRPE;
whether that's a plus or a drawback is a matter of taste.

http://www.midwinter.com/~koreth/nagios/batch_by_ssh

There's extensive documentation (by Nagios plugin standards, anyway)
at the top of the script.

If you use it you'll want to make sure you've applied the following
check_by_ssh buffer overflow patch:

https://sourceforge.net/tracker/index.php?func=detail&aid=673863&group_id=29880&atid=397599

-Steve


On Mon, Feb 03, 2003 at 09:29:22AM +0100, Marian Zurek wrote:
> Hi,
> 
>    Thanks for you reply. As the first approach I applied the 'check_by_ssh'
> solution for couple of machines.
>     I have here around 100 PC and plan to perform two remote checks on each of
> them. Could you tell me at which point I might
>     hit the wall/scalability problem ?
>     My future plans will be most probably SNMP based, but I am a bit hesitant
> if it is really needed with this number of host/services ??
> 
>     Thnaks in advance for your comments.
> 
> Regards,
> Marian


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list