Re: [Nagios-users-br] Check_by_ssh sem senha

2010-03-26 Thread Marcelo nunes dos santos
Consegui resolver o problema,

Éra bem oque eu tinha relatado no ultimo email, eu havia criado um usuário
para o nagios sem home, mas oque eu não sabia era que ele tinha um diretório
especifico para guardar as chaves que fica em /var/run/nome_do_usuario/.ssh
por isto nao funcionava.

Então fiz o seguinte digitei um *su nagios* e executei um *ssh-keygen* para
gerar as chaves, depois passei ela para a home do usuário nagios no servidor
que eu queria me conectar e pronto funcionou.


Marcelo Nunes Dos santos
--
TI Savarsul - nu...@savarsul.com.br
Blog: makelinux.com.br
Email/MSN: marcelo7...@gmail.com




2010/3/25 Marcelo nunes dos santos marcelo7...@gmail.com

 Eu ja havia dado uma olhada em alguns artigos no google sobre como fazer
 isto, mas não achei nenhum que resolvesse meu problema.

 Mas acho que o problema pode estar ai onde o Marcel falou, eu criei um
 usuário para o nagios sem home, por isto não estou conseguindo fazer
 funcionar, vou fazer uns testes e mando o resultado.



 Marcelo Nunes Dos santos
 --
 TI Savarsul - nu...@savarsul.com.br
 Blog: makelinux.com.br
 Email/MSN: marcelo7...@gmail.com


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] Drop in replacement for check_ping wit hout performance output when device down

2010-03-26 Thread Jelle Smet
 

Hi List, 

The default check_ping has an annoying feature I think and
that's it will produce performance output equal to the timeout when a host
is not reachable.
That means the RTA graphs are completely filled, while I
think they should be interrupted... by not producing performance output for
RTA but only for the packets lost. 

To have this behaviour I'm looking for
a drop in replacement for check_ping which produces exactly the same
performance output labels as I don't want to recreate all my ping rrds

On
the other side I think it would make sense to at lease add this feature
through a command line switch for check_ping. 

I'm using: 

check_ping
v1.4.14 (nagios-plugins 1.4.14)
Copyright (c) 1999 Ethan Galstad 
Copyright
(c) 2000-2007 Nagios Plugin Development Team

Use ping to check connection
statistics for a remote host.

Usage:check_ping -H  -w ,% -c ,%
 [-p
packets] [-t timeout] [-4|-6] 

Thanks for your advice and tips   
--

Jelle Smet
http://www.smetj.net
 --
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Unable to install NRPE Addon

2010-03-26 Thread Jatin Davey
Hi

While installing the NRPE addon , i am unable to issue the make all command.

Following the NRPE documentation, first i did ./configure command and 
then when i gave the make all command , it shows me the following error:

[r...@pc-linux-1 nrpe-2.12]# make all
make: *** No rule to make target `all'.  Stop.

I noticed the last step of the ./configure output was as below:

checking for closesocket... no
checking for socklen_t... yes
checking for type of socket size... size_t
checking for SSL headers... configure: error: Cannot find ssl headers

Please let me know what to do next.

Thanks
Jatin

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Drop in replacement for check_ping without performance output when device down

2010-03-26 Thread Andreas Ericsson
On 03/26/2010 01:40 PM, Jelle Smet wrote:
 
 
 Hi List,
 
 The default check_ping has an annoying feature I think and
 that's it will produce performance output equal to the timeout when a host
 is not reachable.
 That means the RTA graphs are completely filled, while I
 think they should be interrupted... by not producing performance output for
 RTA but only for the packets lost.
 

Use check_icmp instead. It does something like that, iirc.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] NSCA and Windows

2010-03-26 Thread Klein, Oliver
Hi Kevin,

thx i think that is what we need. But I have some problems  to get this plugins 
work with nsclient. Any idea about this?
This is the error massage in syslog on the nagios server

Mar 26 15:04:41 nagios nagios: EXTERNAL COMMAND: 
PROCESS_SERVICE_CHECK_RESULT;sonicwall2;C:\NSCLIENT++\scripts\check_cpu.exe;3;Command
 was not found:
Mar 26 15:04:41 nagios nagios: Warning:  Passive check result was received for 
service 'C:\NSCLIENT++\scripts\check_cpu.exe' on host 'sonicwall2', but the 
service could not be found!

So I define the following option in the nsc.ini

[External Scripts]
;check_es_long=scripts\long.bat
;check_es_ok=scripts\ok.bat
;check_es_nok=scripts\nok.bat
;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs
;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe 
-command -
check_cpu=scripts\check_cpu.exe

[NSCA Commands]
;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4
;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page
;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService
;host_check=check_ok
C:\NSCLIENT++\scripts\check_cpu.exe

I tested it without path and other variations but with no luck. I hope someone 
give me the right hint for the correct syntax

Best regards  nice weekend
Olly


Mit freundlichen Gruessen

Oliver Klein
System Engineer 

Tel:02506 / 93 20 214
Mobil:  0163-5932004
E-Mail: okl...@nccms.de



NCC
Noethen Computer Center GmbH
Wolbecker Windmuehle 55
48167 Muenster

Tel: 02506 93 20 0
FAX: 02506 93 20 20

E-Mail:   i...@nccms.de
Homepage: www.nccms.de







Amtsgericht Muenster HRB 5036Geschaeftsfuehrer: Ralf Bakenecker
 Uwe-Christian Surma


_
Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet
ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes
Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs-
aeusserung ist die des Autors und stellt nicht notwendigerweise die
Ansicht oder Meinung von NCC GmbH dar.
Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich
erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung,
Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt.

Weder NCC GmbH noch der Absender (Oliver Klein)
uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung,
die E-Mail und deren  Anhaenge auf Viren zu pruefen.
 Anhaenge:

_
Versand am 26.03.2010 15:13 von Klein Oliver
Validation-Code: 3623422302211

Von: Kevin Keane [mailto:subscript...@kkeane.com]
Gesendet: Freitag, 26. Maerz 2010 06:18
An: Nagios Users List
Betreff: Re: [Nagios-users] NSCA and Windows

The plugins are simply command-line programs. By convention, all plugins should 
provide documentation when you start them with the -h switch.

You can find quite a few plugins on monitoringexchange.org . I wrote a 
collection of plugins that you might find useful at 
http://sourceforge.net/projects/tntnagiosplugin/https://sourceforge.net/projects/tntnagiosplugin/
 I'm not using them with NSClient, but they should work with it just fine.

From: Klein, Oliver [mailto:okl...@nccms.de]
Sent: Thursday, March 25, 2010 7:41 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] NSCA and Windows



[cid:image001.jpg@01CACCF6.29F1E420]

Hi List

i have a question about Windows and NSCA. We use the NSclient with NCSA. In the
nsclient config file there´re some checks descriped and this works well. So what
we want to know is, where we can find more plugins? There´s a folder
in the nsclient directory modules maybe we can use these plugins. Our problem
is, that we don´t know how to use these plugins, like the syntax.
Any help was appreciated

kind regards
Olly



Mit freundlichen Gruessen

Oliver Klein
System Engineer

Tel: 02506 / 93 20 214
Mobil: 0163-5932004
E-Mail: okl...@nccms.demailto:okl...@nccms.de


NCC
Noethen Computer Center GmbH
Wolbecker Windmuehle 55
48167 Muenster

Fon: 02506 / 93 20 0
Fax: 02506 / 93 20 20

Geschaeftsfuehrer:
Ralf Bakenecker
Uwe-Christian Surma

Amtsgericht Muenster HRB 5036

i...@nccms.demailto:i...@nccms.de
http://www.nccms.de

[cid:image002.jpg@01CACCF6.29F1E420]

Gesellschafter der Computer Compass-Gruppe

Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und 
kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. 
Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors 
und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar. 
Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten 
und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder 
jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder NCC GmbH noch 

Re: [Nagios-users] Unable to install NRPE Addon

2010-03-26 Thread Raymond Setchfield
Hi 

You will need to install openssl-devel on your machine this will resolve the
SSL headers issue

Thanks

Raymond

-Original Message-
From: Jatin Davey [mailto:jasho...@cisco.com] 
Sent: 26 March 2010 13:21
To: Nagios Mailinglist
Subject: [Nagios-users] Unable to install NRPE Addon

Hi

While installing the NRPE addon , i am unable to issue the make all command.

Following the NRPE documentation, first i did ./configure command and 
then when i gave the make all command , it shows me the following error:

[r...@pc-linux-1 nrpe-2.12]# make all
make: *** No rule to make target `all'.  Stop.

I noticed the last step of the ./configure output was as below:

checking for closesocket... no
checking for socklen_t... yes
checking for type of socket size... size_t
checking for SSL headers... configure: error: Cannot find ssl headers

Please let me know what to do next.

Thanks
Jatin


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Nagios NRPE: Unable to read output

2010-03-26 Thread Grizonic Alen
Hello!

I know that this post is nothing new, but I still didn't find any solution for 
it.

I am working on a AIX 5.3 machine with NRPE running under inetd.

On the local AIX machine the command for TSM works fine ...

# ./tsmonitor db
db - database utilization 0%, OK

But when I start if from the Nagios server ...

# ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db
NRPE: Unable to read output

or from the AIX machine with the NRPE I get ...

# ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db
NRPE: Unable to read output

The nrpe.cfg file is properly configured with the commands

command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db
command[check_disk/]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /

Where check_disk/ works fine, but tsmonitor_db NOT!

Any suggestions?


Best regards,

Alen
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] NSCA and Windows

2010-03-26 Thread Natxo Asenjo
On Fri, Mar 26, 2010 at 3:13 PM, Klein, Oliver okl...@nccms.de wrote:



 Hi Kevin,



 thx i think that is what we need. But I have some problems to get this 
 plugins work with nsclient. Any idea about this?

 This is the error massage in syslog on the nagios server



 Mar 26 15:04:41 nagios nagios: EXTERNAL COMMAND: 
 PROCESS_SERVICE_CHECK_RESULT;sonicwall2;C:\NSCLIENT++\scripts\check_cpu.exe;3;Command
  was not found:

 Mar 26 15:04:41 nagios nagios: Warning:  Passive check result was received 
 for service 'C:\NSCLIENT++\scripts\check_cpu.exe' on host 'sonicwall2', but 
 the service could not be found!

Actually, that is quite a good error message.

 So I define the following option in the nsc.ini



 [External Scripts]

 ;check_es_long=scripts\long.bat

 ;check_es_ok=scripts\ok.bat

 ;check_es_nok=scripts\nok.bat

 ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs

 ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe 
 -command -

 check_cpu=scripts\check_cpu.exe

What you have defined is the handler 'check_cpu' In this section
[External Scripts]. Those are for NRPE if I recall correctly although
I never used that section for NRPE, I use [NRPE Handlers] instead for
my custom commands.

 [NSCA Commands]

 ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4

 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page

 ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService

 ;host_check=check_ok

 C:\NSCLIENT++\scripts\check_cpu.exe

and here you have not defined anything, there is no LHS=RHS
combination. I suppose that what you meant is
check_cpu=scripts\check_cpu.exe. Restart the nsclientpp service and
try again.

-- 
groeten,
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Nagios NRPE: Unable to read output

2010-03-26 Thread Marquez, Quentin
Hi Alen,

 

I don't know much about this plugin, but it looks like your command
requires root permission.

Thus you would need to setup a sudo command to run
/usr/local/nagios/libexec/tsmonitor db

Then use your new sudo command in your nrpe.cfg :

command[tsmonitor_db]=sudo /usr/local/nagios/libexec/tsmonitor db

 

Cheers,

Quentin

 

From: Grizonic Alen [mailto:alen.grizo...@comparex.si] 
Sent: 26 March 2010 15:17
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios NRPE: Unable to read output

 

Hello!

 

I know that this post is nothing new, but I still didn't find any
solution for it.

 

I am working on a AIX 5.3 machine with NRPE running under inetd.

 

On the local AIX machine the command for TSM works fine ...

 

# ./tsmonitor db

db - database utilization 0%, OK

 

But when I start if from the Nagios server ... 

 

# ./check_nrpe -n -t 60 -H 172.21.100.121 -c tsmonitor_db

NRPE: Unable to read output

 

or from the AIX machine with the NRPE I get ...

 

# ./check_nrpe -n -t 60 -H localhost -c tsmonitor_db

NRPE: Unable to read output

 

The nrpe.cfg file is properly configured with the commands

 

command[tsmonitor_db]=/usr/local/nagios/libexec/tsmonitor db

command[check_disk/]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/

 

Where check_disk/ works fine, but tsmonitor_db NOT!

 

Any suggestions?

 

 

Best regards, 

 

Alen


This e-mail has come from Experian, the only business to have been twice named 
the UK's 'Business of the Year’ 

===
Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. 
Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take your 
own steps to ensure that they are actually virus free. 
Companies Act information:
Registered name: Experian Limited 
Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, 
NG80 1ZZ, United Kingdom
Place of registration: England and Wales 
Registered number: 653331

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] NSCA and Windows

2010-03-26 Thread Natxo Asenjo
hi,

now I realize that you are using nsca. I have never used that, so my
previous posting may not work at all. I misread your question, sorry.

--

groeten,
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Checking Windows Backup (ntbackup)

2010-03-26 Thread gtj

Hi,

I've had a look around and I can't see a plugin for checking if a standard
windows backup (using ntbackup) has been successful or not. A requirement
has come up for me to monitor this on a Win XP based host. Am I missing
something, or does someone have a plugin that will do this?

Thanks,

Glynne



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Drop in replacement for check_ping wit hout performance output when device down

2010-03-26 Thread Jelle Smet
Andreas Ericsson ae at op5.se writes:
 
 Use check_icmp instead. It does something like that, iirc.
 
Yes indeed, but it has 2 extra performance output values rtmax and rtmin.
This makes pnp4nagios complain it now receives 4 values instead of 2 and as a
result not updating the graphs...

Adding DS's to all RRD's would bring me too far 






--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Drop in replacement for check_ping wit hout performance output when device down

2010-03-26 Thread Jelle Smet
 
 Use check_icmp instead. It does something like that, iirc.
 

Hi Andreas, 

When untarring nagios-plugins-1.4.13.tar.gz there's already a compiled version
sitting nagios-plugins-1.4.13/plugins-root/check_icmp which has the behaviour
you were referring to.  It has only 2 performance output parameters.

Although when compiling the complete nagios-plugins package I end up with
check_icmp in libexec which has 4 performance output parameters.

The first one is the one I'm going to use now in my dev env.

Thanks for pointing out,

jelle





--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Checking Windows Backup (ntbackup)

2010-03-26 Thread Joseph L. Casale
I've had a look around and I can't see a plugin for checking if a standard
windows backup (using ntbackup) has been successful or not. A requirement
has come up for me to monitor this on a Win XP based host. Am I missing
something, or does someone have a plugin that will do this?

I just finished revamping this very process. I used to use nsca but I wanted to
use a better approach that was easier to maintain and didn't have unneeded deps
on my Nagios server.

At the start of my script, I bring a passive check into a warning state with an
snmp trap, at the end of my script, I check exit codes and now send an snmp trap
based on this code as to whether or not it failed or passed.

A freshness check makes sure it even ran, and alerts on the status of it 
failing.

Works very well.

For the record, my trap parsing is very flexible in that one script handles the 
passive
check updates for any service based on the service name.

Hth,
jlc

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Does anyone have event log monitors that *work*?

2010-03-26 Thread C. Bensend

 Likewise please ask again if you're still stuck.  I don't mind having
 another bash at some of these issues when I have a minute.

 I just read your thread on the NSClient++ forum too.  I have found
 that whenever I try to combine too many matches in one check it simply
 doesn't work right (can't remember the precise details).  So I
 normally try to match on as few things as possible for each check even
 if that means I'm casting the net maybe a little wider than I'd really
 like.

Thanks everyone for your suggestions...  In the end, I gave up on
using either NSClient++ or the Nagios EventLog Agent to check my
windows event logs.  While I certainly will admit the problem
still may have been with me, I have come to the conclusion that
either they're not designed to do what I needed (to find a single
event ID) or they're inconsistent/under-documented.

I ended up going with check_logfiles from ConSol:

http://labs.consol.de/lang/en/nagios/check_logfiles/

Not only are the developers responsive, but it *works*.  I use
it with a very flexible definition via NSClient++, and so far
it's performing *exactly* like I need.  :)

Thanks again, everyone!

Benny


-- 
Whoever said that hell hath no fury like a women scorned never
owned a cat.
  -- bash.org


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Unable to install NRPE Addon

2010-03-26 Thread Jatin Davey
Thanks Assaf. Appreciate your timely response in this regard.

Thanks
Jatin

On 3/26/2010 6:53 PM, Assaf Flatto wrote:
 Jatin Davey wrote:

 Hi

 While installing the NRPE addon , i am unable to issue the make all command.

 Following the NRPE documentation, first i did ./configure command and
 then when i gave the make all command , it shows me the following error:

 [r...@pc-linux-1 nrpe-2.12]# make all
 make: *** No rule to make target `all'.  Stop.

 I noticed the last step of the ./configure output was as below:

 checking for closesocket... no
 checking for socklen_t... yes
 checking for type of socket size... size_t
 checking for SSL headers... configure: error: Cannot find ssl headers

 Please let me know what to do next.

 Thanks
 Jatin


  
 run ./configure --disable-ssl
 and after that run the make command .

 Or if you want ssl , install the openssl and openssl-devel packages for
 your distribution .

 Assaf



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Unable to install NRPE Addon

2010-03-26 Thread Jatin Davey
Thanks Raymond. Appreciate your timely response in this regard.

Thanks
Jatin

On 3/26/2010 7:52 PM, Raymond Setchfield wrote:
 Hi

 You will need to install openssl-devel on your machine this will resolve the
 SSL headers issue

 Thanks

 Raymond

 -Original Message-
 From: Jatin Davey [mailto:jasho...@cisco.com]
 Sent: 26 March 2010 13:21
 To: Nagios Mailinglist
 Subject: [Nagios-users] Unable to install NRPE Addon

 Hi

 While installing the NRPE addon , i am unable to issue the make all command.

 Following the NRPE documentation, first i did ./configure command and
 then when i gave the make all command , it shows me the following error:

 [r...@pc-linux-1 nrpe-2.12]# make all
 make: *** No rule to make target `all'.  Stop.

 I noticed the last step of the ./configure output was as below:

 checking for closesocket... no
 checking for socklen_t... yes
 checking for type of socket size... size_t
 checking for SSL headers... configure: error: Cannot find ssl headers

 Please let me know what to do next.

 Thanks
 Jatin

 
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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