[Nagios-users-br] Erro NRPE - check_disk

2006-02-13 Thread Lara Liz Rodrigues

Olá pessoal,

Vcs já tiveram o erro abaixo ao tentar monitorar o disco de uma máquina 
Windows, utilizando o nrpe/check_disk??


CHECK_NRPE: Socket timeout after 10 seconds.

Obrigada,
Lara


--



---
 Lara Liz Rodrigues
 Analista de Suporte

 Instituto Nacional de Pesquisas Espaciais - INPE
 Centro de Previsao de Tempo e Estudos Climaticos - CPTEC
 Divisao de Operaçoes - DOP
 Rodovia Presidente Dutra, km 40
 12630-000 - Cachoeira Paulista - SP - Brasil
 tel: (12)3186.8441   fax: (12)3101.2835
 email: [EMAIL PROTECTED]
 http://www.cptec.inpe.br
---






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Nagios-users-br mailing list
Nagios-users-br@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
http://news.gmane.org/gmane.network.nagios.user.brazil


Re: [Nagios-users-br] Erro NRPE - check_disk

2006-02-13 Thread Edgar Shine

Nao esta conseguindo nem conectar o nrpe.

sd,
Edgar

Lara Liz Rodrigues escreveu:


Olá pessoal,

Vcs já tiveram o erro abaixo ao tentar monitorar o disco de uma 
máquina Windows, utilizando o nrpe/check_disk??


CHECK_NRPE: Socket timeout after 10 seconds.

Obrigada,
Lara






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Nagios-users-br mailing list
Nagios-users-br@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
http://news.gmane.org/gmane.network.nagios.user.brazil


Re: [Nagios-users-br] Dúvidas sobre Plugins - NRPE

2006-02-13 Thread Edgar Shine
Geralmente eh um problema com versoes do nrpe q podem ser compilados com 
divrsas versoes de ssl.
Assegure-se de estar sempre usando as mesmas vs do nrpe na maquina 
servidor/cliente.


sd,
Edgar

Lara Liz Rodrigues escreveu:


Boa tarde a todos,

Obrigada a todos pelas considerações a minha dúvida.
Parece que as coisas estão agora começando a ficar mais claras.
Preciso basicamente checar discos, processos, memória, etc...de 
máquinas unix, linux e windows.

Meu servidor nagios está rodando numa máquina Linux Red Hat.
Instalei com NRPE nela e numa máquina client (Unix)
Tive que instalar o OPENSSL tb...
Parecia ir tudo muito bem
O teste do NRPE (telnet localhost 5666) tb deu certo.
Entretanto qdo tento monitorar o disco de uma máquina remota, estou 
tendo a seguinte msg:


CHECK_NRPE: Error - Could not complete SSL handshake.

Só pra deixar mais claro: (na máquina remota o arquivo nrpe.cfg):

command[check_disk]=/opt/nagios/check_disk -w 20 -c 10 -p /

Na máquina servidora do Nagios:
(está configurado os arquivos service.cfg e check_commands)

Alguém tem alguma dica que possa me ajudar ??
Esse erro parece estar relacionado ao OPENSSL, estou certa?

Obrigada desde já,
Lara
---
 Lara Liz Rodrigues
 Analista de Suporte

 Instituto Nacional de Pesquisas Espaciais - INPE
 Centro de Previsao de Tempo e Estudos Climaticos - CPTEC
 Divisao de Operaçoes - DOP
 Rodovia Presidente Dutra, km 40
 12630-000 - Cachoeira Paulista - SP - Brasil
 tel: (12)3186.8441   fax: (12)3101.2835
 email: [EMAIL PROTECTED]
 http://www.cptec.inpe.br
---






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642
___
Nagios-users-br mailing list
Nagios-users-br@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Archives: 
http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/

http://news.gmane.org/gmane.network.nagios.user.brazil





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Nagios-users-br mailing list
Nagios-users-br@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
http://news.gmane.org/gmane.network.nagios.user.brazil


[Nagios-users] Nagios cannot detect user

2006-02-13 Thread Matteo Corti
Hi,

I access nagios (2.0) through Apache and SSL (see below for the
configuration)
As expected Apache asks me to authenticate when loading the page but
nagios is not able to get my user name. In the tactical overview I see:

  Tactical Monitoring Overview
  Last Updated: Mon Feb 13 09:24:30 CET 2006
  Updated every 90 seconds
  Nagios® - www.nagios.org
  Logged in as ?

Since I am using authentication (use_authentication=1) I am not able to
access all the information pages.

If I set the default user everything works like a charm (i.e., the rest
of the configuration seems OK).

Many thanks for any hint.

Matteo


httpd.conf

# Force SSL
RewriteEngine On
RewriteLogLevel 0
RewriteCond %{HTTPS} off
RewriteRule ^/nagios(.*)  https://%{HTTP_HOST}/nagios$1 [L,R=permanent]

# For SSL-servers
ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi
Directory /usr/lib/nagios/cgi-bin
   Options ExecCGI
   SSLRequireSSL
   AllowOverride None
   Order allow,deny
   Allow from all
   AuthName Nagios Access
   AuthType Basic
   AuthUserFile /etc/nagios/htpasswd
   Require valid-user
/Directory

Alias /nagios /usr/share/nagios/html
Directory /usr/share/nagios/html
   Options FollowSymLinks
   SSLRequireSSL
   AllowOverride None
   Order allow,deny
   Allow from all
   AuthName Nagios Access
   AuthType Basic
   AuthUserFile /etc/nagios/htpasswd
   Require valid-user
/Directory



-- 
Matteo Corti
ETH Zurich
Informatikdienste / Basisdienste
[EMAIL PROTECTED]
+41 44 6327944


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] Additiona Info don't work with Win Server!

2006-02-13 Thread lkk

Thibault can you help me? 

This's my checkcommands.cfg: 

define command{ 
command_name notify-by-email 
command_line /usr/bin/printf %b * Nagios v2.0b4 *\n\nNotification 
Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$\n\n | /bin/mail -s ** $NOTIFICATIONTYPE$ alert - 
$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ 
} 


define command{ 
command_name host-notify-by-email 
command_line /usr/bin/printf %b * Nagios v2.0b4 *\n\nNotification 
Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: 
$HOSTADDRESS$\nDate/Time: $LONGDATETIME$\nInfo: $HOSTOUTPUT$\n\n  | /bin/mail 
-s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ 
} 


With Linux/Unix Servers work fine. I receive email with additional info. 
With Windows Servers don't work! Why? 

What can I do? 


Ths very much! 



Sei stanco di girare a vuoto? 
Con il nuovo motore di ricerca Interfree trovi di tutto. 
Vieni a trovarci: http://search.interfree.it/

Lo Staff di Interfree 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] monitor directory size?

2006-02-13 Thread HP Geeza
From what i can tell though check_snmp_storage.pl only allows you to check 
for particular kinds of storage settingswhat i need to do is monitor the 
size of a directory on a remote windows server for example, d:\data


i am using nsclient at the moment but can't monitor directory size (only 
disk space).  Is there a way to monitor a directories size via snmp




From: Hendrik Baecker [EMAIL PROTECTED]
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] monitor directory size?
Date: Mon, 13 Feb 2006 12:44:00 +0100

Google for: check_snmp_storage.pl


HP Geeza schrieb:


Hi All,

I was wondering whether it is possible to monitor the size of a directory 
(eg find out how big it is in in MB or GBs) and then send an alert when 
the size goes over a certain threshold?


Any help would be great!

_
The new MSN Search Toolbar now includes Desktop search! 
http://toolbar.msn.co.uk/




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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


_
Are you using the latest version of MSN Messenger? Download MSN Messenger 
7.5 today! http://messenger.msn.co.uk




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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 with SSL

2006-02-13 Thread Jim Perrin
 I am searching for howto about forcing ssl connection to nagios web
 interface, so it is a bit off topic but if you'd know an howto about how
 setting up a SSL virtual for nagios, or any like, i would greatly
 appreciate.


Apache's mod_rewrite is your friend.

RewriteEngine On
RewriteCond %{SERVER_PORT} ^80$
RewriteRule  ^/nagios(.*)  https://%{SERVER_NAME}/nagios$1 [R]



--
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety''
Benjamin Franklin 1775


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
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] I have a problem!!! Help

2006-02-13 Thread Marc Haber
On Mon, Feb 13, 2006 at 11:33:13AM -0300, João Paulo Vaz wrote:
 Internal Server Error
 
 
 The server encountered an internal error or misconfiguration and was unable
 to complete your request.
 
 Please contact the server administrator, [EMAIL PROTECTED] and inform them of
 the time the error occurred, and anything you might have done that may have
 caused the error.
 
 More information about this error may be available in the server error log.
 
   _  
 
 Apache/2.0.53 (Fedora) Server at 200.252.90.27 Port 80
 
  
 
  
 
 It will be that somebody could feel a help, because I already tried of
 everything and I don't get to solve.

Well, I have a gut feeling that more information about this error
might be available in the server error log.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] I have a problem!!! Help

2006-02-13 Thread Marc Haber
On Mon, Feb 13, 2006 at 11:49:21AM -0300, João Paulo Vaz wrote:
 [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] (13)Permission
 denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer:
 http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] [error]

Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi.

Sheesh.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] I have a problem!!! Help

2006-02-13 Thread João Paulo Vaz
Same yours I to place the maximum permission (chmod 777 for that file) still
yes I continue with the same problem, that not and the first time that I
install NAGIOS, but it is the first time that I come across that mistake.

João Paulo Vaz

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Haber
Sent: Monday, February 13, 2006 11:52 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] I have a problem!!! Help

On Mon, Feb 13, 2006 at 11:49:21AM -0300, João Paulo Vaz wrote:
 [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21] (13)Permission
 denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer:
 http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] [error]

Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi.

Sheesh.

Greetings
Marc

-- 

-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
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


AW: [Nagios-users] I have a problem!!! Help

2006-02-13 Thread Thomas . Zimmer
Do your cgis live in this directory? (/usr/lib/nagios/cgi/)
Does the apache user have full access to the directory (for test)?
Are you running SE linux?

Thomas Zimmer
Produktservice  Betrieb
Betrieb  Support
Sal. Oppenheim jr.  Cie., Frankfurt a. Main
Telefon: +49 69 7134 5192
Internet: http://www.oppenheim.de
E-Mail: [EMAIL PROTECTED]



-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von João Paulo
Vaz
Gesendet: Montag, 13. Februar 2006 16:06
An: nagios-users@lists.sourceforge.net
Betreff: RE: [Nagios-users] I have a problem!!! Help


This my configuration file:

ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi

Directory /usr/lib/nagios/cgi/
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
/Directory

Alias /nagios /usr/share/nagios

Directory /usr/share/nagios/
Options None
AllowOverride None
Order allow,deny
Allow from all
/Directory

João Paulo Vaz

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 11:58 AM
To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] I have a problem!!! Help

 Could you show us what your apache configuration file looks like as well.
What does the ScriptAlias section look like for your Nagios install?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Marc Haber
 Sent: February 13, 2006 9:52 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] I have a problem!!! Help
 
 On Mon, Feb 13, 2006 at 11:49:21AM -0300, João Paulo Vaz wrote:
  [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21]
  (13)Permission
  denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer:
  http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006] 
  [error]
 
 Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi.
 
 Sheesh.
 
 Greetings
 Marc
 
 --
 --
 ---
 Marc Haber | I don't trust Computers. They | 
 Mailadresse im Header
 Mannheim, Germany  |  lose things.Winona Ryder | Fon: 
 *49 621 72739834
 Nordisch by Nature |  How to make an American Quilt | Fax:
 *49 621 72739835
 
 
 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep
 through log files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  
 DOWNLOAD SPLUNK!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486;
dat=121642
 ___
 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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642
___
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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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



Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data


Re: [Nagios-users] Additiona Info don't work with Win Server!

2006-02-13 Thread Thibault Genessay

[EMAIL PROTECTED] wrote:

Thibault can you help me? 
 


Glad you ask, but ... er ... not that much actually

With Linux/Unix Servers work fine. I receive email with additional info. 
With Windows Servers don't work! Why? 
 

You probably don't use the same plugin for windows and linux so that's 
not directly related to the OS but rather to the plugin or, more 
probably, to the kind of output you get from your plugin.


Let's put what is spread on 3 different mails all together so that other 
users have a maximum amount of info. You have the following service 
notification configuration:


define command{ 
command_name notify-by-email 
command_line /usr/bin/printf %b * Nagios v2.0b4 *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\n | /bin/mail -s ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ 
} 

You use this as the notification command in your service definition, 
right ? So you should first start by naming it 'service-notify-by-email' 
for clarity's sake. Anyway you get the following mail


--
 Nagios v2.0b4  *

Notification Type: PROBLEM

Service: Used Disk D:
Host: myhost
Address: ip
State: CRITICAL

Date/Time: Mon Feb 13 15:42:45 CET 2006

Additional Info:

D:
--

Whereas the last line should be
D:\ - total: 63.80 Gb - used: 61.72 Gb (97%) - free 2.08 Gb (3%)

The problem obviously (imho at least) comes from this backslash. It does not look like a coincidence: one backslash and your output gets truncated just afterwards.  


It's very hard to figure out if and how backslashes get interpreted in the pipeline 
plugin  nagios  mail with bash popping in everywhere. I don't even know if 
you can rely on the fact that the command
printf %b D:\ - total: 63.80 Gb - used: 61.72 Gb (97%) - free 2.08 Gb (3%)\n | mail 
-s this is just a test [EMAIL PROTECTED]
works on the command line.

Ideas:
Try to redirect the mail body to a file rather than sending it, i.e. /bin/printf 
[...]  /tmp/somefilenagioscanwriteto and examine its content. Try to get your 
plugin not output this backslash you don't care about after all (that's what mine 
does actually). Give us more info on  you system, Nagios ver., service definition, 
check plugin, ...


--
Thibault



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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 with SSL

2006-02-13 Thread Francois Caen
On 2/13/06, Toto Capuccino [EMAIL PROTECTED] wrote:
 I am searching for howto about forcing ssl connection to nagios web
 interface

I typically just use a permanent redirect to force browsers who
connect on port 80 to go to the https site.
Redirect permanent /nagios https://my.domain.com/nagios

--
Francois Caen, RHCE, CCNA
SpiderMaker, LLC


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
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] I have a problem!!! Help

2006-02-13 Thread Hugo van der Kooij
On Mon, 13 Feb 2006, [iso-8859-1] João Paulo Vaz wrote:

 Same yours I to place the maximum permission (chmod 777 for that file) still
 yes I continue with the same problem, that not and the first time that I
 install NAGIOS, but it is the first time that I come across that mistake.

Maximum permissions in itself could be causing a failure as it violates
the apache security.

I suggest you pick up the apache documentation and verify the bit about
CGI and permissions and securiring it.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
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] Host notifications sent but not wanted

2006-02-13 Thread Radkon
I upgraded tonagios 2.0b4 and now whenever I get a service alert I also receive a host up alert. Even if i disable host notifications I still get a host up alert along with the service notification.


Anyone know how to turn off this feature :-). Thank you very much.

Conrad


Re: [Nagios-users] Host notifications sent but not wanted

2006-02-13 Thread Hugo van der Kooij
On Mon, 13 Feb 2006, Radkon wrote:

 I upgraded to nagios 2.0b4 and now whenever I get a service alert I also
 receive a host up alert. Even if i disable host notifications I still get
 a host up alert along with the service notification.

 Anyone know how to turn off this feature :-). Thank you very much.

I think 2.0b4 is rather old. The real 2.0 is out for some time now.

But having run 2.0b4 for quite a while I am puzzled as I have never seen
this.

So can you show an example of your host and service definition(s)?

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] Host notifications sent but not wanted

2006-02-13 Thread Radkon
Thanks for the response, this was my foolishness! I had host-notify-by-email set on the service_notifications for some reason.

Conrad
On 2/13/06, Hugo van der Kooij [EMAIL PROTECTED] wrote:
On Mon, 13 Feb 2006, Radkon wrote: I upgraded to nagios 2.0b4 and now whenever I get a service alert I also
 receive a host up alert. Even if i disable host notifications I still get a host up alert along with the service notification. Anyone know how to turn off this feature :-). Thank you very much.
I think 2.0b4 is rather old. The real 2.0 is out for some time now.But having run 2.0b4 for quite a while I am puzzled as I have never seenthis.So can you show an example of your host and service definition(s)?
Hugo.-- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED]
http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger.---This 
SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642___
Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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] Subdirectories in Nagios installation dir.

2006-02-13 Thread Jong-Geun Park
Hi,

I tried to install Nagios 2.0 on Fedora Core 4 according to the Nagios V. 2.0 documentation.

All of commands and options are same with those in the document.

But in the Nagios installation dirctory (/usr/local/nagios), there is no etc subdirectory.

What did I do some wrong?

-- Park, Jong-GeunEngineerServer Platform Research TeamInternet Server Technology GroupDigital Home Research DivisionETRI (Electronics  Telecommunications Research Institite)
Office : +82-42-860-1796 Fax : +82-42-860-6699Mobile : +82-50-2474-2474E-mail : [EMAIL PROTECTED]MSN : [EMAIL PROTECTED]
Homepage : www.cyberlation.net


Re: [Nagios-users] Subdirectories in Nagios installation dir.

2006-02-13 Thread Toto Capuccino
2006/2/14, Jong-Geun Park [EMAIL PROTECTED]:
Hi,Hi It depends on how you run ./configure.What options do you put ? Do you compile with make all  makeinstall?


Re: [Nagios-users] Subdirectories in Nagios installation dir.

2006-02-13 Thread Hugo van der Kooij
On Tue, 14 Feb 2006, Jong-Geun Park wrote:

 I tried to install Nagios 2.0 on Fedora Core 4 according to the Nagios V.
 2.0 documentation.

Have you tried to install with `yum install nagios`?

That is the fast lane and your config files live in /etc/nagios

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] out of office

2006-02-13 Thread Martin Schwarz

I will be out of the office starting  14.02.2006 and will not return until
15.02.2006.

I will have no access to my mail. In urgent cases call me on my mobile (
+491728491717 ) or contact Armin in munich ( -172 )



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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 cannot detect user

2006-02-13 Thread Matteo Corti
Dear Marc,

[...]
 ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi
 Directory /usr/lib/nagios/cgi-bin
Options ExecCGI
[...]
 
 I believe this is your problem. If the nagios cgi's truly live in
 /usr/lib/nagios/cgi, then the auth restrictions are not applied where
 they're needed. You're applying them to the wrong directory,
 /usr/lib/nagios/cgi-bin.
 
 You're being prompted to log in because the auth restrictions to the
 html directory _are_ working but that doesn't matter since the CGI's,
 that need to see the auth info, are in another directory.

Many thanks, whis was indeed the problem. I really didn't notice looking
at the config files since, without thinking too much, both
/usr/lib/nagios/cgi and /usr/lib/nagios/cgi-bin seemed reasonable.

Thanks again,

Matteo

-- 
Matteo Corti
ETH Zurich
Informatikdienste / Basisdienste
[EMAIL PROTECTED]
+41 44 6327944


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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