[Nagiosplug-help] Pushing Nagios plugins over ssh

Jacob Joseph jmjoseph at andrew.cmu.edu
Wed Jun 30 09:03:06 CEST 2004


Andreas Ericsson wrote:
> Jeff Smelser wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Wednesday 30 June 2004 02:08 am, Jacob Joseph wrote:
>>
>>> Hi all.  I have created a bit of infrastructure to aid in pushing nagios
>>> plugins to remote machines with nothing more than an ssh connection.
>>> nrpe and nsca became too much of a hassle to maintain across many client
>>> machines.  This solution allows centralize configuration and a very
>>> light installation on the clients.  Due to our range of architectures,
>>> I've also rewritten the plugins we need in python so as to be able to
>>> run without recompilation.
>>
>>
>>
>> Hows this different then check_by_ssh?
>>
> 
> I think he's referring to a way of installing the plugins on a remote 
> host. It's quite trivial to script it and why he rewrote the plugins in 
> the not-so-common Python instead of running the configuration script and 
> installing everything by automagicness is a bit beyond me.

With a large number of clients, some alpha, some amd64, some x86 but 
with varying libraries, and platforms (linux, freebsd, and windows), the 
burden of building the plugins for each architecture quickly became 
excessive.  Not sure about your comment about python being uncommon, but 
ignoring that, it is an easy way to run without having to worry about 
all of the different clients.  An even larger benefit of distributing as 
I have is updating the plugins when some change is required.

-Jacob




More information about the Help mailing list