Re: [Nagios-users-br] Parou de enviar e-mail

2007-07-13 Thread Jose Oliveira
Olá

Pergunta dificil a sua...

Tente verificar o DNS Server que o sendmail utiliza. Sem DNS, sem email.

Use o comando  mail -q para ver se as mensagens estão enfileirando
no servidor do Nagios ou se estão saindo dele e agarrando em outro
lugar...

Se responder com uma listona, é porque está enfileirando no seu proprio
servidor e ai, a resolução fica um pouco mais fácil...


Em 11/07/07, Hermógenes Junior [EMAIL PROTECTED] escreveu:

 Oi pessoal, a alguns dias configurei o Nagios, estava tudo perfeito,
 enviando email para uma conta do gmail e esta conta redirecionando para um
 numero da Claro, mais parou derrepente de enviar, testei pelo shell o
 envio
 e tb não vai

 echo teste | mail teste teste [EMAIL PROTECTED]

 estava tudo funcionando de boa, não sei o q pode ter acontecido, alguma
 ideias, abraços!
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki




-- 

Abraços
JGeraldo
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users-br] Parou de enviar e-mail

2007-07-13 Thread Hermógenes Junior
Isso, é local mesmo, não chega em nenhum e-mail, nem no G-mail!

Jose, utilizei o comando mail -q como sugerido por vc e ele me retornou
isso:

bash-3.00# mail -q
Send options without primary recipient specified.
Usage: mail -eiIUdFntBDNHRV~ -T FILE -u USER -h hops -r address -s SUBJECT
-a FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS users

==

Em 12/07/07, CaFeCrAfT [EMAIL PROTECTED] escreveu:

 Esse E-mail chega no Gmail ? parece ser um problema no servidor de Email
 local.


 Em Qua, 2007-07-11 às 21:39 +, Hermógenes Junior escreveu:

  Oi pessoal, a alguns dias configurei o Nagios, estava tudo perfeito,
  enviando email para uma conta do gmail e esta conta redirecionando para
 um
  numero da Claro, mais parou derrepente de enviar, testei pelo shell o
 envio
  e tb não vai
 
  echo teste | mail teste teste [EMAIL PROTECTED]
 
  estava tudo funcionando de boa, não sei o q pode ter acontecido, alguma
  ideias, abraços!
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users-br] Parou de enviar e-mail

2007-07-13 Thread Jose Oliveira
Olá

Dsculpe

É tanto comando no Linux que às vezes embola...  Não é mail -q  . É
mailq

Tenta ai...

Deve aparecer algo como abaixo:
[EMAIL PROTECTED] root]# mailq
/var/spool/mqueue is empty
Total requests: 0


Se aparecer muitas linhas, é sinal que o seu servidor de nagios não está
conseguindo falar com o seu mail gateway.



Em 13/07/07, Hermógenes Junior [EMAIL PROTECTED] escreveu:

 Isso, é local mesmo, não chega em nenhum e-mail, nem no G-mail!

 Jose, utilizei o comando mail -q como sugerido por vc e ele me retornou
 isso:

 bash-3.00# mail -q
 Send options without primary recipient specified.
 Usage: mail -eiIUdFntBDNHRV~ -T FILE -u USER -h hops -r address -s SUBJECT
 -a FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS users

 ==

 Em 12/07/07, CaFeCrAfT [EMAIL PROTECTED] escreveu:
 
  Esse E-mail chega no Gmail ? parece ser um problema no servidor de Email
  local.
 
 
  Em Qua, 2007-07-11 às 21:39 +, Hermógenes Junior escreveu:
 
   Oi pessoal, a alguns dias configurei o Nagios, estava tudo perfeito,
   enviando email para uma conta do gmail e esta conta redirecionando
 para
  um
   numero da Claro, mais parou derrepente de enviar, testei pelo shell o
  envio
   e tb não vai
  
   echo teste | mail teste teste [EMAIL PROTECTED]
  
   estava tudo funcionando de boa, não sei o q pode ter acontecido,
 alguma
   ideias, abraços!
  
 
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki




-- 

Abraços
JGeraldo
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users] Getting Nagiosgraph to create RRD files with LAST/MAX/MIN CF's

2007-07-13 Thread Jim Avery
On 13/07/07, Ian Marlier [EMAIL PROTECTED] wrote:
 - Is there a better tool than nagiosgraph for doing what I'm doing (creating
 RRD files from service-perfdata files), especially given that I'm not
 particularly interested in nagiosgraph's actual graphing ability?


I don't know if it's better or would make your problem any easier to
solve, but PNP is probably worth looking at.
http://www.ederdrom.de/doku.php/nagios/pnp_en  I find it very easy to
install and use, but I've not yet tried graphing max/min rather than
the default average with it.

I've never tried NagiosGraph myself.

hth,

Jim

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] SIGEXIT shutting down Nagios 2.9 on Solaris 10

2007-07-13 Thread Andrea Gabellini
Klaus,

this bug is fixed in CVS. Install from it or apply the attached patch to 2.9 
source.

Andrea

Bonaparte, Klaus wrote:
 We've been running Nagios 2.9 on Solaris 10 for a few weeks now and have
 noticed our Nagios server suddenly shutting down with the following in
 nagios.log:
 
 [1184189631] Caught SIGEXIT, shutting down...
 
  
 
 No one has been logged in at the time of these failures and nothing else
 is in the log files. Is there a known bug in Nagios 2.9? I've never seen
 this with the Nagios 2.4 we run on another Solaris 10 server and we are
 considering downgrading our Nagios 2.9 to Nagios 2.4 since it has been
 more stable.
 
  
 
 Thanks,
 
 Klaus
 
  
 
 
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 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

-- 

---
Feed the homeless to the hungry
---
Ing. Andrea Gabellini
Email: [EMAIL PROTECTED]
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.omniway.sm  http://www.telecomitalia.sm
--- base/nagios.c.orig  2007-04-17 10:52:43.37039 +0200
+++ base/nagios.c   2007-04-17 10:56:46.452195000 +0200
@@ -142,7 +142,7 @@
 
 int sigshutdown=FALSE;
 int sigrestart=FALSE;
-char
*sigs[]={EXIT,HUP,INT,QUIT,ILL,TRAP,ABRT,BUS,FPE,KILL,USR1,SEGV,USR2,PIPE,ALRM,TERM,STKFLT,CHLD,CONT,STOP,TSTP,TTIN,TTOU,URG,XCPU,XFSZ,VTALRM,PROF,WINCH,IO,PWR,UNUSED,ZERR,DEBUG,(char
 *)NULL};
+extern char **sigs;
 int caught_signal=FALSE;
 int sig_id=0;
 
--- base/utils.c.orig   2007-04-17 10:52:34.218343000 +0200
+++ base/utils.c2007-04-17 10:58:40.339805000 +0200
@@ -76,7 +76,7 @@
 
 extern int  sigshutdown;
 extern int  sigrestart;
-extern char **sigs;
+char
*sigs[]={EXIT,HUP,INT,QUIT,ILL,TRAP,ABRT,BUS,FPE,KILL,USR1,SEGV,USR2,PIPE,ALRM,TERM,STKFLT,CHLD,CONT,STOP,TSTP,TTIN,TTOU,URG,XCPU,XFSZ,VTALRM,PROF,WINCH,IO,PWR,UNUSED,ZERR,DEBUG,(char
 *)NULL};
 extern int  caught_signal;
 extern int  sig_id;
 
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] error running nrpe

2007-07-13 Thread stephen . kitchener
Hi,

I have compiled and installed nrpe-2.8.1 and nagios-plugins-1.4.9, but 
when I run then daemon on my system I get the following error

/usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg -d

/usr/lib/hpux32/dld.so: Unsatisfied data symbol 'rfc931_timeout' in load 
module '/usr/lib/hpux32/libwrap.so'.
Killed

The system is a HPUX 11.23 itainium IA64, 
cc: HP C/aC++ B3910B A.06.13 [Nov 27 2006]
make is the installed one - not a GNU Version

Does anyone have hints or solutions to help make this work please ??

Thanks

Stephen Kitchener
ITC
ACI Worldwide (EMEA) Ltd

tel: 01923812885
email: [EMAIL PROTECTED]

This e-mail message and any attachments may contain confidential, 
proprietary or non-public information.  This information is intended 
solely for the designated recipient(s).  If an addressing or transmission 
error has misdirected this e-mail, please notify the sender immediately 
and destroy this e-mail.  Any review, dissemination, use or reliance upon 
this information by unintended recipients is prohibited.  Any opinions 
expressed in this e-mail are those of the author personally.

---
ACI Worldwide (EMEA) Limited. Registered in England and Wales (Registered 
no. 2310474).
Registered Office: 59 clarendon road, Watford, Hertfordshire. WD17 iFQ, 
United Kingdom

This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] check_url

2007-07-13 Thread kyle
Guille wrote:
 Hello im having troubles using the check_url; via terminal (with root and 
 nagios users)
 works fine but via nagios i always im receiving the same error.
 
 UNKNOWN: /usr/bin/wget --output-document=tmp_html --no-check-certificate -S 
 returns no
 result! 

obviously wget doesn't output any status info so nagios cannot know whether
that check went OK, WARNING, CRITICAL or UNKNOWN. Write a wrapper script for
it or use the standard check_http pluging included with nagios-plugins v1.4.x


-- 
Backup not found: (A)bort, (R)etry, (P)anic?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Distributed setups

2007-07-13 Thread Mark Wagner
Steve Shipway s.shipway at auckland.ac.nz writes:

 
  We're currently looking at creating a distributed setup using
  NSCA. One thing that I've found no mention of is how the host and
  service commands are forwarded.
 
 I think they are not.
 
  Even if the central machien does all the notifications (as we're
  planning), completely dis/enabling service/host checks would have
  to be distributed from the central machine to the checking
  machines.
 
 This is the biggest disadvantage of the distributed model, in my opinion
 - enable/disable checks commands are not propagated (and indeed cannot
 be without some serious reworking of the cmd.cgi interface) and so you
 cannot stop checking any more.
 
 However this is not such a big issue, as mostly you are more interested
 in scheduling downtime and disabling/acknowledging alerts, all of which
 are done on the central server.  The satellite servers (collectors) do
 not do notifications, only pass the status on to the central server
 (aggregator) via the OCSP command.
 
 If I was obsessive about it, I'd modify the cmd.cgi script so that it
 spots a distributed service (no active checks, only freshness checks to
 set to 'unknown') and forwards to call to the host managing it (which
 I'd have to store the definition of in a separate database table or
 something).  Too much trouble though, particularly since our users are
 forever clicking 'disable checks' when they actually mean 'disable
 alerts' or 'acknowledge'.

It is an issue in the following situation: you have a backup aggregator. All the
collectors send results to both the primary and backup. The backup aggregator
watches the primary aggregator. If the primary goes down it starts sending out
notifications. In this case all the acked problems on the primary aggregator
will be sent out when the backup takes over.

The idea I'm toying with is to have cgi.cfg point to a different
main_config_file. This main_config_file will be identical to the real
main_config_file but have a different command_file. There will be a process
listening on this command_file that will write the result to the real 
command_file
and also forwards it to a daemon listening on the backup aggregator. This daemon
will write to the command_file on the backup. Viola', all commands from the CGIs
automatically get sent to the backup aggregator.


-- 
Mark Wagner [EMAIL PROTECTED]
System Administrator, UW Medicine IT Services
206-616-6119

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 file status

2007-07-13 Thread Robert Fitzpatrick
We'd like to monitor the status of our huge file share and be notified
of any major changes if a rogue employee were to empty or delete the
files. Maybe set a threshold of number of files changed? Is there any
suggestions on how this could be done with Nagios?

-- 
Robert


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] not able to access http://localhost/nagios/cgi-bin/

2007-07-13 Thread Gagandeep Singh
I can access nagios by typing /localhost/nagios/ from the web console.  But 
when i try to access /localhost/nagios/cgi-bin/ it says 403 FORBIDDEN you 
don't have permission to access /localhost/nagios/cgi-bin/ on this server.  I 
have followed the documentation.  I have set the scriptalias and everything.  
The .htaccess and htaccess.users file are in the right directories.  I dont 
understand what is going on?  Maybe I need to place the .htaccess file under 
/user/local/nagios/share also?  Don't know what is causing this problem.

  Can somebody give me a idea what could be wrong
   
  Thanks
   
  Gagan Rakkar

   
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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