Re: [Nagios-users-br] Monitorar serviços do windows (SQL SERVER, etc)

2009-01-07 Thread Sergio Gomes Lima
Caro Pedro,
Com o NsClient++ você pode monitorar:

   - Disco
   - Memória
   - CPU
   - Espaço em um pasta
   - Arquivos
   - Serviços
   - Processos


2009/1/4 pedro luiz nunes pinholato pedrolnp...@gmail.com

 Pessoal,

 Uso o Nagios 3 no Slackware, o que eu gostaria de saber é:
 Eu preciso monitorar alguns serviços do Windows como o SQL SERVER, MySQL,
 Oracle, Active Directory entre outros, eu achava que todos os plugins que
 vinham por padrao com o nagios funcionavam no windows, mas não eles são
 apenas pra Linux, eu queria saber como eu faço para monitorar esses
 serviços
 em servidores windows, e o que é preciso instalar neles, pois ja cheguei a
 baixar alguns checks para esses serviços, mas não sei como usá-los.

 Se alguem ai souber como eu faço pra monitorar esses serviços eu agradeço
 muito.

 Obrigado.

 --
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
-- 
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] Monitorar serviços do windows (SQL SERVER, etc)

2009-01-07 Thread alexandercsq
Da pra monitorar tudo isso com Nsclient++ mas também da pra monitorar tudo com 
snmp também fiz assim e achei mais interessante, da pra usar o 
snmpwalk. Tem o centreon também que quando vc instala a tela do nagios
fica mais apresentável e mais fácil para gerenciar e ainda instala varios 
plugins.
$USER1$/check_centreon_snmp_multiple_process -H $HOSTADDRESS$ -C public -v2c -p 
$ARG1$, $ARG2$, $ARG3$, $ARG4$, $ARG5$
esse checa varios processos, por exemplo varias instancias do sql

De:Sergio Gomes Lima sepaf...@gmail.com

Para:Unofficial Brazilian (Portuguese) Nagios Users List 
nagios-users-br@lists.sourceforge.net

Cópia:

Data:Tue, 6 Jan 2009 21:35:54 -0300

Assunto:Re: [Nagios-users-br] Monitorar serviços do windows (SQL SERVER, etc)

 Caro Pedro,
 Com o NsClient++ você pode monitorar:
 
 - Disco
 - Memória
 - CPU
 - Espaço em um pasta
 - Arquivos
 - Serviços
 - Processos
 
 
 2009/1/4 pedro luiz nunes pinholato 
 
  Pessoal,
 
  Uso o Nagios 3 no Slackware, o que eu gostaria de saber é:
  Eu preciso monitorar alguns serviços do Windows como o SQL SERVER, MySQL,
  Oracle, Active Directory entre outros, eu achava que todos os plugins que
  vinham por padrao com o nagios funcionavam no windows, mas não eles são
  apenas pra Linux, eu queria saber como eu faço para monitorar esses
  serviços
  em servidores windows, e o que é preciso instalar neles, pois ja cheguei a
  baixar alguns checks para esses serviços, mas não sei como usá-los.
 
  Se alguem ai souber como eu faço pra monitorar esses serviços eu agradeço
  muito.
 
  Obrigado.
 
  --
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 
 --
 Check out the new SourceForge.net Marketplace.
 It is the best place to buy or sell services for
 just about anything Open Source.
 http://p.sf.net/sfu/Xq1LFB
 -- 
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki
 
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
-- 
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] Nagios nao grava dados

2009-01-07 Thread Shine
Experimentou escrever manualmente no DB e ver se escreve OK?
Viu se o Nagios não voltou a escrever de novo no log txt?
sd,
Edgar
2009/1/6 ikami ika...@yahoo.com.br

 Ola pessoal

 Refiz a instalação do Nagios3 para documentar passo a passo a instalação e
 configuração dele.
 O que ocorreu agora é que o Nagios não grava, ou não gera, os dados.
 Ex:
 1.Procurando por estatísticas em Availability - Hosts AllHosts ele
 retorna

 Host% Time Up% Time Down% Time Unreachable% Time
 Undetermined
 localhost0.000% (0.000%)0.000% (0.000%)0.000% (0.000%)
  100.000%
 Average0.000% (0.000%)0.000% (0.000%)0.000% (0.000%)
  100.000%

 2. Em Trends - Services - CurrentLoad
 O gráfico está em branco.

 Bom, para complicar as coisas, estou usando NDOUtils. Na primeira
 instalação que fiz ele gravava os dados no banco corretamente e a todo
 momento. Agora nenhum dado eh gravado (ou gerado, não sei o que está
 acontecendo).
 Como o Nagios ainda não está em produção posso simplismente reinstalar tudo
 mas antes gostaria de saber o que está acontecendo. Vai que
 acontece de novo no futuro!

 Os logs do nagios e do mysql nao reportam nada de anormal!

 Grato

 Íkami



  Veja quais são os assuntos do momento no Yahoo! +Buscados
 http://br.maisbuscados.yahoo.com

 --
 Check out the new SourceForge.net Marketplace.
 It is the best place to buy or sell services for
 just about anything Open Source.
 http://p.sf.net/sfu/Xq1LFB
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
-- 
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] nagios not sending sms through gnokii

2009-01-07 Thread J.VC
Fernando,

Which Nagios version are you using? 3.0.3? I've had the same problem untill 
i updated my Nagios installation to the latest version (december, 3.0.6).

Kind regards,

Dennis de Vries.

--
From: nagios-users-requ...@lists.sourceforge.net
Sent: Tuesday, January 06, 2009 7:43 PM
To: nagios-users@lists.sourceforge.net
Subject: Nagios-users Digest, Vol 32, Issue 2

 Send Nagios-users mailing list submissions to
 nagios-users@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 or, via email, send a message with subject or body 'help' to
 nagios-users-requ...@lists.sourceforge.net

 You can reach the person managing the list at
 nagios-users-ow...@lists.sourceforge.net

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Nagios-users digest...


 Today's Topics:

   1. Setting up NRPE on HP UX (Christian I?iguez)
   2. Re: Setting up NRPE on HP UX (jmose...@corp.xanadoo.com)
   3. Re: Setting up NRPE on HP UX (Kaplan, Andrew H.)
   4. Re: Setting up NRPE on HP UX (Kyle O'Donnell)
   5. Nagios 3.x spews debug output on configuration verify on
  RHEL3 systems (jmose...@corp.xanadoo.com)
   6. Re: Setting up NRPE on HP UX (C. Bensend)
   7. check_by_ssh for new linxux users.. shed some light...
  (Mirza Dedic)
   8. Re: check_by_ssh for new linxux users.. shed some light...
  (Patrick Morris)
   9. Re: check_by_ssh for new linxux users.. shed some light...
  (Satish Kumar P)
  10. Return code of 141 is out of bounds - SMTP Monitor (Duane Hill)
  11. Re: Return code of 141 is out of bounds - SMTP Monitor
  (jmose...@corp.xanadoo.com)
  12. nagios not sending sms through gnokii (fernando renegado)
  13. Re: nagios not sending sms through gnokii (Hugo van der Kooij)
  14. Re: Availability report: What does scheduled/unscheduled OK
  time mean (Uwe Kubosch)
  15. Email priority (Layne Meier)
  16. Re: Email priority (jmose...@corp.xanadoo.com)
  17. Re: Return code of 141 is out of bounds - SMTP Monitor
  (Duane Hill)
  18. Re: Email priority (Paul Weaver)
  19. Re: icons not displaying on Nagios 3.0.6 status map
  (Cherrington Stuart)
  20. Re: Return code of 141 is out of bounds - SMTP Monitor
  (jmose...@corp.xanadoo.com)
  21. $SERVICEOUTPUT$ empty in e-mail notifications (Gavin Henry)
  22. install (nadia kheffache)
  23. Re: $SERVICEOUTPUT$ empty in e-mail notifications (Marc Powell)
  24. Re: install (Marc Powell)
  25. Re: install (jmose...@corp.xanadoo.com)
  26. Critical - Socket Timeout After 10 Seconds (Frank M)


 --

 Message: 1
 Date: Mon, 5 Jan 2009 09:13:57 -0800 (PST)
 From: Christian I?iguez challenger_jos...@yahoo.com.mx
 Subject: [Nagios-users] Setting up NRPE on HP UX
 To: nagios-users@lists.sourceforge.net
 Message-ID: 650705.35606...@web36501.mail.mud.yahoo.com
 Content-Type: text/plain; charset=iso-8859-1

 Hi All!

 I have 2 machines with Unix HP UX, and I'd like to monitoring 
 them?installing nrpe, but I haven't found documentation or how to's about 
 it.

 On Linux plataform is working very well, but it's a kind of difficult to 
 do it on UNIX (HP UX)

 Does any body know how can perform this?

 Thanks in advance


  ?Todo sobre Amor y Sexo!
 La gu?a completa para tu vida en Mujer de Hoy.
 http://mx.mujer.yahoo.com/



 --

 Message: 2
 Date: Mon, 5 Jan 2009 12:03:54 -0600
 From: jmose...@corp.xanadoo.com
 Subject: Re: [Nagios-users] Setting up NRPE on HP UX
 To: Christian I?iguez challenger_jos...@yahoo.com.mx
 Cc: nagios-users@lists.sourceforge.net
 Message-ID:
 of47dd0a19.d8212565-on86257535.006239dd-86257535.00633...@corp.xanadoo.com

 Content-Type: text/plain; charset=ISO-8859-1

 Good documentation can be found at:

 http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

 Basically, you have to install NRPE on the host you want monitored *and*
 any plugins that NRPE daemon on that host will call.  If you want to
 monitor things specific to HP UX, then you'll have to write custom 
 plugins.
 You will also have to configure nrpe.cfg on the monitored host in order to
 define check commands, which Nagios hosts(s) are allowed to talk to the
 NRPE daemon, etc.

 Then you have to install the check_nrpe plugin on the Nagios host doing 
 the
 monitoring.

 Next, in the services config on the Nagios host, you have to define that
 you are checking a particular service via NRPE.  For example:

 check_command   check_nrpe!host.abc.com!check_nagios

 That tells Nagios that you want to check host 'host.abc.com' via NRPE and
 that the NRPE daemon on remote host.abc.com should call the check_nagios
 plugin (in order to see if Nagios is running on the remote host).

 This should get you started...


 James Moseley





 Christian I?iguez
 

[Nagios-users] Fwd: $SERVICEOUTPUT$ empty in e-mail notifications

2009-01-07 Thread Gavin Henry
-- Forwarded message --
From: Gavin Henry gavin.he...@gmail.com
Date: 2009/1/7
Subject: Re: [Nagios-users] $SERVICEOUTPUT$ empty in e-mail notifications
To: Marc Powell m...@ena.com


2009/1/6 Marc Powell m...@ena.com:

 On Jan 6, 2009, at 4:07 PM, Gavin Henry wrote:

 Version:

 /opt/nagios/bin/nagios -V

 Nagios 3.0.6

 Thanks.

 Example service definition (all services have the same problem):

 I was hoping to get a more complete picture of the information below
 but you seem to have all of the really key parts within inherited
 templates that weren't included. I'm at first trying to review your
 configuration and logic for errors.

OK. Just to point out, the onlt new notification is the jabber one,
everything else is as per a default source install of Nagios.

 define service{
usegeneric-service
host_name host.example.com
service_description PING
check_commandcheck_ping!100.0,20%!500.0,60%
 }

 What are the contacts/contact_groups for this service defined in the
 template? Please post the generic-service template.

As per defaults:

# Generic service definition template - This is NOT a real service,
just a template!

define service{
   namegeneric-service ; The 'name'
of this service template
   active_checks_enabled   1   ; Active service
checks are enabled
   passive_checks_enabled  1   ; Passive service
checks are enabled/accepted
   parallelize_check   1   ; Active service
checks should be parallelized (disabling this can lead to major
performance problems)
   obsess_over_service 1   ; We
should obsess
over this service (if necessary)
   check_freshness 0   ;
Default is to NOT
check service 'freshness'
   notifications_enabled   1   ; Service
notifications are enabled
   event_handler_enabled   1   ; Service event
handler is enabled
   flap_detection_enabled  1   ; Flap
detection is enabled
   failure_prediction_enabled  1   ;
Failure prediction
is enabled
   process_perf_data   1   ;
Process performance data
   retain_status_information   1   ; Retain status
information across program restarts
   retain_nonstatus_information1   ;
Retain non-status
information across program restarts
   is_volatile 0   ; The
service is not volatile
   check_period24x7; The
service can be
checked at any time of the day
   max_check_attempts  3   ;
Re-check the service up
to 3 times in order to determine its final (hard) state
   normal_check_interval   10  ; Check
the service every
10 minutes under normal conditions
   retry_check_interval2   ;
Re-check the service
every two minutes until a hard state can be determined
   contact_groups  admins  ;
Notifications get
sent out to everyone in the 'admins' group
   notification_optionsw,u,c,r ; Send
notifications about warning,
unknown, critical, and recovery events
   notification_interval   60  ;
Re-notify about service
problems every hour
   notification_period 24x7;
Notifications can be
sent out at any time
register0  ; DONT REGISTER
THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
   }



 Contact:

 define contact{
 contact_namenagiosadmin
 use   generic-contact
 alias   gavin.henry
 email   ghe...@suretecsystems.com
 pager   07930323266
 }

 Please post the generic-contact template. It includes the
 service_notification_commands and host_notification_commands
 specifications that needs to be verified.


# Generic contact definition template - This is NOT a real contact,
just a template!

define contact{
   namegeneric-contact ; The name
of this contact template
   service_notification_period 24x7;
service notifications
can be sent anytime
   host_notification_period24x7; host
notifications
can be sent anytime
   service_notification_optionsw,u,c,r,f,s ; send
notifications for all service states, flapping events, and scheduled
downtime events
   host_notification_options   

Re: [Nagios-users] $SERVICEOUTPUT$ empty in e-mail notifications

2009-01-07 Thread Gavin Henry
Example email notification:

* Nagios *

Notification Type: RECOVERY

Service: /var Free Space
Host: Suretec Office Server
Address: xxx.xxx.xxx.xxx
State: OK

Date/Time: Mon Jan 5 15:15:29 UTC 2009

Additional Info:



$SERVICEOUTPUT$ should be below Additional Info: which *is*
populated in the jabber message.

Thanks.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Notifications not working [was: Re: '$' symbol being appended to command_line?]

2009-01-07 Thread Alexis Hazell
On 22:56:13 Tue 06-Jan-09, Marc Powell wrote:
 Does your mail log on the nagios host show the message  
 being received and then sent further on?

i created a wrapper shell script around esmtp to allow me to call
it with the -X option, which allows one to log all mail traffic to
a file. Running the contents of command_line manually whilst su'd to
user 'nagios' works, with the log file containing the expected traffic
info. But when command_line is called by nagios itself as part of
the notification process, the log file is empty (and despite the '-v'
[i.e. verbose] option being used in the wrapper script).

i then moved on to trying to get notifications via IM - specifically
XMPP - using freetalk. This results in the same problem: the contents
of command_line work fine when run manually whilst su'd to nagios,
but don't when run as part of the notification process. And again,
i can confirm that command_line is being called, because:

command_line/usr/bin/printf %b * Nagios *\n\nNotification
Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ | cat 
/var/log/nagios/output.txt

results the notification process creating output.txt at the desired
location, containing the correct information.

Any suggestions as to what's going on here would be very much
appreciated!


Alexis.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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 3 Fails to play sound in browser

2009-01-07 Thread faris
Dear All,
 
I was using Nagios 2.x fine and it can play sound files when there is an alert. 
But nagios 3.x fails to play any sound files in my browser when there is an 
alert. Also i noticed that nagios 3.x does not comes with relevent wave files 
and i have enable it in the cgi.cfg file to play files and placed wav files in 
/usr/local/nagios/share/media/ directory. Still i nagios 3.x fails to play when 
there is a Alert!
 
Can anybody help me to fix this sound play issue in my nagios 3.x ?
 
Your help appreciated !
 
Thanks !
 


  --
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB___
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 3 Fails to play sound in browser

2009-01-07 Thread Marc Powell

On Jan 7, 2009, at 5:00 AM, faris wrote:

 Dear All,

 I was using Nagios 2.x fine and it can play sound files when there  
 is an alert. But nagios 3.x fails to play any sound files in my  
 browser when there is an alert.

There was a known issue fixed in 3.0.6. What specific version are you  
using?

3.0.6 - 12/01/2008

 * Fix for CGI submission of external commands (writing newlines  
and submitting service comments)
 * Fix for Apache group membership in RPM spec file
 * Fix for improper notification propagation command processing
 * Better out-of-disk-space error handling when writing retention  
and status files
 * Disabled adaptive check and eventhandler commands for security  
reasons
 * Fix for reading output from system commands (event handlers,  
etc) that have timed out
 * Added wildcard host matching in CGIs
  **   * Fixes for playing audio alerts in CGIs
 * Fix for incorrect host status links in status CGI when viewing  
hostgroup summary
 * Added support for x509 cert authentication in the CGIs

--
Marc


--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Fwd: $SERVICEOUTPUT$ empty in e-mail notifications

2009-01-07 Thread Marc Powell

On Jan 7, 2009, at 3:21 AM, Gavin Henry wrote:

 OK. Just to point out, the onlt new notification is the jabber one,
 everything else is as per a default source install of Nagios.

Many of the people who are best able to help you have been using  
nagios for so long with customized configs that they don't really know  
what the most recent default templates look like, and aren't likely to  
go research it. It's easier to assume that they're customized in some  
way anyway since that's the normal case.

  service_notification_commands
 notify-service-by-email,notify-by-jabber; send service  
 notifications
 via email

 Service Email notification:

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

 [1231294590] SERVICE NOTIFICATION:
 nagiosadmin;mail.suretecgroup.com;HTTP;OK;notify-service-by-email;HTTP
 OK - HTTP/1.1 302 Found - 0.002 second response time

I'm not seeing anything obviously wrong (but could be missing it).  
strange stuff. I would try simplifying the notification command as  
much as possible to test --

command_line /usr/bin/printf %b output: $SERVICEOUTPUT$  /tmp/ 
output.txt

See if /tmp/output.txt contains the expected text, then if successful,  
try the same with your notification command all the way through '...\n 
\n$SERVICEOUTPUT$' to eliminate /usr/bin/mail as a factor.

If not successful, try /bin/echo instead of '/usr/bin/printf %b'.

Using nagios-3, you also have easy access to debug mode which should  
provide useful information by setting debug_file and debug_level in  
nagios.cfg.

--
Marc




--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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 3 Fails to play sound in browser

2009-01-07 Thread James Pratt


 -Original Message-
 From: Dave Horsfall [mailto:da...@coreng.com.au]
 Sent: Wednesday, January 07, 2009 4:39 PM
 To: Nagios Users
 Subject: Re: [Nagios-users] Nagios 3 Fails to play sound in browser
 
 On Wed, 7 Jan 2009, Marc Powell wrote:
 
  There was a known issue fixed in 3.0.6. What specific version are
you
  using?
 
  3.0.6 - 12/01/2008
 
 Seeing as today is 8/1/09, I'm guessing you mean 1/12/08 :-)
 
 --
 Dave Horsfall DTM VK2KFU  Ph: +61 2 9552-5509 (direct) +61 2 9552-5500
(switch)
 Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont
2009, AU

Yes, that is what he meant - we North American's do it backwards... it's
1/7/09 here... (Talk about annoying, huh?)  ;)

Cheers,
jamie

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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 3 Fails to play sound in browser

2009-01-07 Thread Patrick Morris
On Wed, 07 Jan 2009, Dave Horsfall wrote:

 On Wed, 7 Jan 2009, Marc Powell wrote:
 
  There was a known issue fixed in 3.0.6. What specific version are you 
  using?
  
  3.0.6 - 12/01/2008
 
 Seeing as today is 8/1/09, I'm guessing you mean 1/12/08 :-)

We do things strangely here in the states. I'm guessing he meant
12/01/2008. :)

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Looking for a Nagios answering service

2009-01-07 Thread Baron Schwartz
My company is looking for an answering service who would:

   * watch Nagios email or SMS alerts 24/7
   * filter out obvious spam
   * response time must be on the order of minutes
   * call our on-call engineer, and once our engineer acks, the job is done.

This seems like it could be a great business opportunity, but I can't find 
anyone doing this.  There are tons of companies who'll do it for medical 
doctors.  This is very similar, but we need someone who is marginally technical.

Anyone know of anything like this?

Regards,
Baron

-- 
Baron Schwartz, Director of Consulting, Percona Inc.
Tel: +1 888 401 3401 ext 507 (Timezone: EST5EDT; GMT-5/GMT-4)
Skype: baron.schwartz AIM: bps7j
24/7 Emergency Line +1 888 401 3401 ext 911
Our Services: http://www.percona.com/services.html
Our Blog: http://www.mysqlperformanceblog.com/

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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 3 Fails to play sound in browser

2009-01-07 Thread Marc Powell

On Jan 7, 2009, at 4:38 PM, Patrick Morris wrote:

 On Wed, 07 Jan 2009, Dave Horsfall wrote:

 On Wed, 7 Jan 2009, Marc Powell wrote:

 There was a known issue fixed in 3.0.6. What specific version are  
 you
 using?

 3.0.6 - 12/01/2008

 Seeing as today is 8/1/09, I'm guessing you mean 1/12/08 :-)

 We do things strangely here in the states. I'm guessing he meant
 12/01/2008. :)

Thanks for coming to my 'defense' but I actually didn't mean  
anything :P I just copied it straight out of the changelog.

--
Marc

p.s. Didn't date-format jokes/trolls go out of style in like 788918400?

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Looking for a Nagios answering service

2009-01-07 Thread Rahul Nabar
On Wed, Jan 7, 2009 at 4:54 PM, Baron Schwartz ba...@percona.com wrote:


   * watch Nagios email or SMS alerts 24/7
   * filter out obvious spam
   * response time must be on the order of minutes
   * call our on-call engineer, and once our engineer acks, the job is done.



Maybe I am missing something. But what's the additional service provided
by this intermediate company, again? I'm just curious. Why cannot an
appropriately set notification-scheme directly targeting your on-call
engineer work? Isn't that the purpose of notification policies?

-- 
Rahul
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB___
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] Looking for a Nagios answering service

2009-01-07 Thread James Pratt


 -Original Message-
 From: Baron Schwartz [mailto:ba...@percona.com]
 Sent: Wednesday, January 07, 2009 5:55 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Looking for a Nagios answering service
 
 My company is looking for an answering service who would:
 
* watch Nagios email or SMS alerts 24/7
* filter out obvious spam
* response time must be on the order of minutes
* call our on-call engineer, and once our engineer acks, the job is
done.
 
 This seems like it could be a great business opportunity, but I can't
find
 anyone doing this.  There are tons of companies who'll do it for
medical
 doctors.  This is very similar, but we need someone who is marginally
technical.
 
 Anyone know of anything like this?
 
 Regards,
 Baron
 
 --


I tend to side with Rahul - if you cannot effectively utilize your
monitoring solution, you may as well let someone else do it *all* for
you - as noted, it's kind of redundant - I don't see a large business
model here... :\

... Or.. Perhaps people develop their own inhouse solution(s) using voip
and asterix(?)

http://www.voip-info.org/wiki/view/Use+Asterisk+for+Nagios+Notifications


in any case, there were a few google hits on these guys, but I think
it's outdated:

http://www.frontline-is.com/

not sure if they still do Nagios though... 

- jamie










--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Notifications not working [was: Re: '$' symbol being appended to command_line?]

2009-01-07 Thread Alexis Hazell
On 07:28:01 Wed 07-Jan-09, Marc Powell wrote:
 What's the real command_line that you're using for notifications?

For email:

command_line/usr/bin/printf %b * Nagios *\n\nNotification 
Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$ | /bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert: 
$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$

For XMPP:

command_line/usr/bin/printf %b * Nagios *\n\nNotification 
Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$ | /usr/bin/freetalk -s /var/log/nagios/notify.scm


 You could also redirect STDOUT/STDERR to a file to see if anything is  
 being reported there by adding '/tmp/output.txt 21' to the end of  
 the command_line.

Doing this showed that you are correct about it being a permissions
issue: nagios is running as user 'nagios' and group 'nagios', but
the /bin/mail and /usr/bin/freetalk commands are being run in an
environment where it seems that HOME=/root/ - the commands attempt to
access /root/.esmtprc and /root/.freetalk/, respectively, rather than
attempting to access /var/log/nagios/.esmtprc and
/var/log/nagios/.freetalk/ (where /var/log/nagios is HOME for user
nagios).

Obvious kludges are:

* copy the respective dot files to /root/ and either chmod them o+r
or chown them root.nagios;

* modify the command_line to use sudo to ensure /bin/mail and
/usr/bin/freetalk are run as user 'nagios'.

But surely there's a better alternative? What am i missing?


Alexis.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Looking for a Nagios answering service

2009-01-07 Thread RijilV
2009/1/7 Baron Schwartz ba...@percona.com

   * filter out obvious spam



mmm, I think you might be designing for failure with that one.

.r'
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB___
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 3 Fails to play sound in browser

2009-01-07 Thread Michael Gargiullo


-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: Wednesday, January 07, 2009 6:13 PM
To: Nagios Users
Subject: Re: [Nagios-users] Nagios 3 Fails to play sound in browser

snip

--
Marc

p.s. Didn't date-format jokes/trolls go out of style in like 788918400?




Nah, they got a new lease on life on 946684800.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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 and check_snmp

2009-01-07 Thread Eric Marquez
I have a question and I need to understanding around the
IF-MIB::ifOutOctets.x mib.  Here's what I'm doing...

I have nagios setup with check_snmp I want it to do this
 check_snmp --oid=IF-MIB::ifInOctets.235 -P 2c -l  -C 'community'  -H
switch.example.com

it returns back the following value.
OK - 2840686911 | IF-MIB::ifInOctets.235=2840686911c

I need to set a warning and critical alert at a certain level.
what does 2840686911 represent bits per second?

I need nagios to start warning at 75 Mbs and go critical at 95 Mbs.  I can't
get a handle on what the ifInOctets is telling me about the interface.  Can
somebody straighten me out.

Thanks in advance.
ebm
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB___
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 and check_snmp

2009-01-07 Thread Chris St. Pierre
On Wed, 7 Jan 2009, Eric Marquez wrote:

 it returns back the following value.
 OK - 2840686911 | IF-MIB::ifInOctets.235=2840686911c

 I need to set a warning and critical alert at a certain level.
 what does 2840686911 represent bits per second?

 I need nagios to start warning at 75 Mbs and go critical at 95 Mbs.  I can't
 get a handle on what the ifInOctets is telling me about the interface.  Can
 somebody straighten me out.

ifInOctets represents the number of octets that have been processed
since counting started (or last overflowed).  It does not represent
bits per second.  You'd have to track the rate of change in ifInOctets
if you wanted to get bits per second, and that'd be a much more
complicated plugin.

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University


--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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] Growing CPU utilization

2009-01-07 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/01/09 06:14 PM, Marc Powell wrote:
 On Jan 6, 2009, at 4:23 PM, Bryan Wann wrote:
 
 Through process of elimination, I think I've tracked it down to perl
 plugins. ePN is in use.  I'm tracking 11,309 services on 1,364  
 hosts, 26%
 of those service checks are perl (manubulon.com's check_snmp_mem,
 check_snmp_load) and the rest are C (check_icmp, check_snmp).
 
 Unless those perl plugins have been designed specifically to work with  
 ePN, then I wouldn't be too surprised to see oddness. ePN transforms  
 the plugin in a way that can cause unexpected breakage if the author  
 wasn't expecting it.
 
 http://nagios.sourceforge.net/docs/3_0/embeddedperl.html and 
 http://nagios.sourceforge.net/docs/3_0/epnplugins.html 
   as well as most archive postings by Stanley Hopcroft can provide  
 insight as well as some troubleshooting hints (like using contrib/ 
 mini_epn for testing, though I have doubts it would show a gradual  
 problem such as this).
 
 The simplest troubleshooting path may be to use the '# nagios: -epn'  
 flag to disable ePN processing on individual plugins (or all, then add  
 them back individually) to help identify the plugin that's causing the  
 issue.

I noticed the same thing; the system CPU time increase is directly
attributable to the memory leaks in Nagios and/or ePN.

That said, the speed at which memory leaks in Nagios 3.0 with the same
configuration and scripts is tremendously higher. There is very likely
some important leak(s) that got shipped with the 3.0.x release.

- --
Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJZYmI6dZ+Kt5BchYRAp3WAJ9SmUSQpYgGBRLk6GXIXtfHq9NU+QCgqEmY
8JaMF8NGrB0WlRACrmLW4y0=
=bYoW
-END PGP SIGNATURE-

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
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