Remote monitoring
Wojciech Kocjan
wojciech at kocjan.org
Tue Feb 12 18:26:19 CET 2008
On Tue, 12 Feb 2008 08:36:32 +0100, Michael Medin <michael at medin.name>
wrote:
> Hello,
>
> Humm, this was quite interesting, is there a way to (from the plink) to
> detect the status of the connection or does plink "die" when the
> connection dies even?
> Would be quite simple to add a "plugin" to run this from within
> nsclient++, but for it to be useful you would need to be able to detect
> the status of the link (and I have never used the command myself).
Hi,
Well, I once wrote a script that basically runs 'cat' command and uses it
to "ping" the server - it writes some garbage every few minutes and checks
if it gets back.
I'll play with doing it as a service on Windows and if this is trivial
enough, I'll make it opensource.
I don't think that putting ssh client in NSClient as a plugin is a good
way, though. I'm wondering if it can't report directly to NCSA as a long
term solution?
--
Wojciech Kocjan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list