Re: [Nagios-users] Monitoring Unix machine from a windows machine

2009-09-02 Thread Grant Sewell
On Tue, 1 Sep 2009 16:46:19 +0200
"Steven Battaille" wrote:

> Hi all
> 
> Is there somebody who got experience in monitoring Unix machines from
> a windows machine?
> 
> I'm not able to install the nagios plugins on the Unix machine. So it
> is the windows machine that will launch the scripts on the Unix
> machine.
> 
> Would this be done by SSH or any other manner?
> 
> Thx
> 
> Steven Battaille
> 
> Advanced Projects & Products
> 
> Belgium

If you have SSH access to the machine, can you not compile the various
Nagios plugins on the target machine, place the compiled binary
executables into something like ~/bin, setup passwordless SSH access
(using keys) and then create your own commands to execute the
appropriate Nagios plugin remotely?

Grant.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Monitoring Unix machine from a windows machine

2009-09-01 Thread Leandro Quibem Magnabosco
Title: Untitled Document




Steven Battaille escreveu:

  
  
  

  
  Hi all
   
  Is there somebody who got
experience in
monitoring Unix machines from a windows machine?
   
  I’m not able to install the
nagios
plugins on the Unix machine. So it is the windows machine that will
launch the
scripts on the Unix machine.
   
  Would this be done by SSH or
any other
manner?
   
  Thx
   
  Steven Battaille
  Advanced Projects &
Products
  Belgium
  
  


Hi Steven,

You could use ssh -T to run a single command and quit.
The command would gather results for you and give those results to
Nagios in the Windows machine.

Let's say you want to know how much space you got left on you
partitions.
You can build up a single line of command to use "df" and sed/grep/awk
your way to receive how much space is left for each partition.
You could also gather all the df output and use windows
executables/scripts to check it out and tell nagios if everything is OK
or if some Warning or Critical message is needed.

Got the idea?

Besides that, you could use external checks, like check_dns.
check_dns will try to resolv hosts using nslookup thru your server and
tell you if it worked, so you can implement those kinds of checks
also...

For now I can't think of anything else, if I do I will let you know.

Good luck!





  

  
  
  
   
  
  Leandro
Quibem Magnabosco
Consultor de TI
(48) 3251-5323
  leandro.magnabo...@fcdl-sc.org.br
  www.fcdl-sc.org.br
  Rua: Rafael Bandeira, 41
CEP. 88015-450  Florianópolis - SC
  
  

  

"Este
é um e-mail oriundo da Federação das Câmaras de Dirigentes Lojistas de
Santa Catarina, e seu conteúdo é confidencial e destinado
exclusivamente a seu(s) destinatário(s), não podendo ser copiado ou
repassado,no todo ou em parte, a terceiros. Se esta mensagem foi-lhe
enviada por engano, pedimos o obséquio de entrar em contato conosco.
This is an e-mail from the Federação das Câmaras de Dirigentes Lojistas
de Santa Catarina and its contents are privileged and confidential to
the ordinary user(s) of the e-mail address(es) to which it was
addressed, and no one else may copy or forward all or any of it in any
form. If this e-mail was sent to you in error, please contact us."






--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Monitoring Unix machine from a windows machine

2009-09-01 Thread Kevin Keane
You say that the Windows machine is able to launch scripts on the Unix 
machine. Why not plugins - which basically simply ARE scripts? There are 
multiple ways to launch scripts on the Unix box. Which one is 
appropriate for you depends on your specific situation. Look into NSCA 
or NRPE (those do require an agent to be installed on the Unix box), as 
well as check_by_ssh.

Steven Battaille wrote:
>
> Hi all
>
> Is there somebody who got experience in monitoring Unix machines from 
> a windows machine?
>
> I’m not able to install the nagios plugins on the Unix machine. So it 
> is the windows machine that will launch the scripts on the Unix machine.
>
> Would this be done by SSH or any other manner?
>
> Thx
>
> Steven Battaille
>
> Advanced Projects & Products
>
> Belgium
>


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Monitoring Unix machine from a windows machine

2009-09-01 Thread Morris, Patrick
Steven Battaille wrote:
>
> Hi all
>
>  
>
> Is there somebody who got experience in monitoring Unix machines from 
> a windows machine?
>
>  
>
> I’m not able to install the nagios plugins on the Unix machine. So it 
> is the windows machine that will launch the scripts on the Unix machine.
>
>  
>
> Would this be done by SSH or any other manner?
>

If you can't install plugins on the Unix machine, you're pretty limited 
in what you'll be able to do. Even if you were to SSH in from the 
Windows box, there'd be nothing to run once you got there to check the 
local disk.

You're probably going to either need a plugin on the box somehow (i.e., 
in a user's home directory if not installed in a usual system location), 
or use some sort of remote check like SNMP.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Monitoring Unix machine from a windows machine

2009-09-01 Thread Steven Battaille
Hi all

 

Is there somebody who got experience in monitoring Unix machines from a
windows machine?

 

I'm not able to install the nagios plugins on the Unix machine. So it is
the windows machine that will launch the scripts on the Unix machine.

 

Would this be done by SSH or any other manner?

 

Thx

 

Steven Battaille

Advanced Projects & Products

Belgium

 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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