Re: [Nagios-users] Remote monitoring

2008-02-13 Thread Michael Medin
 NSCLient++ offers NRPE

might be worth to mention that NSClient++ also offers NSClient and NSCA
(with real encryption)...

// MickeM




 NC_NEt -(also a windows plugin that uses check_NT) offers NSCA

 Good Luck,
 TOny (author of NC_NEt)
 On Tue, Feb 12, 2008 at 1:07 PM, Michael Medin [EMAIL PROTECTED] wrote:

 I did not mean to add ssh client to nsclient++ but I could write a
 plugin
 that runs plink when nsclient++ starts and makes sure plink is running,
 but maybe NSCA is probably a better solution (which nsclient++ already
 has
 :)

 // MickeM

  On Tue, 12 Feb 2008 08:36:32 +0100, Michael Medin [EMAIL PROTECTED]
  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/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Remote monitoring

2008-02-12 Thread Anthony Montibello
NSCLient++ offers NRPE

NC_NEt -(also a windows plugin that uses check_NT) offers NSCA

Good Luck,
TOny (author of NC_NEt)
On Tue, Feb 12, 2008 at 1:07 PM, Michael Medin [EMAIL PROTECTED] wrote:

 I did not mean to add ssh client to nsclient++ but I could write a plugin
 that runs plink when nsclient++ starts and makes sure plink is running,
 but maybe NSCA is probably a better solution (which nsclient++ already has
 :)

 // MickeM

  On Tue, 12 Feb 2008 08:36:32 +0100, Michael Medin [EMAIL PROTECTED]
  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/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Remote monitoring

2008-02-12 Thread Justin Hitt
Paul,

On Feb 11, 2008 11:06 PM, Paul Aviles [EMAIL PROTECTED] wrote:
 I am looking for a way to remotely monitor Windows servers. The servers are
 on a  remote network and using network address translation so they are not

Place NRPE on your windows boxes, then (a) talk with your network team
about a low band VPN connection between sites or (b) your systems team
about a proxy for NSCA via an SSL connection; or (c) any combination
of the two.

Either way, wrap your traffic in something secure and be sure to
monitor the gateway between your two sites so you'll know when passive
checks might stop.

Best,

Justin
-- 
Attention Sales And Marketing Professionals Who Serve B2B Executives
   http://hittpublishingdirect.com/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Remote monitoring

2008-02-12 Thread Michael Medin
I did not mean to add ssh client to nsclient++ but I could write a plugin
that runs plink when nsclient++ starts and makes sure plink is running,
but maybe NSCA is probably a better solution (which nsclient++ already has
:)

// MickeM

 On Tue, 12 Feb 2008 08:36:32 +0100, Michael Medin [EMAIL PROTECTED]
 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/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Remote monitoring

2008-02-12 Thread Wojciech Kocjan
On Tue, 12 Feb 2008 08:36:32 +0100, Michael Medin [EMAIL PROTECTED]  
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/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Remote monitoring

2008-02-11 Thread Wojciech Kocjan
On Tue, 12 Feb 2008 05:06:38 +0100, Paul Aviles  
[EMAIL PROTECTED] wrote:

 I am looking for a way to remotely monitor Windows servers. The servers
 are on a  remote network and using network address translation so they
 are not directly accessible. I saw that Pandora uses an agent on the
 remote servers to connect via ssh to the main monitoring server and I
 like that idea, but I have not been able to see any documentation on how
 to do it with Nagios. In our configuration we cannot alter or open ports
 on the clients firewalls, but outgoing ssh traffic should not be an
 issue and I guess the monitoring server should not contact the remote
 servers.

Hi Paul,

I think it should be quite easy to use putty's plink to connect and tunnel  
nsclient++ using remote tunneling (-R option).

For example assuming NSClient is running on port 12489 you could run

plink -R 20001:127.0.0.1:12489 [EMAIL PROTECTED]

And then as long as the SSH connection stays open your nagiosserver will  
be able to access NSClient++ by connecting to 127.0.0.1 port 20001. You'd  
need to modify check_nt command a bit to always use 127.0.0.1 as an IP. If  
it's Nagios 3 you can also use custom variable (like _NSCLIENTPORT) in  
host definitions and reuse that in your version of check_nt command (using  
$_HOSTNSCLIENTPORT$).

The solution might not be robust enough if your network is not stable - in  
that case you might need a wrapper that will restart plink if a connection  
is down... I'm not sure if any working solutions for this exist. I'm  
curious myself as I wrote a small wrapper that checks for connection  
timeouts - and I'm wondering if there's any better solution on Windows.

-- 
Wojciech Kocjan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Remote monitoring

2008-02-11 Thread Michael Medin
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).

// MickeM


 On Tue, 12 Feb 2008 05:06:38 +0100, Paul Aviles
 [EMAIL PROTECTED] wrote:

 I am looking for a way to remotely monitor Windows servers. The servers
 are on a  remote network and using network address translation so they
 are not directly accessible. I saw that Pandora uses an agent on the
 remote servers to connect via ssh to the main monitoring server and I
 like that idea, but I have not been able to see any documentation on how
 to do it with Nagios. In our configuration we cannot alter or open ports
 on the clients firewalls, but outgoing ssh traffic should not be an
 issue and I guess the monitoring server should not contact the remote
 servers.

 Hi Paul,

 I think it should be quite easy to use putty's plink to connect and tunnel
 nsclient++ using remote tunneling (-R option).

 For example assuming NSClient is running on port 12489 you could run

 plink -R 20001:127.0.0.1:12489 [EMAIL PROTECTED]

 And then as long as the SSH connection stays open your nagiosserver will
 be able to access NSClient++ by connecting to 127.0.0.1 port 20001. You'd
 need to modify check_nt command a bit to always use 127.0.0.1 as an IP. If
 it's Nagios 3 you can also use custom variable (like _NSCLIENTPORT) in
 host definitions and reuse that in your version of check_nt command (using
 $_HOSTNSCLIENTPORT$).

 The solution might not be robust enough if your network is not stable - in
 that case you might need a wrapper that will restart plink if a connection
 is down... I'm not sure if any working solutions for this exist. I'm
 curious myself as I wrote a small wrapper that checks for connection
 timeouts - and I'm wondering if there's any better solution on Windows.

 --
 Wojciech Kocjan

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Remote monitoring

2008-02-11 Thread Paul Aviles
I am looking for a way to remotely monitor Windows servers. The servers
are on a  remote network and using network address translation so they
are not directly accessible. I saw that Pandora uses an agent on the
remote servers to connect via ssh to the main monitoring server and I
like that idea, but I have not been able to see any documentation on how
to do it with Nagios. In our configuration we cannot alter or open ports
on the clients firewalls, but outgoing ssh traffic should not be an
issue and I guess the monitoring server should not contact the remote
servers.

 

Is there a way to have an agent on a remote Windows servers similarly
using ssh to tunnel the traffic?

 

Regards,

 

Paul

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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