Re: [Nagios-users] Hardware RAID monitoring?

2011-12-19 Thread Marcel Galke - Trans4mation
Hey,

have you ever heard of IPMI? It was developed by Intel, Dell, HP and NEC for 
hardware monitoring.
Here is a good Introduction from the Open Source Monitoring Conference last 
month: http://www.netways.de/index.php?id=3035L=1
I haven’t used it yet, but I will give it a try.

Marcel


 -Original Message-
 From: Yu Watanabe [mailto:yu.watan...@jp.fujitsu.com]
 Sent: Monday, December 19, 2011 2:01 AM
 To: Nagios Users List
 Subject: Re: [Nagios-users] Hardware RAID monitoring?
 
 Hello Phil.
 
 Thank you for the reply.
 
 Yes. check_snmp nice if the snmp is supported.
 With this, you do not need to create additional scripts.
 
 Thanks,
 Yu
 
 Phil K. さんは書きました:
 And to tack on to Eero's point, HP servers are reasonably easy to monitor
 using the check_hpasm plugin. Hpasm runs under linux, though you may
 need to do some minor tweaking.
 
 Knowing what sort of hardware you're using would help. Check_snmp will
 likely cover a lot of what you want to monitor, depending on what the
 vendor offers.
 ~Phil
 --
 Phil Kennedy
 Yankee Air Museum
 Systems Admin
 phillip.kenn...@yankeeairmuseum.org
 
 Sent from my Android phone with K-9 Mail.
 
 Eero Volotinen eero.voloti...@iki.fi wrote:
 
 2011/12/16 Yu Watanabe yu.watan...@jp.fujitsu.com:
  Hi all.
 
  I would ask for advice if anyone has ever implemented Hardware RAID
 monitoring
  on LINUX and Windows. I am figuring out how to do this but bit struggling
  with ideas.
 
  I assume that sofware RAID status will depend on the api of the vendor
 software
  but Hardware RAID will be bit tricky.
 
  It would be helpful if one can share their experience of how the RAID
 status
  can be fetched.
 
 It depends on hardware. on dell hardware, the easiest way is use omsa
 ja check_openmanage ..
 
 --
 Eero
 
 _
 
 Learn Windows Azure Live! Tuesday, Dec 13, 2011
 Microsoft is holding a special Learn Windows Azure training event for
 developers. It will provide a great way to learn Windows Azure and what it
 provides. You can attend the event by watching it streamed LIVE online.
 Learn more at http://p.sf.net/sfu/ms-windowsazure
 _
 
 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
 
 _
 _
 
 --
 Learn Windows Azure Live!  Tuesday, Dec 13, 2011
 Microsoft is holding a special Learn Windows Azure training event for
 developers. It will provide a great way to learn Windows Azure and what it
 provides. You can attend the event by watching it streamed LIVE online.
 Learn more at http://p.sf.net/sfu/ms-windowsazure
 _
 _
 
 ___
 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
 
 
 --
 Learn Windows Azure Live!  Tuesday, Dec 13, 2011
 Microsoft is holding a special Learn Windows Azure training event for
 developers. It will provide a great way to learn Windows Azure and what it
 provides. You can attend the event by watching it streamed LIVE online.
 Learn more at http://p.sf.net/sfu/ms-windowsazure
 ___
 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

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
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] R: timing of passive check results

2011-12-14 Thread Marcel Galke - Trans4mation
Hey,

have you tried to debug the problem?
Try to re-schedule the check on the remote servers and look into the debug 
file, what does nagios after execution of the check? Is the ocsp command 
executed?
Is anything logged on either of the servers?

Do you have actually access to the remote servers?


Marcel


-Original Message-
From: Marco Borsani [mailto:m.bors...@it.net] 
Sent: Wednesday, December 14, 2011 11:46 AM
To: 'Andreas Ericsson'; 'Nagios Users List'
Subject: [Nagios-users] R: timing of passive check results

I have 2 remote servers, both with same configuration.

The remote server that does not send information (or could be the main that
does not process them?!!?) have about 50 services ... only 15 of them
(always the same, from same hosts) have this problem.

I use obsess method to send info from remote to main server and set an
higher timeout (ocsp_timeout=20)

Marco

-Messaggio originale-
Da: Andreas Ericsson [mailto:a...@op5.se] 
Inviato: mercoledì 14 dicembre 2011 11:12
A: Nagios Users List
Cc: Marco Borsani
Oggetto: Re: [Nagios-users] timing of passive check results

On 12/14/2011 10:09 AM, Marco Borsani wrote:
 Hi all
 
 I have more than 400 passive service checks in the main Nagios server, 
 but
 15 of them are updated only 1 time a day (always at the same time, 
 5:36 in the morning).
 
 In the remote servers the checks run every 5 minutes and in the main 
 server all the passive services have same configuration.
 

I'm guessing you have configured passive checks in more than one place on
the remote servers and just overlooked the fact. Things like this doesn't
happen by itself.

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

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


--
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
___
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

--
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
___
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] Event Handler Question

2011-07-27 Thread Marcel Galke - Trans4mation IT GmbH
Hey Chris,

have you taken a look into the Docu and verified that the used macros are 
available in your context? Have you tried the debug option?

Marcel


From: Chris Zimmerman [mailto:czim...@wczimmerman.dyndns.org] 
Sent: Wednesday, July 27, 2011 12:27 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Event Handler Question

I am having an issue with a very basic event handler on Nagios 3.2.3.  I have 
the event handler defined with 3 macros: $HOSTSTATE$ $HOSTSTATETYPE$ 
$HOSTADDRESS$ all passed to a wrapper shell script that takes each macro as 
$1, $2, and $3.  In the wrapper script I added some echo statements as part 
of my troubleshooting to figure out why my script wasn't working.  If I run 
the script manually and pass the arguments as I expect, the script runs fine.  
When Nagios executes it, as verified in the log, nothing is happening and it 
is because the first 2 arguments are not being passed to the script.  
Interestingly, the third one is passed to the script.  

So, what could be the issue with the command definition not passing the first 
2 arguments?

Thanks,
Chris

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
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] few questions that I can't find any info on

2011-07-20 Thread Marcel Galke - Trans4mation IT GmbH
Have you tried running the plugin from the command line? 
$user1/check_ace_failover -H hostname -P peername -C community 

Can you post the service definition and the corresponding command definition 
please.


-Ursprüngliche Nachricht-
Von: Jonathan Aquilina [mailto:eagles051...@gmail.com] 
Gesendet: Mittwoch, 20. Juli 2011 10:33
An: nagios-users@lists.sourceforge.net
Betreff: Re: [Nagios-users] few questions that I cant find any info on

Marcel I am defining the command with the -H switch using the primary 
load balancer ip and the -P with the 2ndary one. The man page on the 
nagios exchange is extremely vague.

http://exchange.nagios.org/directory/Plugins/Uncategorized/software/SNMP/Cisco-ACE-4700-Loadbalancer-failover-state-Check/details

On 19/07/2011 15:23, Marcel Galke - Trans4mation IT GmbH wrote:
 -Ursprüngliche Nachricht-
 Von: Jonathan Aquilina [mailto:eagles051...@gmail.com]
 Gesendet: Dienstag, 19. Juli 2011 09:23
 An: nagios-users@lists.sourceforge.net
 Betreff: [Nagios-users] few questions that I cant find any info on
 Hey guys first time poster to the list, but I have been using this great
 program for a few weeks now, I have a few questions
 1) I have been requested to work with some scripts and the first one im
 workign with is for the CISCO ACE 4700 Load balancer.

 i have the command defined in nagios ql command definitions. the command
 i am passing is as follows

 $USER1$/cisco_ace_failover -H PRIMARY IP -P SECONDARY IP -C $ARG1$

 where $ARG1$ i am passing the variable i created for each hosts snmp
 community that its a part of.

 When i set this command to active I get the following.

 Service check command COMMAND NAME specified in service SERVICE NAME for
 host HOST NAME not defined anywhere.

 Where should I define the command.

 2) I noticed there is a check called check_local_mrtgtraf can that check
 be adapted for remote hosts to check and monitor bandwidth on a CISCO
 ASA and ACE device. Also is it feasible to do hourly daily weekly
 monthly and yearly checks on bandwidth usage.
 Last question
 3) i have a check which monitors ram usage, how do I specify a range
 that will trigger a warning then once it goes above that range it goes
 critical. Currently I am doing this using an snmp check.

 Hello,

 I will try to answer questions 1 and 3:

 1) What's your complete command definition? Make sure you don't mix up 
 command_name and command_line in your configuration. Use the value defined 
 for command_name in your service definition.
 3) What tells you the --help switch of the plugin? Usually -w (warning) 
 and -c (critical) switches are used.


 Marcel

 --
 Magic Quadrant for Content-Aware Data Loss Prevention
 Research study explores the data loss prevention market. Includes in-depth
 analysis on the changes within the DLP market, and the criteria used to
 evaluate the strengths and weaknesses of these DLP solutions.
 http://www.accelacomm.com/jaw/sfnl/114/51385063/
 ___
 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


--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
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

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
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] few questions that I can't find any info on

2011-07-20 Thread Marcel Galke - Trans4mation IT GmbH
I've never seen a CISCO ACE yet. If you're sure file permissions and config 
files are set up correct, try out different values for the -H and -P switches. 
On the command line you can't use the Nagios macros like $ARG1$ and $USER1$ off 
course.

-Original Message-
From: Jonathan Aquilina [mailto:eagles051...@gmail.com] 
Sent: Wednesday, July 20, 2011 11:55 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] few questions that I can't find any info on

I tried from commandline and it failed as well. :(

My question is more along the line this

hostname = Primary loadbalancer ip? or ip of client
peer = ip of 2ndary balancer?

$USER1$/cisco_ace_failover -H 192.168.2.224 -P 192.168.2.225 -C $ARG1$ -t 30

Where arg1 = variable i created for the clients various snmp communities.

On 20/07/2011 11:46, Marcel Galke - Trans4mation IT GmbH wrote:
 Have you tried running the plugin from the command line? 
 $user1/check_ace_failover -Hhostname  -Ppeername  -Ccommunity

 Can you post the service definition and the corresponding command definition 
 please.


--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
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] few questions that I can't find any info on

2011-07-20 Thread Marcel Galke - Trans4mation IT GmbH
Have you tried -d switch for debugging?

From: Jonathan Aquilina [mailto:eagles051...@gmail.com]
Sent: Wednesday, July 20, 2011 2:07 PM
To: Nagios Users List
Subject: Re: [Nagios-users] few questions that I can't find any info on


I have been trying on command line but it times out for me with various values
On Jul 20, 2011 2:04 PM, Marcel Galke - Trans4mation IT GmbH 
marcel.ga...@trans4mation.demailto:marcel.ga...@trans4mation.de wrote:
 I've never seen a CISCO ACE yet. If you're sure file permissions and config 
 files are set up correct, try out different values for the -H and -P 
 switches. On the command line you can't use the Nagios macros like $ARG1$ and 
 $USER1$ off course.

-Original Message-
From: Jonathan Aquilina 
[mailto:eagles051...@gmail.commailto:eagles051...@gmail.com]
Sent: Wednesday, July 20, 2011 11:55 AM
To: 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] few questions that I can't find any info on

I tried from commandline and it failed as well. :(

My question is more along the line this

hostname = Primary loadbalancer ip? or ip of client
peer = ip of 2ndary balancer?

$USER1$/cisco_ace_failover -H 192.168.2.224 -P 192.168.2.225 -C $ARG1$ -t 30

Where arg1 = variable i created for the clients various snmp communities.

On 20/07/2011 11:46, Marcel Galke - Trans4mation IT GmbH wrote:
 Have you tried running the plugin from the command line? 
 $user1/check_ace_failover -Hhostname -Ppeername -Ccommunity

 Can you post the service definition and the corresponding command definition 
 please.


 --
 10 Tips for Better Web Security
 Learn 10 ways to better secure your business today. Topics covered include:
 Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
 security Microsoft Exchange, secure Instant Messaging, and much more.
 http://www.accelacomm.com/jaw/sfnl/114/51426210/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.netmailto: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
--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/___
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] few questions that I cant find any info on

2011-07-19 Thread Marcel Galke - Trans4mation IT GmbH
-Ursprüngliche Nachricht-
Von: Jonathan Aquilina [mailto:eagles051...@gmail.com] 
Gesendet: Dienstag, 19. Juli 2011 09:23
An: nagios-users@lists.sourceforge.net
Betreff: [Nagios-users] few questions that I cant find any info on

Hey guys first time poster to the list, but I have been using this great 
program for a few weeks now, I have a few questions

1) I have been requested to work with some scripts and the first one im 
workign with is for the CISCO ACE 4700 Load balancer.

i have the command defined in nagios ql command definitions. the command 
i am passing is as follows

$USER1$/cisco_ace_failover -H PRIMARY IP -P SECONDARY IP -C $ARG1$

where $ARG1$ i am passing the variable i created for each hosts snmp 
community that its a part of.

When i set this command to active I get the following.

Service check command COMMAND NAME specified in service SERVICE NAME for 
host HOST NAME not defined anywhere.

Where should I define the command.

2) I noticed there is a check called check_local_mrtgtraf can that check 
be adapted for remote hosts to check and monitor bandwidth on a CISCO 
ASA and ACE device. Also is it feasible to do hourly daily weekly 
monthly and yearly checks on bandwidth usage.

Last question

3) i have a check which monitors ram usage, how do I specify a range 
that will trigger a warning then once it goes above that range it goes 
critical. Currently I am doing this using an snmp check.


Hello,

I will try to answer questions 1 and 3:

1) What's your complete command definition? Make sure you don't mix up 
command_name and command_line in your configuration. Use the value defined for 
command_name in your service definition. 
3) What tells you the --help switch of the plugin? Usually -w (warning) and 
-c (critical) switches are used.


Marcel

--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
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-br] Resposta inversa para o check_nt

2010-12-10 Thread Marcel Nascimento
Boa noite pessoal.
Tudo bem?

Estou monitorando um serviço de um servidor Windows com o NSClient instalado
e preciso que o alarme (crítico) seja gerado quando o serviço estiver
iniciado, diferente do padrão que o alarme é gerado quando o serviço está
parado.

Alguém sabe como fazer isso somente para um serviço, sem afetar a
configuração dos demais serviços?

O comando que estou usando é check_nt -H host -p porta -v SERVICESTATE
-l nome do serviço.



-- 

Atenciosamente,
Marcel N. Ramos
--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
-- 
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] Configuração snmptrapd / snm ptt no Centreon

2010-12-01 Thread Marcel
http://nets.ucar.edu/nets/tools/nagios/SNMP-traps.html

2010/11/26 Leonardo Andrade aaaleonardoli...@gmail.com

 Olá pessoal,

 Não estou entendendo a relação entre os arquivos de configuração do
 snmptt (que já vem com o centreon) e o snmptrapd. Alguém sabe como
 configuro esses arquivos de forma que eu possa receber traps snmp de
 hosts remotos?


 []'s,


 Leonardo Andrade.


 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
-- 
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] Erro Check_TSM via NRPE

2010-12-01 Thread Marcel
Cade a conf do nrpe? De acordo com o log do erro, ainda há erros na
definição do comando junto ao nrpe.

id= não é um parâmetro válido.

Vc tem Tivoli e ainda assim usa nagios? Tivoli não te dá tudo o que vc
precisa?

[]s

On Thu, Nov 25, 2010 at 5:31 PM, Maycon Correia mayco...@gmail.com wrote:

 Amigos, criei um dsmerror.log no / com chown nagios:nagios e permissão 666

 juliana:~ # ls -la /dsmerror.log
 -rw-rw-rw- 1 nagios nagios 642 2010-11-25 17:27 /dsmerror.log


 E ao executar o NRPE do lado do TSM o erro mudou:


 ellen:/usr/lib/nagios/plugins # ./check_nrpe -H 192.168.200.5 -c tsm_drives
 CRIT Online Drives: ANS8017E Command line parameter 1: 'id=' is not valid.
 () | drives=ANS8017E Command line parameter 1: 'id=' is not valid.;;;0;0


 2010/11/25 Maycon Correia mayco...@gmail.com

 
  Bom dia amigos,
 
  configurei os scripts do check tsm via plugin nrpe e localmente os
 scritps
  funcionam perfeitamente, tanto com o root como com o user nagios.
  Porém quando faço o teste no servidor nagios aparece o seguinte erro:
 
 
  *ellen:/usr/lib/nagios/plugins # ./check_nrpe -H 192.168.200.5 -c
  tsm_drives*
  CRIT Online Drives: ANS1398E Initialization functions cannot open one of
  the Tivoli Storage Manager logs or a related file: /dsmerror.log. errno =
  13, Permission denied () | drives=ANS1398E Initialization functions
 cannot
  open one of the Tivoli Storage Manager logs or a related file:
  /dsmerror.log. errno = 13, Permission denied;;;0;0
 
 
  No erro acima vejo que o nrpe encontra o comando em suas configurações
 no
  client nrpe, porém da erro de permissão.
 
  Eu criei o /dsmerror.log e setei permissão 666, algo que julgo inseguro,
  porém não funciona assim mesmo.
 
  Alguém tem alguma dica?
 
  Grande abraço
 
  Maycon Leite
 
 

 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
-- 
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] Trabalho acadêmico

2010-09-22 Thread Marcel Nascimento
Muito obrigado Benedito.

Foi de grande ajuda.

-- 

Atenciosamente,
Marcel N. Ramos


Em 21 de setembro de 2010 17:08, benedito.ra...@caixa.gov.br escreveu:

 Marcel,

 Questão 1: na minha opinião, os requisitos mínimos são aqueles
 estabelecidos para o sistema operacional (Linux, Unix, etc). Estando o S.O
 instalado, a instalação do Nagios será possível. Vale lembrar que,
 dependendo do número de objetos (hosts e serviços) a serem cadastrados, você
 terá que aumentar os recursos de hardware, senão a máquina senta.
 A capacidade máxima de monitoração está diretamente ligada à quantidade de
 recursos.
 Já li sobre registros de casos que monitoram 30.000 hosts e mais de 100.000
 serviços com o Nagios. Mas, no caso, instalou-se o Nagios distribuído, via
 DNX.

 Questão 2:

 Eu trabalho. Caixa Econômica Federal.
 Rede com mais de 200.000 ativos, espalhados entre 16 filiais de TI pelo
 Brasil.
 Estamos finalizando a implantação do Nagios em todas elas.
 Além da monitoração em si, o Nagios será usado para medir a performance de
 monitoração da empresa terceirizada responsável.

 Questão 3:

 Pelo que eu saiba, além do suporte, o Nagios XI (versão paga) possui
 funcionalidades extras, como o pnp4Nagios já embutido.
 Para verificar isso, entre no próprio site do Nagios. Tem uma versão Demo
 on-line lá.

 Diramos

 -Mensagem original-
 De: Marcel Nascimento [mailto:marcelnra...@gmail.com]
 Enviada em: segunda-feira, 20 de setembro de 2010 21:27
 Para: nagios-users-br@lists.sourceforge.net
 Assunto: [Nagios-users-br] Trabalho acadêmico

 Oi pessoal.

 Trabalho com o Nagios há quase 1 ano, tenho o conhecimento técnico mas
 preciso de algumas informações para fazer um trabalho acadêmico sobre o
 Nagios.
 Das dúvidas que eu tinha me sobraram estas 3 que não achei respostas em
 minhas pesquisas.

 1) Existem requisitos mínimos de hardware e capacidade máxima de quantidade
 de hosts que é possível monitorar?

 2) Alguém de vocês trabalha em empresas de grande porte ou conhecem
 empresas
 grandes que utilizam o Nagios? (para cases de sucesso com o Nagios).

 3) Quais os diferenciais da versão paga? Somente o suporte?




 --

 Atenciosamente,
 Marcel N. Ramos

 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki


 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users-br] Trabalho acadêmico

2010-09-21 Thread Marcel Nascimento
Oi pessoal.

Trabalho com o Nagios há quase 1 ano, tenho o conhecimento técnico mas
preciso de algumas informações para fazer um trabalho acadêmico sobre o
Nagios.
Das dúvidas que eu tinha me sobraram estas 3 que não achei respostas em
minhas pesquisas.

1) Existem requisitos mínimos de hardware e capacidade máxima de quantidade
de hosts que é possível monitorar?

2) Alguém de vocês trabalha em empresas de grande porte ou conhecem empresas
grandes que utilizam o Nagios? (para cases de sucesso com o Nagios).

3) Quais os diferenciais da versão paga? Somente o suporte?




-- 

Atenciosamente,
Marcel N. Ramos
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-- 
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] Freela de Nagios!!!

2010-09-20 Thread Marcel
Consultoria em serviços Open Source: 120 reais a hora.

2010/9/17 Leonardo Carneiro chesterma...@gmail.com

 Oi Harlei,

 Depende do tamanho da instalação (quantidade de serviços e hosts) e se
 vai precisar desenvolver scripts customizados de checagem.

 Chutando um parque de uns 5 servidores com uns 50 serviços, sem
 scripts customizados, acho que dá pra cobrar pelo menos entre 1500 e
 2000 reais por um serviço bem feito que vc não vai estar enfiando a
 faca.

 2010/9/17 Harlei Liguori Marcelino hligu...@gmail.com:
  Amigos,
 
  um amigo me perguntou se eu fazia Freela para instalar e configurar o
 Nagios
  na empresa onde ele trabalha. Sim eu até tenho como fazer, mas como nunca
  fiz Freela com instalação do Nagios não faço a minima ideia de quanto
  cobrar. Terei de emitir nota e tudo mais, mas tudo bem até aí, só
 gostaria
  de saber quanto vocês estão cobrando para fazer tal serviço. Para saber
 uma
  média de quanto pedir e não desvalorizar a classe. Será que vocês
 poderiam
  me dar sugestões de preço?
 
  agradeço desde já
 
  att
 
  Harlei
 
 --
  Start uncovering the many advantages of virtual appliances
  and start using them to simplify application deployment and
  accelerate your shift to cloud computing.
  http://p.sf.net/sfu/novell-sfdev2dev
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 


 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-- 
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 and Siemens PABX Hipath (Marcelo Coelho Galeti)

2010-09-09 Thread Marcel
Faz tempo que configurei um nagios para receber traps. Pelo que me lembro vc
precisará do snmptt - SNMP Trap Translator.

Boa sorte e divirta-se configurando o snmptt!!! ;)


On Fri, Sep 3, 2010 at 10:40 AM, Marcelo Coelho Galeti
mcgal...@gmail.comwrote:

 Pessoal,

 Desculpem por ter escrito a mensagem em ingles e ter demorado tanto
 para retornar ! Foi falta de educação da minha parte mas é que a
 semana aqui  foi terrível.

 Bom, vamos lá: tenho uma central telefônica da Siemens HiPath 3550 com
 uma placa LINCARD. Ela consegue me mandar trap SNMP mas não consigo
 decifrá-los  pois nao achei nenhuma documentação sobre eles.

 O que vocês fariam numa situação dessas ? Não quero gastar o tempo de
 vocês mas alguma dica para iniciar o trabalho seria útil ...


 Vou instalar esse snmpwalk mencionado e mandar as saidas para voces ainda
 hoje.

 Obrigado

 Marcelo Galeti





 Message: 1
 Date: Mon, 30 Aug 2010 12:31:22 -0300
 From: Marcelo Coelho Galeti mcgal...@gmail.com
 Subject: [Nagios-users-br] Nagios and Siemens PABX Hipath
 To: nagios-users-br@lists.sourceforge.net
 Message-ID:
   aanlkti=+mnw-dxn7ru8io1pyrdjd91u4otf1t9pxx...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 Hello Nagios Colleagues,

 I have a Nagios enviroment here in my company working very well.

 Now I want to connect my Phone System (PABX) to Nagios and for this I
 need to speak SNMP with this device.

 I just installed and configured Nagios to listen SNMP. This is working
 fine.

 My problem is: I don?t have any documentation about this Phone System SNMP.

 Do you have some idea about some software that I can listen all SNMPs
 from this device and, then , I can try to discover what is what ? Or
 some tip about how can I discover what is this device saying ?

 Thanks a lot !!


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 --
 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 Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
-- 
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 em rede GRANDE, BEM GRANDE.

2010-08-23 Thread Marcel
Com 2 serviços por host vc só deve pingar sua rede para determinar
alcançabilidade, certo?

Qual plugin vc usa? qual versão dos plugins? qual versão do nagios? Qual
distro?

Existem recomendações para melhorar o nível da investigação, mas algumas
questões podem ser atacadas sem qualquer informação adicional.

1) Vc está com uma média de tempo de execução das checagens um tanto quanto
alta: 402.97 segundos, qual é a frequência que está checando seus hosts?
tente aumentar a frequência para um tempo um pouco maior, para todas as
checagens (de 5 para 10 minutos), e analise o comportamento.
2) Verifique por mais de um processo pai (PPID=1), se houver mais de um
processo pai, pode causar interferência ao nagios, já que eles irão
compartilhar o objects.cache, retention.dat, status.dat e isso sempre é
motivo de problemas.
3) Se minha asserção sobre 2 serviços por hosts serem pings, tente trocar o
plugin check_ping pelo check_icmp.
4) Caso nenhuma das alternativas acima indique causa raiz, atualize o nagios
e implemente as recomendações de tuning:
http://nagios.sourceforge.net/docs/3_0/tuning.html

Espero ter ajudado,


2010/8/21 Everton Pestana evertonpest...@gmail.com

 Prezadas e prezados,

 Trabalho numa empresa grande, e tenho um grande parque de servidores e
 serviços a serem monitorados.

 Preciso de de uma ajuda pois o nagios esta tendo um comportamento
 muito estranho.


 Hoje estou rodando o nagios  com um único no de processamento com 2GB de
 Ram.

 Com aproximadamente 3000 hosts e 6000 serviços.

 Estatisticas:


  Services Actively Checked:
  Time FrameServices Checked = 1 minute:147 (2.6%)= 5 minutes:5574 (99.5%)
 =
 15 minutes:5574 (99.5%)= 1 hour: 5574 (99.5%)Since program start:  5574
 (99.5%)MetricMin.Max.Average Check Execution Time:  0.00 sec23.26
 sec0.402
 sec Check Latency:0.00 sec402.97 sec0.872 sec Percent State Change:0.00%
 6.12%0.01%




 Check Statistics:
  TypeLast 1 MinLast 5 MinLast 15 Min Active Scheduled Service
 Checks22526008
 18041


 O que tem acontecido com o nagios, em determinados momento parece que
 a maquina fica totalmente inativa, caem absurdamente os trafegos das
 interfaces (quase zerando) e o load consequentemente cai tb.


 Nesse momento observei que o nagios continua rodando, mas nenhum
 processo filho é executado mais, a maquina parece morta.
 Se eu der um reload no nagios tudo volta ao normal, mas depois de
 algumas horas depois acontece novamente o mesmo problema.Normalmente
 aconteceu as vezes que percebi as 4h da manha.


 Olhei todos os logs do nagios e de sistema possíveis e imaginaveis, e
 não ache nenhum erro nada que pudesse apontar tal comportamento.

 Desde já muito obrigado pela ajuda.

 Abs.

 Everton Pestana

 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
-- 
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 plugins return code issue

2010-08-17 Thread Marcel
Are you sure you are trying to test plugin execution with the nagios user?
Try that.

On Tue, Aug 17, 2010 at 5:57 PM, diego.roc...@gmail.com wrote:

 Hi Melissa,
  if you disable the embedded perl interpreter in nagios.cfg, does the
 script start to work?
 Diego
 Sent from my BlackBerry® wireless device

 -Original Message-
 From: Matthew J. Salerno vagabond_k...@yahoo.com
 Date: Tue, 17 Aug 2010 12:45:29
 To: Huber, Melissamhu...@ascentdata.com; Nagios Users List
 nagios-users@lists.sourceforge.net
 Reply-To: Matthew J. Salerno vagabond_k...@yahoo.com,
Nagios Users List nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] nagios plugins return code issue

 What is your command line?  Are you calling the script directly or is it
 wrapped
 in a shell script?  I took a quick look at the script, and it needs quite a
 bit
 of improvement.  Not sure if it was a result of my copy and paste, but
 there is
 only so much I can blame on bad formatting.  I would recommend looking for
 a
 different script that does the same thing.




 - Original Message 
 From: Huber, Melissa mhu...@ascentdata.com
 To: Matthew J. Salerno vagabond_k...@yahoo.com; Nagios Users List
 nagios-users@lists.sourceforge.net
 Sent: Tue, August 17, 2010 3:20:42 PM
 Subject: RE: [Nagios-users] nagios plugins return code issue

 Umm... Not sure.  I just tried uncommenting and got the same results
 though.
 I'm taking over managing the nagios server that we have from another
 collegue
 who left the company.  I've actually migrated everything over to another
 server
 that is now running the latest nagios.  The previous server was 3.0.6 I
 believe.  I tried searching for an updated version of these plugins, but
 couldn't find any.  I'm not that great with perl scripting either.  :/

 Missy

 -Original Message-
 From: Matthew J. Salerno [mailto:vagabond_k...@yahoo.com]
 Sent: Tuesday, August 17, 2010 2:58 PM
 To: Nagios Users List
 Cc: Huber, Melissa
 Subject: Re: [Nagios-users] nagios plugins return code issue

 For starters, why is use strict commented out?


 

 From: Huber, Melissa mhu...@ascentdata.com
 To: nagios-users@lists.sourceforge.net
 Sent: Tue, August 17, 2010 2:41:23 PM
 Subject: [Nagios-users] nagios plugins return code issue

 
 Hello all,

 I've googled around everywhere trying to find an answer here and came up
 unsuccessful, so if anyone has had experience in this situation, I'd
 appreciate
 help!


 Basically, the issue that I'm having is that I have a couple of temperature
 plugins that are reporting errors in Nagios and at the command line they're
 exiting in 0:

 check7204temp.pl  - Return code of 255 is out of bounds and
 checkciscotemp.pl -
 Return code of 9 is out of bounds

 If I run a echo $? at the command line after running the command
 successfully,
 I get 0.

 Thanks for any help anyone can provide!!  My perms are 755 and nagios user
 owns
 the plugins and I've run successfully with nagios user and got 0 output.
  I'm
 really stumped!!

 Here's the code for the plugins:

 ***
 check7204temp.pl:

 #!/usr/bin/perl -w

 # check_ciscotemp.pl

 #

 # Copyright (C) 2000 Leland E. Vandervort lel...@mmania.com # # This
 program
 is free software; you can redistribute it and/or # modify it under the
 terms of
 the GNU General Public License # as published by the Free Software
 Foundation;
 either version 2 # of the License, or (at your option) any later version.

 #

 # This program is distributed in the hope that it will be useful, # but
 WITHOUT
 ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or
 FITNESS
 FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more
 details.

 #

 # you should have received a copy of the GNU General Public License # along
 with
 this program (or with Nagios); if not, write to the # Free Software
 Foundation,
 Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA
 

 # Nagios pluging to check inlet and outlet temperatures on # Cisco router
 platforms which support environmental monitoring # (7200, 7500,
 GSR12000...)
 

 # default temperature thresholds are 30C for inlet, 40C outlet.

 # if input or output is less than thresholds, returns OK # if equal to (the
 temps don't change that rapidly) returns WARNING # if greater than
 threshold,
 returns CRITICAL # if undetermined, or cannot access environmental, returns
 UNKNOWN # (in accordance with the plugin coding guidelines)
 

 use Net::SNMP;

 use Getopt::Long;

 #use strict;

 Getopt::Long::config('auto_abbrev');

 #my $critical_vals;

 #my $warning_vals;

 #my $inlet_warn;

 #my $outlet_warn;

 #my $status;

 my $response = ;

 my $timeout = 10;

 my $community = blah;

 my $port = 161;

 my $INTAKE_TEMP = 1.3.6.1.4.1.9.9.13.1.3.1.3.1; my $OUTLET_TEMP =
 

Re: [Nagios-users-br] Usuários do Nagios com Visuali zação Diferente

2010-07-29 Thread Marcel
Doe vc também algumas horas do seu dia por alguém que nem se dá ao trabalho
de pesquisar a solução sem antes perguntar de maneira preguiçosa, sem
utilizar quebras de parágrafos ou acentuação. =)

2010/7/28 Harlei Liguori Marcelino hligu...@gmail.com

 Perfeito meu amigo...

 sua explicação me abriu horizontes...

 aparentemente as versões do nagios são diferentes, mas, acabei utilizando a
 forma de raciocinio para conseguir apresentar o que precisava :) muito
 obrigado de verdade...

 Apenas modificando os arquivos hostgroups.cfg contacts.cfg e
 contactgroups.cfg, além do services.cfg consegui fazer oque precisava...

 grande abraço a todos

 e parabenizo nosso amigo Welber Amaro que provou que ajudar não doe...

 att

 Harlei


 Em 27 de julho de 2010 17:33, Welber Amaro welbe...@gmail.com escreveu:

  Caro Harlei,
 
  é possível sim, abaixo a documentação do procedimento definido aqui na
  CITIS, espero que seja o suficiente para sua implementação:
 
  Para disponibilizar acesso ao cliente, com permissões somente ao seu
 grupo
  de máquinas, siga os seguintes passos:
 
  *1.* Criando o usuário de autenticação no Apache e definindo a senha
 
  *a.* #cd /usr/local/nagios/etc
 
  *b.* # htpasswd htpasswd.users login
 
  Onde:
 
  *I.* htpasswd – comando
 
  *II.* htpasswd.users – arquivo de usuário e senha
 
  *III.* login – login de acesso
 
  *2.* Criando contato no Nagios
 
  *a.* #cd objects
 
  *b.* Em contacts.cfg crie o contato
 
   define contact{
  contact_nameusuario
  use generic-contact
  alias   Cliente
  email   adefi...@e-mail.com
  }
 
  *c.* No mesmo arquivo crie o grupo de contatos do cliente, seguiremos
 este
  padrão, pois o cliente pode ter mais de um contato para acesso
 
   define contactgroup{
   contactgroup_name   cliente
   alias   Cliente
   members usuario
   }
 
  *3.* Definindo a permissão de acesso
 
  *a.* Como a permissão será baseada em grupos, seguindo como exemplo as
  configurações:
 
  *I.* Edite o arquivo de configuração do cliente:
 
  #vi cliente.cfg
 
  *II.* Retire a linha contacts suporte (pois o controle será por grupo) na
  configuração de host.
 
  *III.* Inclua a linha
 
  contact_groups admins,cliente
 
  Onde:
 
  *I.* admins – grupo CITIS
 
  *II.* cliente – grupo de usuários do cliente
 
  *4.* Testando o acesso
 
  *a.* #/etc/init.d/nagios reload
 
  *b.* Para testar acesse
  http://servidor/nagioshttp://www-squid-cache.org.br/nagios
 
  *c.* Login: login_apache Senha: **
 
  Att,
  Welber Amaro.
 
  Em 26 de julho de 2010 13:22, Harlei Liguori Marcelino
  hligu...@gmail.comescreveu:
 
   Amigos,
  
   tenho um nagios monitorando por volta de 150 links, e tem uma equipe
 que
   checa o status destes links para verificação de erro e tal, até aqui
 tudo
   bem. Agora, preciso colocar o nagios para monitorar o espaço em disco
 dos
   servidores externos, CPU, memória, e por ai vai, até aqui tudo bem
  também.
   Agora, meu problema é que eu não gostaria que a equipe que monitora os
   links
   visse as informações dos servidores externos, e quem vai monitorar os
   servidores externos visse os status dos links. É possivel fazer isso?
  Pelo
   que vi os usuários só mudam as abas de visualização, serviços, hosts, e
   tal,
   mas não quais hosts serão visiveis e quais serviços e tal, ou estou
   enganado? Será que podem me dar um help com relação a isso?
  
   agradeço desde já
  
   att
  
   Harlei
  
  
 
 --
   The Palm PDK Hot Apps Program offers developers who use the
   Plug-In Development Kit to bring their C/C++ apps to Palm for a share
   of $1 Million in cash or HP Products. Visit us here for more details:
   http://ad.doubleclick.net/clk;226879339;13503038;l?
   http://clk.atdmt.com/CRS/go/247765532/direct/01/
   --
   Nagios-users-br@lists.sourceforge.net mailing list
   https://lists.sourceforge.net/lists/listinfo/nagios-users-br
   Wiki: http://nagios-br.sf.net/wiki
  
 
 
 
  --
 Welber Amaro
  http://www.citis.com.br/citis_admin.jpg
  Seja do tamanho dos seu sonhos!
 
 
 --
  The Palm PDK Hot Apps Program offers developers who use the
  Plug-In Development Kit to bring their C/C++ apps to Palm for a share
  of $1 Million in cash or HP Products. Visit us here for more details:
  http://ad.doubleclick.net/clk;226879339;13503038;l?
  http://clk.atdmt.com/CRS/go/247765532/direct/01/
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 

 --
 The Palm PDK Hot Apps 

Re: [Nagios-users-br] Problema com notificações de serviço

2010-07-27 Thread Marcel
Sem saber mais nada (versão do nagios, definição do comando de notificação
de serviços), eu chutaria que vc tem um comando de notificação com
problemas.

O comando de notificação de hosts é DIFERENTE do de serviços, então, se
funciona pra um, não necessariamente funcionará para o outro.


2010/7/27 Carlos Eduardo Buarque eduardobuar...@gmail.com

 Olá,

 Tenho uma instalação do Nagios+Centreon. Tudo funciona Ok, com exceção das
 notificações por email disparadas pelos serviços. As notificações dos hosts
 funcionam perfeitamente.

 Já verifiquei diversas vezes os arquivos de configuração e eles estão
 perfeitamente Ok.

 Alguém tem alguma ideia do que possa ser?


 Obrigado,

 --
 Carlos Eduardo Buarque

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://ad.doubleclick.net/clk;226879339;13503038;l?
 http://clk.atdmt.com/CRS/go/247765532/direct/01/
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
-- 
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] Usuários do Nagios com Visuali zação Diferente

2010-07-27 Thread Marcel
Ó minha ajuda: *RTFM*:
http://nagios.sourceforge.net/docs/3_0/notifications.html

Depois, se ainda tiver dúvidas, pergunte especificamente sobre seu problema,
com exemplos de teste, snipets de arquivos de configuração.

Essa lista é engraçada, parece que ninguém sabe perguntar nada por aqui.

http://pt.wikipedia.org/wiki/Netiquette

2010/7/26 Harlei Liguori Marcelino hligu...@gmail.com

 Amigos,

 tenho um nagios monitorando por volta de 150 links, e tem uma equipe que
 checa o status destes links para verificação de erro e tal, até aqui tudo
 bem. Agora, preciso colocar o nagios para monitorar o espaço em disco dos
 servidores externos, CPU, memória, e por ai vai, até aqui tudo bem também.
 Agora, meu problema é que eu não gostaria que a equipe que monitora os
 links
 visse as informações dos servidores externos, e quem vai monitorar os
 servidores externos visse os status dos links. É possivel fazer isso? Pelo
 que vi os usuários só mudam as abas de visualização, serviços, hosts, e
 tal,
 mas não quais hosts serão visiveis e quais serviços e tal, ou estou
 enganado? Será que podem me dar um help com relação a isso?

 agradeço desde já

 att

 Harlei

 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://ad.doubleclick.net/clk;226879339;13503038;l?
 http://clk.atdmt.com/CRS/go/247765532/direct/01/
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
-- 
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 for iPhone

2010-07-14 Thread Marcel
I use the statuswml.cgi and it works like a charm.

Ah, and I use it as part of the NAGROID, that I looove!!!

On Wed, Jul 14, 2010 at 12:31 PM, Giorgio Zarrelli zarre...@linux.itwrote:

 Hi,

 Anyone using an easy interface for Nagios on iPhone?

 I do not mean some native iPhone app, I mean something server side like
 Nagios 4 iPhone.

 Any hints?

 Ciao,

 Giorgio

 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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 Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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-br] Monitorar tomcat/JVM

2010-06-10 Thread Marcel
tomcat   18085 1  0 Jun09 ?00:11:26   /usr/java/default/bin/java
-server -(...)* -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8998
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false*

trecho de um tomcat rodando com jmx abilitado

jmx não é exclusivo do container, é uma característica da JVM, então todos
os servlet containers por aí possuem a capacidade de instrumentação jmx, até
o jetty da microsoft.

[]s

2010/6/9 Jose Oliveira jotag...@gmail.com

 Marcel

 JMX é só pro JBOSS né não? serve pro tomcat tambem?



 Em 9 de junho de 2010 15:30, Marcel mits...@gmail.com escreveu:

  Yo,
 
  Pra mim o melhor jeito de monitorar esses recursos é via JMX.
 
  Tem um plugin no nagiosexchange que faz tudo isso!
 
  []s
 
  2010/6/9 Renato T Melo tamie...@gmail.com
 
   Ola pessoal,
  
   preciso monitorar o tomcat nos seguintes aspectos:
  
   1- Utilizacao (%) de memória
   2- Utilizacao (%) do JVM (Java Virtual Machine)
   3- Conexoes tomcat
   4- Timeout conexões
   5- Threads apache/tomcat
   6- Numero de conexoes com o banco em uso
  
   Acontece que não tenho muita intimidade com toda essa parafernalia
   (tomcat/jvm/jboss) !
   Alguem da lista jah passou por essa experiencia e pode nos ajudar?
  
   Obrigado.
   Renato.
  
  
  
 
 --
   ThinkGeek and WIRED's GeekDad team up for the Ultimate
   GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
   lucky parental unit.  See the prize list and enter to win:
   http://p.sf.net/sfu/thinkgeek-promo
   --
   Nagios-users-br@lists.sourceforge.net mailing list
   https://lists.sourceforge.net/lists/listinfo/nagios-users-br
   Wiki: http://nagios-br.sf.net/wiki
  
 
 
 --
  ThinkGeek and WIRED's GeekDad team up for the Ultimate
  GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
  lucky parental unit.  See the prize list and enter to win:
  http://p.sf.net/sfu/thinkgeek-promo
  --
  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

 --
 ThinkGeek and WIRED's GeekDad team up for the Ultimate
 GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
 lucky parental unit.  See the prize list and enter to win:
 http://p.sf.net/sfu/thinkgeek-promo
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-- 
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 tomcat/JVM

2010-06-09 Thread Marcel
Yo,

Pra mim o melhor jeito de monitorar esses recursos é via JMX.

Tem um plugin no nagiosexchange que faz tudo isso!

[]s

2010/6/9 Renato T Melo tamie...@gmail.com

 Ola pessoal,

 preciso monitorar o tomcat nos seguintes aspectos:

 1- Utilizacao (%) de memória
 2- Utilizacao (%) do JVM (Java Virtual Machine)
 3- Conexoes tomcat
 4- Timeout conexões
 5- Threads apache/tomcat
 6- Numero de conexoes com o banco em uso

 Acontece que não tenho muita intimidade com toda essa parafernalia
 (tomcat/jvm/jboss) !
 Alguem da lista jah passou por essa experiencia e pode nos ajudar?

 Obrigado.
 Renato.


 --
 ThinkGeek and WIRED's GeekDad team up for the Ultimate
 GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
 lucky parental unit.  See the prize list and enter to win:
 http://p.sf.net/sfu/thinkgeek-promo
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-- 
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] duvida sobre parametro

2010-05-31 Thread Marcel
/usr/lib/nagios/plugins/check_procs --help

2010/5/29 Alex alexpo...@yahoo.com.br

 Pessoal, bom dia.

 Me deparei com a seguinte entrada no cliente nrpe:

 command[check_httpd]=/usr/lib/nagios/plugins/check_procs -w 10:440 -c
 10:600 -a httpd

 a minha dúvida é, o que significa o numero 440 e o 600.

 w 10:440 -c 10:600

 obrigado,

 alex






 --

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

--

-- 
Nagios-users-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 de forma hierarquica

2010-05-31 Thread Marcel
o google é seu amigo.

http://dnx.sourceforge.net/

2010/5/28 augusto.jorge augusto.jo...@gmail.com

 Eu estou querendo saber as várias de usar o Nagios nessa configuração, se
 você puder me passar material sobre DNX (Distributed Nagios eXecutor)?!?!?
 E
 de qualquer forma muito obrigado pelo link com o NSCA.

 abraços

 2010/5/26 Marcel mits...@gmail.com

  ah, sem NSCA vc quer o DNX (Distributed Nagios eXecutor)
 
  []s
 
  2010/5/25 augusto.jorge augusto.jo...@gmail.com
 
   Oi,
  
   Eu gostaria de saber se é possível utilizar o Nagios da seguinte forma:
  
   Há vários servidores Nagios instalados em algumas localidades
 distintas,
  e
   esses servidores espalhados estejam conectados a um servidor do Nagios
   principal, que agrega as informações. Neste caso haveria uma hierarquia
  de
   servidores de monitoramente, e não o uso de pluguins como NSCA e o
 NRPE.
  
   Se for possível, existe como indicar algum material.
  
  
   Grato
  
  
   --
   =
   Jorge Augusto Vasconcelos Lima
  
  
 
 --
  
   --
   Nagios-users-br@lists.sourceforge.net mailing list
   https://lists.sourceforge.net/lists/listinfo/nagios-users-br
   Wiki: http://nagios-br.sf.net/wiki
  
 
 
 --
 
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 



 --
 =
 Jorge Augusto Vasconcelos Lima
 Eng. de Computação - UEFS
 Linux User: 389890
 Ordem DeMolay

 --

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

--

-- 
Nagios-users-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] Criar variavel nos arquivo s de configuração do nagios

2010-05-20 Thread Marcel
sim, procure pro custom macro variables na documentação.

2010/5/19 Igor NM igor...@globo.com

 Olá a todos!!

 Estou precisando de uma solução meio estranha.
 Estou monitorando vários servidores via internet e para cada um deles
 utilizo uma senha diferente.

 Minha duvida é a seguinte... teria como criar uma variável com um nome
 qualquer na seção host ou service?

 O objetivo seria informar a senha de cada servidor e recuperá-la no
 comando,
 igual a variável $HOSTADDRESS$

 Utilizo o comando check_nt para pegar as informações, bastaria apenas
 colocar o parâmetro -s com o nome da variável. Bem mais simples do que
 informar a senha a cada comando, e muito mais fácil para administrar e
 trocar as senhas.

 Obrigado,
 Ígor



 --

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

--

-- 
Nagios-users-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] RES: RES: Nagios em rede GRANDE, BEM GRANDE.

2010-05-20 Thread Marcel
Duas threads sobre o mesmo assunto na lista oficial

http://thread.gmane.org/gmane.network.nagios.user/67574
http://thread.gmane.org/gmane.network.nagios.user/67561


2010/5/19 benedito.ra...@caixa.gov.br

 Marcel,

 Show de bola.
 Ajudou bastante.
 Vou analisar cada item e verificar como aplicar no Nagios aqui.

 A você e a todos que tem me respondido (Jotagera, Shine e todos os outros),
 MUITO OBRIGADO.

 Diramos

 -Mensagem original-
 De: Marcel [mailto:mits...@gmail.com]
 Enviada em: terça-feira, 18 de maio de 2010 15:18
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br] RES: Nagios em rede GRANDE, BEM GRANDE.

 É configuração distribuída? Quando trabalhei em um grande provedor,
 tínhamos
 20k serviços em ~3k servidores. A partir de 5k serviços o nagios já
 começava
 a apresentar latencia de checagem. Partimos pra solução distribuída,
 primeiro no padrão nagios, mantendo 7 servidores slaves e 2 masters
 replicados.

 Assim vc distribui a carga do Nagios.

 Quando estávamos chegando perto de 15k serviços, tivemos mais problemas de
 performance, principalmente no broker_module ndo2db, que não escalava os
 updates para o banco.

 Daí mudamos várias partes da solução, tiramos o módulo NEB padrão,
 construímos um assíncrono para updates no banco apenas se os status updates
 estivessem diferentes, ou seja, nas mudanças de estado.

 Assim conseguimos utilizar normalmente o banco ndo, enquanto que o consumo
 de banda de rede foi otimizado.

 Depois de alguns meses, chegando perto de 20k serviços, tivemos que partir
 para utilização do DNX. Aí foi mais complicado acertar, com o crescimento
 do
 número de slaves para 10, manter as configurações dos slaves se tornou uma
 tarefa complicada, que tomava muito tempo e era muito sujeito a erros
 manuais. Construímos um sistema para plugar em nosso banco CMDB para
 extrair
 as informações dos ativos e transformar em configurações nagios, com
 automação de vários processos.

 Aí a coisa ficou tão boa que o trabalho ficou sem graça e eu saí de lá para
 outras oportunidades! rs

 A escalabilidade do nagios é um tanto complicado de se alcançar, mesmo o
 nagios sendo bastante flexível, o aumento do número de ativos monitorados
 implica em um crescimento exponencial na manutenção do parque de
 monitoramento.

 Ando avaliando o shinken, que é uma re-implementação do nagios em python,
 com as melhores práticas para atingir escalabilidade e estabilidade e
 facilidade na manutenção do parque. Está bastante cru ainda mas possui um
 potencial bem interessante para grande escala de monitoramento.

 Para tentar resolver o seu problema de latẽncia, dê uma lida nas dicas de
 grandes instalações na documentação, o nagios.cmd vira um gargalo a partir
 de um determinado ponto, então uma tentativa é aumentar o check_period,
 digamos de 5 para 10 minutos, e ver se resolve.

 Alguns serviços não precisam ser monitorados de 5 em 5 minutos. Tente criar
 hierarquias de serviços a serem monitorados, os críticos recebem mais
 atenção e têm um período menor de checagem, enquanto que outros serviços
 podem ter uma frequência baixa de checagem, digamos, a cada meia hora.

 É uma tarefa hercúlea se não utiliza massivamente templates, hostgroups e
 servicegroups, mas ataca o seu problema de latência se conseguir diminuir o
 número de checagens simultâneas, criando uma árvore hierárquica de
 prioridade e urgência/necessidade da informação mais up-to-date.

 Espero ter jogado alguma luz para resolução deste problema.

 []s

 2010/5/17 benedito.ra...@caixa.gov.br

  Grande Jotagera,
 
  Não uso o ndobd.
  Apenas o NagiosQL prá administração do Nagios.
  Meu parâmetro max_concurrent_checks=0
 
  Pauleira. 6000 serviços.
  Tô achando que o Nagios arriou.
 
  Diramos
 
 
  -Mensagem original-
  De: Jose Oliveira [mailto:jotag...@gmail.com]
  Enviada em: segunda-feira, 17 de maio de 2010 21:31
  Para: Unofficial Brazilian (Portuguese) Nagios Users List
  Assunto: Re: [Nagios-users-br] Nagios em rede GRANDE, BEM GRANDE.
 
  Olá amigo
 
  Tem um parametro no qual voce especifica quantas checagens o Nagios deve
  disparar em paralelo. Assim, esta quantidade limita a capacidade do
 Nagios
  e
  ele enfileira as checages. Eu, que tenho somente 1000 serviços, deixo
 este
  careta com zero ou seja, sem limite de paralelismo...
 
  Deve ser este seu problema...
 
  Voce está salvando dados no Mysql com ndodb ou não?
 
 
 
  Em 17 de maio de 2010 18:09, benedito.ra...@caixa.gov.br escreveu:
 
   Bem, pessoal.
  
   Seguindo as diversas dicas do pessoal daqui, tenho obtido avanços
   significativos na empreita de instalar o Nagios em larga escala.
   Mudei diversos parâmetros dos arquivos de configuração, inclusive de
   compilação. Passei a usar Perl embdded, etc.
   Estou só terminando os ajustes finos, prá depois fazer um resumo e
 postar
   aqui, para uso de outros futuros sortudos que enfrentem o mesmo
  problema
   que eu.
   Por ora, é o seguinte

Re: [Nagios-users-br] RES: Criar variavel nos arquivos de configuração do nagios

2010-05-20 Thread Marcel
Então são duas soluções para o mesmo problema.

Tanto com Custom Macho Variables quanto com macros definidos no
resources.cfg, resolverão o problema, macros definidas no resources.cfg não
podem ser customizadas (ter um nome customizado), elas sempre são definidas
como $USER1$, $USER2$, $USER3$... $USER32$.

Custom macros variables servem para definir macros de uma maneira por
host, enquanto que as macros definidas no resources.cfg, as macros são
acessíveis por todos os comandos e não são específicos para apenas um
determinado host.

[]s

2010/5/20 benedito.ra...@caixa.gov.br

 Ígor,

 Complementando o Marcel, essa variável que você precisa, tem que ser
 incluída no arquivo resource.cfg do Nagios.
 Tipo: você inclui nesse arquivo as variáveis $SENHASERV1$=senhaserv1
 $SENHASERV2$=senhaserv2, etc, e na linha do comando você coloca a variável,
 ao invés da senha.

 Diramos


 -Mensagem original-
 De: Marcel [mailto:mits...@gmail.com]
 Enviada em: quarta-feira, 19 de maio de 2010 21:03
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br]Criar variavel nos arquivos de configuração
 do nagios

 sim, procure pro custom macro variables na documentação.

 2010/5/19 Igor NM igor...@globo.com

  Olá a todos!!
 
  Estou precisando de uma solução meio estranha.
  Estou monitorando vários servidores via internet e para cada um deles
  utilizo uma senha diferente.
 
  Minha duvida é a seguinte... teria como criar uma variável com um nome
  qualquer na seção host ou service?
 
  O objetivo seria informar a senha de cada servidor e recuperá-la no
  comando,
  igual a variável $HOSTADDRESS$
 
  Utilizo o comando check_nt para pegar as informações, bastaria apenas
  colocar o parâmetro -s com o nome da variável. Bem mais simples do que
  informar a senha a cada comando, e muito mais fácil para administrar e
  trocar as senhas.
 
  Obrigado,
  Ígor
 
 
 
 
 --
 
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 

 --

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


 --

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

--

-- 
Nagios-users-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] RES: Criar variavel nos arquivos de configuração do nagios

2010-05-20 Thread Marcel
*MACRO, nã MACHO! rs

2010/5/20 Marcel mits...@gmail.com

 Então são duas soluções para o mesmo problema.

 Tanto com Custom Macho Variables quanto com macros definidos no
 resources.cfg, resolverão o problema, macros definidas no resources.cfg não
 podem ser customizadas (ter um nome customizado), elas sempre são definidas
 como $USER1$, $USER2$, $USER3$... $USER32$.

 Custom macros variables servem para definir macros de uma maneira por
 host, enquanto que as macros definidas no resources.cfg, as macros são
 acessíveis por todos os comandos e não são específicos para apenas um
 determinado host.

 []s

 2010/5/20 benedito.ra...@caixa.gov.br

 Ígor,

 Complementando o Marcel, essa variável que você precisa, tem que ser
 incluída no arquivo resource.cfg do Nagios.
 Tipo: você inclui nesse arquivo as variáveis $SENHASERV1$=senhaserv1
 $SENHASERV2$=senhaserv2, etc, e na linha do comando você coloca a variável,
 ao invés da senha.

 Diramos


 -Mensagem original-
 De: Marcel [mailto:mits...@gmail.com]
 Enviada em: quarta-feira, 19 de maio de 2010 21:03
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br]Criar variavel nos arquivos de
 configuração do nagios

 sim, procure pro custom macro variables na documentação.

 2010/5/19 Igor NM igor...@globo.com

  Olá a todos!!
 
  Estou precisando de uma solução meio estranha.
  Estou monitorando vários servidores via internet e para cada um deles
  utilizo uma senha diferente.
 
  Minha duvida é a seguinte... teria como criar uma variável com um nome
  qualquer na seção host ou service?
 
  O objetivo seria informar a senha de cada servidor e recuperá-la no
  comando,
  igual a variável $HOSTADDRESS$
 
  Utilizo o comando check_nt para pegar as informações, bastaria apenas
  colocar o parâmetro -s com o nome da variável. Bem mais simples do que
  informar a senha a cada comando, e muito mais fácil para administrar e
  trocar as senhas.
 
  Obrigado,
  Ígor
 
 
 
 
 --
 
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 

 --

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


 --

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



--

-- 
Nagios-users-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] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Marcel
Perhaps if you're upgrading and haven't touched the resources.cfg, then you
could be having issues with $USER1$ defined for your previous installation.

On Wed, May 19, 2010 at 3:09 PM, Michael Maxwell mmaxw...@blackarrow.tvwrote:


  P.S.  My apologies if I seem snippy.  It's a bad day.  If you provide
  the info, I promise a speedy, polite response.  :)

 No thanks.  I'll use an earlier version.  I'm not exactly having a great
 day
 either.  A little civility would get a better response from me as I've been
 nothing but civil and have gone out of my way to provide copious amounts of
 information.  And no, I did NOT blow anyone off - at least until now.
 Sorry if it sounded that way.

 unsubscribing




 --

 ___
 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 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-br] RES: Nagios em rede GRANDE, BEM GRANDE.

2010-05-18 Thread Marcel
 outra de serviço?
  Aqueles horários que aparecem na coluna Last check realmente indicam o
  horário da última checagem?
  2 - Existe algum parâmetro a ser configurado no Nagios.cfg que melhore
 essa
  performance, diminuindo o tempo entre checagens?
  3 - Porque a checagem não é feita a cada 5 minutos, como configurado no
  template de serviço?
  4 - Li algo sobre paralelização de checagem de serviço. Seria o caso?
 Como
  usar isso?
 
  Lembro, mais uma vez, que o quesito hardware está tranqüilo, com picos de
  utilização de CPU e memória de no máximo 25%.
 
  Aguardo,
 
  Grato desde já.
 
  Diramos
 
 
  -Mensagem original-
  De: Shine [mailto:esh...@gmail.com]
  Enviada em: quarta-feira, 5 de maio de 2010 20:56
  Para: Unofficial Brazilian (Portuguese) Nagios Users List
  Assunto: Re: [Nagios-users-br] RES: Nagios em rede GRANDE, BEM GRANDE.
 
  O uso do protocolo TCP é mais confiável que UDP simplesmente porque o
  protocolo é orientado a conexão. Em palavras mais simples, ele faz a
  recuperação de pacotes de rede perdido no próprio protocolo, enquanto
  que o UDP depende da aplicação conferir e fazer a recuperação da
  informação.
  Mas as perdas existem tanto com o uso de um ou outro protocolo. E
  dependendo da escala de monitoração, usar TCP para contornar uma
  deficiência da rede pode trazer outros problemas.
 
  O SNMP pode oscilar não apenas por causa da rede, mas tbm pode falhar
  se o agent estiver com problemas. Existem técnicas adequadas para cada
  caso, mas se vc não tem uma conexão confiável por rede remota, melhor
  fazer a monitoração por um agent na rede local e fazer o relay dos
  resultados. Claro que estamos falando aqui de um evento de monitoração
  e não um alarme (notification, trap) no SNMP.
 
  Então para uma monitoração adequada, precisamos primeiro ver se a
  condição que gera os resultados indesejados é a rede e aplicar
  correções na rede ou mudar a topologia do agente Nagios para contornar
  a situação, por exemplo usando NSCA. Se a situação é mais devido à
  demora da aplicação SNMP do host monitorado, ajustar parâmetros de
  timeout pode ajudar.
 
  Um outro ponto a ser considerado é quantos threads podem ser rodados
  simultaneamente. Em se usando uma aplicação com uma resposta não muito
  imediata como o SNMP, faz sentido ter a máxima quantidade de threads
  simultâneos, uma vez que a interação com o host monitorado demora bem
  mais que uma interação com ping (por exemplo). Como vc usa o valor
  default, então não há limitações... mas vale a pena checar. Tem q ser
  zero. ;)
 
  sd,
  Edgar
 
  Em 5 de maio de 2010 12:19, Marcel mits...@gmail.com escreveu:
   Só alterar a conf do snmpd para escutar tanto udp quanto tcp, que é
 mais
   caro mas não há perda de pacotes!
  
   2010/5/5 benedito.ra...@caixa.gov.br
  
   Alexandre,
  
   Grato pela resposta.
   Ocorre que, pela política imposta pela área de segurança da empresa,
 não
  é
   permitido instalação de qualquer arquivo no cliente monitorado.
   Ao que me parece, para que o NRPE funcione, tem que instalar e
  configurar o
   cliente, certo?
   Ou estou errado?
  
   Diramos
  
   -Mensagem original-
   De: Alexandre Gorges [mailto:algor...@gmail.com]
   Enviada em: quarta-feira, 5 de maio de 2010 09:53
   Para: Unofficial Brazilian (Portuguese) Nagios Users List
   Assunto: Re: [Nagios-users-br] Nagios em rede GRANDE, BEM GRANDE.
  
   Benedito.
  
   Eu tinha esses problemas de timeout com snmp também. O snmp, por usar
  udp,
   é
   muito sensível a pequenas oscilações na rede.
  
   Passei a usar NRPE no lugar do snmp. Os problemas foram totalmente
   resolvidos e permitiu outros tipos de verificações nos sistemas e o
 uso
  do
   eventhandler para reiniciar processos.
  
  
   []'s
   Alexandre Gorges
   http://www.google.com.br/profiles/algorges
   MSN/Gtalk/iCHAT/Skype/Buzz: algor...@gmail.com
   ICQ: 2031408
  
  
  
  
From: benedito.ra...@caixa.gov.br
Reply-To: Unofficial Brazilian (Portuguese) Nagios Users List
nagios-users-br@lists.sourceforge.net
Date: Tue, 4 May 2010 18:23:13 -0300
To: nagios-users-br@lists.sourceforge.net
Subject: [Nagios-users-br] Nagios em rede GRANDE, BEM GRANDE.
   
Prezadas e prezados,
   
Trabalho numa empresa estatal BEM GRANDE, em se tratando de
 quantidade
  de
servidores e ativos de rede.
Preciso de dicas para ajustar os parâmetros do Nagios para monitorar
   hosts e
serviços em larga escala.
Até hoje, usei o Nagios para monitorar 700 servidores e 2000
 serviços
  na
filial em que trabalho.
Uso o Nagios Core 3.20, que tem funcionado legal para estes
   quantitativos.
Máquina com 4 processadores e 4 Gb de memória.
Todas as checagens são feitas via SNMP, através dos plugins do site
   manubulom,
do nagiosexchange.
   
Ocorre que surgiu a demanda para implementar o Nagios nas demais
  filiais,
sendo que algumas têm muito mais hosts e serviços que a minha.
A maior, tem 2000 hosts

[Nagios-users] Full Throttle Nagios

2010-05-18 Thread Marcel
Hi list,

Several times I'm asked about Nagios latency when the number of services go
over a certain number.

Is there any tweak to have nagios scale checkings more than it would after
tweaking every configuration option for boosting performance?

It seems that nagios don't do the best job at taking the hardware to its
real limits.

When I have more than, say, 10k checks, I start seen check latency rises and
there just isn't anything that could be done, even distributed monitoring
have the nagios.cmd write-lock bottleneck.

I'm asking if there is by design that nagios don't thrases the server when
the number of checks reaches certain limits.

Any thoughts would be appreciated.

Thank you
--

___
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] Problems with distributed monitoring

2010-05-14 Thread Marcel
With only 150 services, it should not delay that much nor stops execution of
the main process.
Please check you main nagios.cfg file and look for *command_check_interval*,
if the value attributed to that variable isn't *-1* then there is your
problem.

Also, which nagios version are you running?


On Fri, May 14, 2010 at 2:28 PM, Trisha Hoang tri...@rockyou.com wrote:

 Hi Sergio,
 Some of the directives I found helpful for our MASTER server are listed
 below.

 Since status.dat and nagios.cmd are disk bound, put them on ramdisk will be
 faster.
 status_file=/mnt/ramdisk/status.dat
 command_file=/mnt/ramdisk/nagios.cmd

 I don't think aggressive_host_checking is needed as nagios checks for host
 when a service is in error anyway.
 use_aggressive_host_checking=0
 check_host_freshness=0

 Service freshness is important as the MASTER tends to process passive
 checks much slower so the services may go stale. However, since our checks
 are 5 min interval, having the MASTER wait for the next round of check is
 fine.
 check_service_freshness=1
 service_freshness_check_interval=420

 We use nagios-3.2.1 and I think these directives are still experimental but
 they seem to help. You will see defunct nagios processes that come and go. I
 think it's caused by child forked once instead of twice so one gets killed
 (my theory), but again, it seems to be running ok.
 use_large_installation_tweaks=0
 child_processes_fork_twice=0

 Our MASTER receives ~7000 passive checks from the SLAVE but it could only
 process max ~5000 passive checks per 5 min. The latency is about 10 secs.
 For the rest, the MASTER actively checks them. If you or someone knows a way
 to improve passive check processing, that will be great.

 Also, in our setup, we don't use NSCA. The slaves have
 ocsp_command=send_service_check where this command inserts the checks into a
 file that gets sent every 5 sec to the master. On the master, there's a
 script that opens this file and inserts the lines directly into the
 nagios.cmd pipe every 5 sec.

 Trisha



 --


 ___
 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 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] Problems with distributed monitoring

2010-05-14 Thread Marcel
Make sure you understand the underlying design of distributed nagios setup.
Obssessive-Compulsive (ocsp) command need to be correctly configurated on
nagios slave.

2010/5/14 Sérgio Afonso sergioafons...@gmail.com

 Hello Marcel,

 My nagios version is 3.2.0.  About my command_check_interval I
 couldn't understand very well what you mean. My command_check_interval
 is set to -1

 Rgs,

 Sérgio.

 On Fri, May 14, 2010 at 1:50 PM, Marcel mits...@gmail.com wrote:
  With only 150 services, it should not delay that much nor stops execution
 of
  the main process.
  Please check you main nagios.cfg file and look for
 command_check_interval,
  if the value attributed to that variable isn't -1 then there is your
  problem.
 
  Also, which nagios version are you running?
 
 
  On Fri, May 14, 2010 at 2:28 PM, Trisha Hoang tri...@rockyou.com
 wrote:
 
  Hi Sergio,
  Some of the directives I found helpful for our MASTER server are listed
  below.
 
  Since status.dat and nagios.cmd are disk bound, put them on ramdisk will
  be faster.
  status_file=/mnt/ramdisk/status.dat
  command_file=/mnt/ramdisk/nagios.cmd
 
  I don't think aggressive_host_checking is needed as nagios checks for
 host
  when a service is in error anyway.
  use_aggressive_host_checking=0
  check_host_freshness=0
 
  Service freshness is important as the MASTER tends to process passive
  checks much slower so the services may go stale. However, since our
 checks
  are 5 min interval, having the MASTER wait for the next round of check
 is
  fine.
  check_service_freshness=1
  service_freshness_check_interval=420
 
  We use nagios-3.2.1 and I think these directives are still experimental
  but they seem to help. You will see defunct nagios processes that come
 and
  go. I think it's caused by child forked once instead of twice so one
 gets
  killed (my theory), but again, it seems to be running ok.
  use_large_installation_tweaks=0
  child_processes_fork_twice=0
 
  Our MASTER receives ~7000 passive checks from the SLAVE but it could
 only
  process max ~5000 passive checks per 5 min. The latency is about 10
 secs.
  For the rest, the MASTER actively checks them. If you or someone knows a
 way
  to improve passive check processing, that will be great.
 
  Also, in our setup, we don't use NSCA. The slaves have
  ocsp_command=send_service_check where this command inserts the checks
 into a
  file that gets sent every 5 sec to the master. On the master, there's a
  script that opens this file and inserts the lines directly into the
  nagios.cmd pipe every 5 sec.
 
  Trisha
 
 
 
 
 --
 
 
  ___
  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 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 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 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-br] ativo: ora aparece operacional ora inoperante

2010-05-13 Thread Marcel
Vc tem duas instâncias nagios rodando.

ps ax | grep nagios; /etc/init.d/nagios top; ps ax | grep nagios

se o resultado da execução destes comandos ainda retornar algum processo
nagios rodando, é esse o problema.

killall nagios; /etc/init.d/nagios start

e vc terá apenas uma instância rodando, do jeito que deve ser.

[]s

2010/5/13 Bacellar jotacebacel...@gmail.com

 Olá todos,

 Sou novato no assunto e tô apanhando: estou atualizando o sistema de
 monitormento Nagios que desde 2006 não recebia qualquer atualização. De lá
 pra
 cá aumentou o número de ativos e serviços, sendo que alguns deixaram de
 existir.
 São quase 300 ativos sendo monitorados! Acontece que Nagios vem
 apresentando um
 comportamento estranho: em Informações sobre o estado dos ativos ora
 aparece
 um ativo operacional ora aparece o mesmo ativo inoperante. Por exemplo: o
 ativo
 A com ip 10.1.1.1 foi alterado para 10.2.2.2, mas ora aparece o endereço
 inativo
 ora aparece o endereço operacional.

 Num desespero fiz backup do arquivo retention.dat e criei um novo, mas sem
 solução! O mesmo com o arquivo de log etc.

 Grato,



 --

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

-- 
Nagios-users-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] ativo: ora aparece operacional ora inoperante

2010-05-13 Thread Marcel
ops, é /etc/init.d/nagios stop na primeira linha de comandos para verificar
se são duas instâncias rodando.

2010/5/13 Marcel mits...@gmail.com

 Vc tem duas instâncias nagios rodando.

 ps ax | grep nagios; /etc/init.d/nagios top; ps ax | grep nagios

 se o resultado da execução destes comandos ainda retornar algum processo
 nagios rodando, é esse o problema.

 killall nagios; /etc/init.d/nagios start

 e vc terá apenas uma instância rodando, do jeito que deve ser.

 []s

 2010/5/13 Bacellar jotacebacel...@gmail.com

 Olá todos,

 Sou novato no assunto e tô apanhando: estou atualizando o sistema de
 monitormento Nagios que desde 2006 não recebia qualquer atualização. De lá
 pra
 cá aumentou o número de ativos e serviços, sendo que alguns deixaram de
 existir.
 São quase 300 ativos sendo monitorados! Acontece que Nagios vem
 apresentando um
 comportamento estranho: em Informações sobre o estado dos ativos ora
 aparece
 um ativo operacional ora aparece o mesmo ativo inoperante. Por exemplo: o
 ativo
 A com ip 10.1.1.1 foi alterado para 10.2.2.2, mas ora aparece o endereço
 inativo
 ora aparece o endereço operacional.

 Num desespero fiz backup do arquivo retention.dat e criei um novo, mas sem
 solução! O mesmo com o arquivo de log etc.

 Grato,



 --

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



--

-- 
Nagios-users-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 newbie looking for guidance

2010-05-10 Thread Marcel
On Mon, May 10, 2010 at 7:29 PM, Ari Echt a...@masterwriter.com wrote:

 Nagios newbie here looking to setup monitoring for 4 servers. Any
 helpful guides out there that anyone recommends would be greatly
 appreciated.


http://nagios.sourceforge.net/docs/3_0/ -- Assuming you're using the 3.X
branch.

have fun!
--

___
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-br] Nagios em rede GRANDE, BEM GRANDE.

2010-05-05 Thread Marcel
Monte o /path/pro/nagios/var/rw em um tmpfs pro nagios.cmd ficar em memória
e evitar fopen. Talvez até colocar o status.dat, retention.dat e
objects.cache no mesmo tmpfs. Vai melhorar o tempo de resposta dos cgis.
Realizar sincronizações passivas de resultados de agentes distribuídos em
batch.

Se estiver utilizando broker pra manter histórico de alertas, vai sofrer na
instância central com o número de inserts/updates no mysql. não é escalável
o modo como o NDO funciona. Só vi uma instalação grande onde conseguiram
escalar 20 mil status updates de serviços a cada 5 minutos, mas com módulo
customizado e assíncrono.

no site tem outras dicas de grandes instalações...

2010/5/4 benedito.ra...@caixa.gov.br

 Prezadas e prezados,

 Trabalho numa empresa estatal BEM GRANDE, em se tratando de quantidade de
 servidores e ativos de rede.
 Preciso de dicas para ajustar os parâmetros do Nagios para monitorar hosts
 e serviços em larga escala.
 Até hoje, usei o Nagios para monitorar 700 servidores e 2000 serviços na
 filial em que trabalho.
 Uso o Nagios Core 3.20, que tem funcionado legal para estes quantitativos.
 Máquina com 4 processadores e 4 Gb de memória.
 Todas as checagens são feitas via SNMP, através dos plugins do site
 manubulom, do nagiosexchange.

 Ocorre que surgiu a demanda para implementar o Nagios nas demais filiais,
 sendo que algumas têm muito mais hosts e serviços que a minha.
 A maior, tem 2000 hosts e 6000 serviços.
 Notem que será um servidor Nagios por filial.

 Na maior das filiais, incluí todos os 2000 hosts e 6000 serviços.
 A checagem de hosts está funcionando OK.
 Mas as de serviços, apresentam a mensagem Nagios check time-out em muitos
 casos.
 A máquina está com 16 processadores e 16 Gb de memória.
 Portanto, não acredito ser problema de insuficiência de hardware.

 Deixei os parâmetros default do nagios.cfg.

 Resumindo:

 - Preciso de dicas de como melhorar a performance do Nagios.
 - Existem parâmetros específicos no nagios.cfg, a serem alterados, para
 melhorar a performance em redes grandes como a minha?

 Tenho lido sobre hosts scalations e service scalations, mas não entendi
 muito.
 Será que resolveria meu problema?

 Grato, desde já, por qualquer ajuda.


 Diramos




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

--
-- 
Nagios-users-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] RES: Nagios em rede GRANDE, BEM GRANDE.

2010-05-05 Thread Marcel
Só alterar a conf do snmpd para escutar tanto udp quanto tcp, que é mais
caro mas não há perda de pacotes!

2010/5/5 benedito.ra...@caixa.gov.br

 Alexandre,

 Grato pela resposta.
 Ocorre que, pela política imposta pela área de segurança da empresa, não é
 permitido instalação de qualquer arquivo no cliente monitorado.
 Ao que me parece, para que o NRPE funcione, tem que instalar e configurar o
 cliente, certo?
 Ou estou errado?

 Diramos

 -Mensagem original-
 De: Alexandre Gorges [mailto:algor...@gmail.com]
 Enviada em: quarta-feira, 5 de maio de 2010 09:53
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br] Nagios em rede GRANDE, BEM GRANDE.

 Benedito.

 Eu tinha esses problemas de timeout com snmp também. O snmp, por usar udp,
 é
 muito sensível a pequenas oscilações na rede.

 Passei a usar NRPE no lugar do snmp. Os problemas foram totalmente
 resolvidos e permitiu outros tipos de verificações nos sistemas e o uso do
 eventhandler para reiniciar processos.


 []'s
 Alexandre Gorges
 http://www.google.com.br/profiles/algorges
 MSN/Gtalk/iCHAT/Skype/Buzz: algor...@gmail.com
 ICQ: 2031408




  From: benedito.ra...@caixa.gov.br
  Reply-To: Unofficial Brazilian (Portuguese) Nagios Users List
  nagios-users-br@lists.sourceforge.net
  Date: Tue, 4 May 2010 18:23:13 -0300
  To: nagios-users-br@lists.sourceforge.net
  Subject: [Nagios-users-br] Nagios em rede GRANDE, BEM GRANDE.
 
  Prezadas e prezados,
 
  Trabalho numa empresa estatal BEM GRANDE, em se tratando de quantidade de
  servidores e ativos de rede.
  Preciso de dicas para ajustar os parâmetros do Nagios para monitorar
 hosts e
  serviços em larga escala.
  Até hoje, usei o Nagios para monitorar 700 servidores e 2000 serviços na
  filial em que trabalho.
  Uso o Nagios Core 3.20, que tem funcionado legal para estes
 quantitativos.
  Máquina com 4 processadores e 4 Gb de memória.
  Todas as checagens são feitas via SNMP, através dos plugins do site
 manubulom,
  do nagiosexchange.
 
  Ocorre que surgiu a demanda para implementar o Nagios nas demais filiais,
  sendo que algumas têm muito mais hosts e serviços que a minha.
  A maior, tem 2000 hosts e 6000 serviços.
  Notem que será um servidor Nagios por filial.
 
  Na maior das filiais, incluí todos os 2000 hosts e 6000 serviços.
  A checagem de hosts está funcionando OK.
  Mas as de serviços, apresentam a mensagem Nagios check time-out em
 muitos
  casos.
  A máquina está com 16 processadores e 16 Gb de memória.
  Portanto, não acredito ser problema de insuficiência de hardware.
 
  Deixei os parâmetros default do nagios.cfg.
 
  Resumindo:
 
  - Preciso de dicas de como melhorar a performance do Nagios.
  - Existem parâmetros específicos no nagios.cfg, a serem alterados, para
  melhorar a performance em redes grandes como a minha?
 
  Tenho lido sobre hosts scalations e service scalations, mas não entendi
  muito.
  Será que resolveria meu problema?
 
  Grato, desde já, por qualquer ajuda.
 
 
  Diramos
 
 
 
 
 --
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki




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


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

--
-- 
Nagios-users-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] RES: RES: Nagios em rede GRANDE, BEM GRANDE.

2010-05-05 Thread Marcel
man snmpd



2010/5/5 benedito.ra...@caixa.gov.br

 Marcel,

 Grato.

 Vasculhei meu snmpd.conf e não encontrei nada referente udp e tcp.
 Poderia me orientar sobre como fazer o que você indicou?
 Que linha(s) incluir/alterar no conf?

 Diramos

 -Mensagem original-
 De: Marcel [mailto:mits...@gmail.com]
 Enviada em: quarta-feira, 5 de maio de 2010 12:19
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br] RES: Nagios em rede GRANDE, BEM GRANDE.

 Só alterar a conf do snmpd para escutar tanto udp quanto tcp, que é mais
 caro mas não há perda de pacotes!

 2010/5/5 benedito.ra...@caixa.gov.br

  Alexandre,
 
  Grato pela resposta.
  Ocorre que, pela política imposta pela área de segurança da empresa, não
 é
  permitido instalação de qualquer arquivo no cliente monitorado.
  Ao que me parece, para que o NRPE funcione, tem que instalar e configurar
 o
  cliente, certo?
  Ou estou errado?
 
  Diramos
 
  -Mensagem original-
  De: Alexandre Gorges [mailto:algor...@gmail.com]
  Enviada em: quarta-feira, 5 de maio de 2010 09:53
  Para: Unofficial Brazilian (Portuguese) Nagios Users List
  Assunto: Re: [Nagios-users-br] Nagios em rede GRANDE, BEM GRANDE.
 
  Benedito.
 
  Eu tinha esses problemas de timeout com snmp também. O snmp, por usar
 udp,
  é
  muito sensível a pequenas oscilações na rede.
 
  Passei a usar NRPE no lugar do snmp. Os problemas foram totalmente
  resolvidos e permitiu outros tipos de verificações nos sistemas e o uso
 do
  eventhandler para reiniciar processos.
 
 
  []'s
  Alexandre Gorges
  http://www.google.com.br/profiles/algorges
  MSN/Gtalk/iCHAT/Skype/Buzz: algor...@gmail.com
  ICQ: 2031408
 
 
 
 
   From: benedito.ra...@caixa.gov.br
   Reply-To: Unofficial Brazilian (Portuguese) Nagios Users List
   nagios-users-br@lists.sourceforge.net
   Date: Tue, 4 May 2010 18:23:13 -0300
   To: nagios-users-br@lists.sourceforge.net
   Subject: [Nagios-users-br] Nagios em rede GRANDE, BEM GRANDE.
  
   Prezadas e prezados,
  
   Trabalho numa empresa estatal BEM GRANDE, em se tratando de quantidade
 de
   servidores e ativos de rede.
   Preciso de dicas para ajustar os parâmetros do Nagios para monitorar
  hosts e
   serviços em larga escala.
   Até hoje, usei o Nagios para monitorar 700 servidores e 2000 serviços
 na
   filial em que trabalho.
   Uso o Nagios Core 3.20, que tem funcionado legal para estes
  quantitativos.
   Máquina com 4 processadores e 4 Gb de memória.
   Todas as checagens são feitas via SNMP, através dos plugins do site
  manubulom,
   do nagiosexchange.
  
   Ocorre que surgiu a demanda para implementar o Nagios nas demais
 filiais,
   sendo que algumas têm muito mais hosts e serviços que a minha.
   A maior, tem 2000 hosts e 6000 serviços.
   Notem que será um servidor Nagios por filial.
  
   Na maior das filiais, incluí todos os 2000 hosts e 6000 serviços.
   A checagem de hosts está funcionando OK.
   Mas as de serviços, apresentam a mensagem Nagios check time-out em
  muitos
   casos.
   A máquina está com 16 processadores e 16 Gb de memória.
   Portanto, não acredito ser problema de insuficiência de hardware.
  
   Deixei os parâmetros default do nagios.cfg.
  
   Resumindo:
  
   - Preciso de dicas de como melhorar a performance do Nagios.
   - Existem parâmetros específicos no nagios.cfg, a serem alterados, para
   melhorar a performance em redes grandes como a minha?
  
   Tenho lido sobre hosts scalations e service scalations, mas não
 entendi
   muito.
   Será que resolveria meu problema?
  
   Grato, desde já, por qualquer ajuda.
  
  
   Diramos
  
  
  
  
 
 --
   --
   Nagios-users-br@lists.sourceforge.net mailing list
   https://lists.sourceforge.net/lists/listinfo/nagios-users-br
   Wiki: http://nagios-br.sf.net/wiki
 
 
 
 
 
 --
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 
 
 
 --
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 

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


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

--
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https

Re: [Nagios-users-br] Duvida sobre a interface web

2010-05-04 Thread Marcel
 plugin?
 Podemos
   fazer uma parceria: Voce faz a parte teorica, i.e., diz o que devo
   considerar bom ou ruim, baseado nas melhores pr?ticas e eu escrevo o
   plugin.
  
   O que vc acha?
  
  
  
   Em 28 de abril de 2010 19:55, Leonardo Mandicleol...@mandic.com.br
 escreveu:
  
  
   Ol? amigo, tenho procurado algum plugin para monitorar uso de I/O de
   disco para o nagios, mas nao encontrei, alguem pode me sugerir um?
  
   Obrigado
  
   Leonardo
  
  
  
 --
   --
   Nagios-users-br@lists.sourceforge.net mailing list
   https://lists.sourceforge.net/lists/listinfo/nagios-users-br
   Wiki: http://nagios-br.sf.net/wiki
  
  
  
  
  
 
 
 
 
  --
 
  Message: 5
  Date: Sat, 1 May 2010 15:18:35 -0300
  From: Jose Oliveira jotag...@gmail.com
  Subject: Re: [Nagios-users-br] Plugin IOStat no nagios
  To: Unofficial Brazilian (Portuguese) Nagios Users List
nagios-users-br@lists.sourceforge.net
  Message-ID:
g2z2b326c30100508q947c811eqd0642f9a56e65...@mail.gmail.com
  Content-Type: text/plain; charset=ISO-8859-1
 
  Vode desenvolve em alguma linguagem (inclui shell script) ?
 
  Se sim, voce escreve plugins. S? n?o sabia...
 
  []s
 
 
  Em 30 de abril de 2010 14:34, Leonardo Lage leol...@mandic.com.br
 escreveu:
 
   Ol? amigo,
  
   obrigado pela resposta.. ja uso bastante o nagios, mas ainda nao tive
   capacidade para criar meus proprios plugins...
  
   Eu ainda estou analisando quais parametros devei usar e quais valores
   ser?o importantes para checar no iostat, eu irei lhe retornar, ok?
  
   Obrigado
  
   Leonardo
  
  
   Em 29/4/2010 22:31, Jose Oliveira escreveu:
Oi
   
N?o conhe?o mas ? relativamente facil vc fazer um que leia do sar
 -d...
   
A proposito, qual parametro vc pensa em usar, caso eista um plugin?
   Podemos
fazer uma parceria: Voce faz a parte teorica, i.e., diz o que devo
considerar bom ou ruim, baseado nas melhores pr?ticas e eu escrevo
 o
plugin.
   
O que vc acha?
   
   
   
Em 28 de abril de 2010 19:55, Leonardo Mandicleol...@mandic.com.br
   escreveu:
   
   
Ol? amigo, tenho procurado algum plugin para monitorar uso de I/O de
disco para o nagios, mas nao encontrei, alguem pode me sugerir um?
   
Obrigado
   
Leonardo
   
   
   
  
 --
--
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki
   
   
   
   
   
  
  
  
  
 --
   --
   Nagios-users-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
 
 
  --
 
  Message: 6
  Date: Mon, 3 May 2010 08:20:54 -0300
  From: Bruna Andreata Andreata andre...@hotmail.com
  Subject: Re: [Nagios-users-br] Nagios-users-br Digest, Vol 46, Issue 5
  To: Nagios nagios-users-br@lists.sourceforge.net
  Message-ID: col121-w439a985cc168d3f8f4b62897...@phx.gbl
  Content-Type: text/plain; charset=iso-8859-1
 
 
 
   O nagios ? um programa de
  monitoramento de rede, ele possui uma interface grafica, s? q vc pod
  escolher usa-la ou n, no caso de querer usar este recurso , vc tem q
  fazer algumas altera??es na configura??o do nagios gostaria d saber ond
  fazer estas altera??es e quais s?o elas ?
 
 
 
 
 
 
   From: nagios-users-br-requ...@lists.sourceforge.net
   Subject: Nagios-users-br Digest, Vol 46, Issue 5
   To: nagios-users-br@lists.sourceforge.net
   Date: Fri, 16 Apr 2010 14:39:36 +
  
   Send Nagios-users-br mailing list submissions to
   nagios-users-br@lists.sourceforge.net
  
   To subscribe or unsubscribe via the World Wide Web, visit
   https://lists.sourceforge.net/lists/listinfo/nagios-users-br
   or, via email, send a message with subject or body 'help' to
   nagios-users-br-requ...@lists.sourceforge.net
  
   You can reach the person managing the list at
   nagios-users-br-ow...@lists.sourceforge.net
  
   When replying, please edit your Subject line so it is more specific
   than Re: Contents of Nagios-users-br digest...
  
  
   Today's Topics:
  
  1. Re: Notification Status (Marcel)
  2. Nagios Plugin SNMP para monitorar erros CRC emroteadores
 e
 switch (benedito.ra...@caixa.gov.br)
  3. Re: Notification Status (Leandro da Silva de Souza)
  4. Re: Nagios Plugin SNMP para monitorar erros CRC   em
 roteadores
 e switch (Shine)
  5. Re: Notification Status (Marcel)
  6. Re: Nagios Plugin SNMP para monitorar erros CRC   em
 roteadores
 e switch (Marcel)
  
  
   --
  
   Message: 1
   Date: Tue

[Nagios-users-br] NETIQUETTE

2010-05-04 Thread Marcel
Pessoas do Brasil! POR FAVOR APRENDAM A PERGUNTAR:
http://www.aisa.com.br/netique.html
--
-- 
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] Ndo2db

2010-05-04 Thread Marcel
se vc migrou o banco, deverá utilizar tcpsocket no ndomod.cfg

2010/5/4 Maycon Sanches maycon...@gmail.com

 Pessoal estou com sérios problems com NDO. Efetuei a migração do meu
 servidor e agora o NDO não consegue mais acessar a base (está em outro
 servidor), retorna o erro:

 [1272997227] ndomod: Successfully reconnected to data sink!  192 items
 lost,
 5000 queued items to flush.
 [1272997227] ndomod: Error writing to data sink!  Some output may get lost.
  4785 queued items to flush.

 Segue minhas conf

 ndoutils-1.4b9

 *ndomod.cfg*
 instance_name=default
 output_type=unixsocket
 output=/usr/local/nagios/var/ndo.sock
 tcp_port=5668
 use_ssl=1
 output_buffer_items=5000
 buffer_file=/usr/local/nagios/var/ndomod.tmp
 file_rotation_interval=14400
 file_rotation_timeout=60
 reconnect_interval=15
 reconnect_warning_interval=15
 data_processing_options=-1
 config_output_options=2

 *ndo2db.cfg*
 lock_file=/usr/local/nagios/var/ndo2db.lock
 ndo2db_user=nagios
 ndo2db_group=nagios
 socket_type=unix
 socket_name=/usr/local/nagios/var/ndo.sock
 tcp_port=5668
 use_ssl=1
 db_servertype=mysql
 db_host=172.21.0.117
 db_port=3306
 db_name=nagios
 db_prefix=nagios_
 db_user=nagios
 db_pass='senha'
 max_timedevents_age=1440
 max_systemcommands_age=10080
 max_servicechecks_age=10080
 max_hostchecks_age=10080
 max_eventhandlers_age=44640
 max_externalcommands_age=44640
 debug_level=-1
 debug_verbosity=1
 debug_file=/usr/local/nagios/var/ndo2db.debug
 max_debug_file_size=100

 O servidor do nagios consegue acessar normalmente o mysql com o comando
 mysql -u nagios -h x.x.x.x -p

 Efetuei varios testes, pesquisas na net porem nenhuma com sucesso.
 Alguem teria alguma sugestao?

 _
 Maycon Sanches Amaro

 Antes de imprimir, lembre-se de seu compromisso com o Meio Ambiente e do
 custo que você pode evitar.

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

--
-- 
Nagios-users-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] Ndo2db

2010-05-04 Thread Marcel
icinga, idoutils(ndo do icinga - *deve* ser compativel, mas não tenho
certeza)

opsview, groundworkmonitor-opensource, ou DIY broker

2010/5/4 Elton Soares elton.soa...@veezor.com

 Alguém sabe uma solução melhor que NDO, pq ele ainda tem alguns bugs, e
 sinto que nunca vai sair da versão beta.

 Elton Soares.

 Em 04/05/2010, às 15:19, Maycon Sanches escreveu:

  Pessoal estou com sérios problems com NDO. Efetuei a migração do meu
  servidor e agora o NDO não consegue mais acessar a base (está em outro
  servidor), retorna o erro:
 
  [1272997227] ndomod: Successfully reconnected to data sink!  192 items
 lost,
  5000 queued items to flush.
  [1272997227] ndomod: Error writing to data sink!  Some output may get
 lost.
  4785 queued items to flush.
 
  Segue minhas conf
 
  ndoutils-1.4b9
 
  *ndomod.cfg*
  instance_name=default
  output_type=unixsocket
  output=/usr/local/nagios/var/ndo.sock
  tcp_port=5668
  use_ssl=1
  output_buffer_items=5000
  buffer_file=/usr/local/nagios/var/ndomod.tmp
  file_rotation_interval=14400
  file_rotation_timeout=60
  reconnect_interval=15
  reconnect_warning_interval=15
  data_processing_options=-1
  config_output_options=2
 
  *ndo2db.cfg*
  lock_file=/usr/local/nagios/var/ndo2db.lock
  ndo2db_user=nagios
  ndo2db_group=nagios
  socket_type=unix
  socket_name=/usr/local/nagios/var/ndo.sock
  tcp_port=5668
  use_ssl=1
  db_servertype=mysql
  db_host=172.21.0.117
  db_port=3306
  db_name=nagios
  db_prefix=nagios_
  db_user=nagios
  db_pass='senha'
  max_timedevents_age=1440
  max_systemcommands_age=10080
  max_servicechecks_age=10080
  max_hostchecks_age=10080
  max_eventhandlers_age=44640
  max_externalcommands_age=44640
  debug_level=-1
  debug_verbosity=1
  debug_file=/usr/local/nagios/var/ndo2db.debug
  max_debug_file_size=100
 
  O servidor do nagios consegue acessar normalmente o mysql com o comando
  mysql -u nagios -h x.x.x.x -p
 
  Efetuei varios testes, pesquisas na net porem nenhuma com sucesso.
  Alguem teria alguma sugestao?
 
  _
  Maycon Sanches Amaro
 
  Antes de imprimir, lembre-se de seu compromisso com o Meio Ambiente e do
  custo que você pode evitar.
 
 --
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki



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

--
-- 
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] how to restart httpd service on remote server

2010-05-03 Thread Marcel
cfengine, mon, rmon, cron, watchdogs in general, daemontools, and many many
many many others...

On Mon, May 3, 2010 at 2:06 PM, Max perld...@webwizarddesign.com wrote:

 As can puppet, Chef, Monit, Net-SNMP, and many others :) .. always a
 balance with deciding where process restarts should happen - the
 larger the network, the more benefit there is to having autonomous
 agents handle restarts and have Nagios focus purely on polling /
 asynchronous event handling.


 --
 ___
 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 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] Next Scheduled Check is N/A or set in the past.

2010-04-23 Thread Marcel
Look if you have more than one nagios process running.

/etc/init.d/nagios stop; ps -fu nagios

If after nagios stop you still have nagios processes, then killall nagios.

then fresh start and see if scheduling is ok.

if not the you have clock/timezone problems, or something alien..


On Fri, Apr 23, 2010 at 3:04 PM, Noel R. Morais noelro...@gmail.com wrote:

 Hi Guys,

 Im using Nagios 3.2.1 and it isn´t checking my services. When nagios
 starts the Next Scheduled Check is N/A. If I force a check, it
 checks and sets the Next Scheduled Check in the past.

 did someone have this problem?

 Thanks,

 --
 Noel Rocha
 http://blog.noelrocha.com.br


 --
 ___
 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 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_snmp Not Compiling

2010-04-22 Thread Marcel
make sure you have:

yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP



On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe rwo...@i-evolve.com wrote:

 Hi all!  I am trying to get the check_snmp code to compile, but for some
 reason it does not want to compile when I go to build the modules from the
 Nagios-plugins tarball.  Running CentOS 5.4 64 bit, latest Nagios release.

 .
 .
 .
 .
 .
 .
 .
 .
 *** Message Virus Free.  Email scanned by I-FILTER ***
 Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com
 .






 --
 ___
 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 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_snmp Not Compiling

2010-04-22 Thread Marcel
glad to be of any help

On Thu, Apr 22, 2010 at 4:39 PM, Robert Wolfe rwo...@i-evolve.com wrote:

  Thanks!  Was missing all of these.  Ran this command and everything is
 set now!  Thanks again!



 *From:* Marcel [mailto:mits...@gmail.com]
 *Sent:* Thursday, April 22, 2010 2:15 PM
 *To:* Nagios Users List
 *Subject:* Re: [Nagios-users] check_snmp Not Compiling



 make sure you have:

 yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP


  On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe rwo...@i-evolve.com
 wrote:

 Hi all!  I am trying to get the check_snmp code to compile, but for some
 reason it does not want to compile when I go to build the modules from the
 Nagios-plugins tarball.  Running CentOS 5.4 64 bit, latest Nagios release.

 .
 .
 .
 .
 .
 .
 .
 .
 *** Message Virus Free.  Email scanned by I-FILTER ***
 Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com
 .






 --
 ___
 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 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 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 unreachable what's nagios do.

2010-04-22 Thread Marcel
(assuming nagios 3.x series) please read this:
http://nagios.sourceforge.net/docs/3_0/toc.html

On Thu, Apr 22, 2010 at 5:14 PM, Albert Shih albert.s...@obspm.fr wrote:

 Hi all.

 I would like to known what nagios with the child host when a parent is
 unreachable.

 Does he continu to check something ? For example trying to known when a
 child return to normal.

 Regards.

 JAS
 --
 Albert SHIH
 SIO batiment 15
 Observatoire de Paris Meudon
 5 Place Jules Janssen
 92195 Meudon Cedex
 Téléphone : 01 45 07 76 26/06 86 69 95 71
 Heure local/Local time:
 Jeu 22 avr 2010 22:12:23 CEST


 --
 ___
 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 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] $SERVICEOUTPUT$ missing from emails.. Nagios 3.2.1

2010-04-20 Thread Marcel
from the docs, $SERVICEOUTPUT$ just prints the first output line. If by any
chance your plugin is outputting \n$SERVICEOUTPUT$\n the all you'll get
would be a blank line.

However, you can try using $LONGSERVICEOUTPUT$, as it prints everything from
plugins' output.

On Tue, Apr 20, 2010 at 2:43 PM, Peter Kranz pkr...@unwiredltd.com wrote:

 Confirmed:

 service_notification_commands   notify-by-email

 Apparently some reported similar issues in the past under the 2.0 chain..

  http://osdir.com/ml/network.nagios.devel/2005-11/msg4.html

 -Peter

 -Original Message-
 From: Marc Powell [mailto:li...@xodus.org]
 Sent: Tuesday, April 20, 2010 4:34 AM
 To: Nagios Users List
 Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios
 3.2.1


 On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote:

  It's the default that comes with the .tar:
 
  # 'notify-by-email' command definition define command{
 command_namenotify-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$
  alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$
 }

 Make sure the contact is using 'notify-by-email' as their service
 notification command. There have been no reports of this as a bug so I'd
 greatly lean toward it being a configuration issue.

 --
 Marc



 
 --
 Download Intel#174; Parallel Studio Eval Try the new software tools for
 yourself. Speed compiling, find bugs proactively, and fine-tune
 applications
 for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
___
Nagios-users 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-br] Notification Status

2010-04-16 Thread Marcel
Então resolveu?

2010/4/14 Leandro da Silva de Souza leandro.so...@corp.globo.com

 Marcel,

 Na verdade eu queria o status da notificacao geral , que eu acredito que
 seja enable_notifications . Pois ao desabilitar via external command a
 notificacao a unica linha que é alterada é a do enable_notifications.
 Esse script em python vai rodar via crontab para chegar uns processos
 internos para evitar mandar notificacao atoa para os usuarios

 Assim que eu faço um external command para habilitar/desabilitar e abaixo o
 status atual dele. Eu queria justamente achar onde estava o status

 printf \[%lu] ENABLE_NOTIFICATIONS;\  + data +  
 /var/nagios/rw/nagios.cmd
 printf \[%lu] DISABLE_NOTIFICATIONS;\  + data +  
 /var/nagios/rw/nagios.cmd

 Arquivo status.dat
 # grep enable_notifications status/status.dat
enable_notifications=0
 # grep enable_notifications status/status.dat
enable_notifications=1

 abs
 Leandro Souza

 Em 13 de abril de 2010 20:28, Marcel mits...@gmail.com escreveu:

  Se eu te entendi direito, vc quer é usar MACROS (
  http://nagios.sourceforge.net/docs/3_0/macrolist.html) pra realizar
  validações lógicas antes de enviar um external command (
  http://old.nagios.org/developerinfo/externalcommands/commandlist.php)
 para
  desabilitar notificações de um determinado serviço.
 
  Para isso, vc precisa configurar um event handler (se esse python for um)
  que executará o script que desabilitará as notificações.
 
  Ou, caso eu tenha te entendido mal, e vc está criando um CGI em python
 para
  somente desabilitar as notificações enviando o comando diretamente no
 pipe
  de comandos, vc não poderá usar as macros e terá que parsear o
  /caminho/do/nagios/var/status.dat (ou será que é o objects.cache?) para
  extrair a informação do status das notificações de cada serviço.
 
  Qualquer dúvida posso te ajudar, já fiz isso antes e é relativamente
  trivial.
 
  []s
 
  2010/4/13 Leandro da Silva de Souza leandro.so...@corp.globo.com
 
   Bom dia
  
   Estou fazendo uma rotina ( em python )  para habilitar/desabilitar a
   notificao via external command caso algum serviço esteja com falha
 para
   não prejudicar o desenpenho do servidor ( numero de processos abertos
 ).
  A
   função de ENABLE/DISABLE da notificação esta ok, mas não estou
  conseguindo
   verificar o seu status antes de tomar alguma ação ( se já estiver
   habilitada
   não habilita novamente ).
   Alguem sabe com eu verifico o status da Notificação  ?
  
  
   obrigado
   Leandro Souza
  
  
 
 --
   Download Intel#174; Parallel Studio Eval
   Try the new software tools for yourself. Speed compiling, find bugs
   proactively, and fine-tune applications for parallel performance.
   See why Intel Parallel Studio got high marks during beta.
   http://p.sf.net/sfu/intel-sw-dev
   --
   Nagios-users-br@lists.sourceforge.net mailing list
   https://lists.sourceforge.net/lists/listinfo/nagios-users-br
   Wiki: http://nagios-br.sf.net/wiki
  
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 

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

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


Re: [Nagios-users-br] Nagios Plugin SNMP para monitorar erros CRC em roteadores e switch

2010-04-16 Thread Marcel
MIB é um arquivo texto, vc tem certeza quando vc diz que MIBs proprietárias
são difíceis de usar para monitoramento via SNMP?
Todo equipamento que possui capacidade de gerenciamento remoto provê as MIBs
necessárias para implementação de monitoramento de exceções ou tendências.

http://www.oidview.com/mibs/detail.html
http://www.oid-info.com/cgi-bin/display?tree=1

Benedito, vc deverá procurar documentação a respeito das MIBs, como
importá-las a sua estrutura de MIBs, e então conseguirá o que deseja.

[]s


2010/4/15 Shine esh...@gmail.com

 Acho difícil, pq são MIBs proprietárias. Cada fabricante usa uma MIB
 para armazenar esse valor.
 E o fato do valor ser um valor estático (integer) faz com que o plugin
 tenha que contar o acréscimo do contador.

 sd,
 Edgar

 2010/4/14  benedito.ra...@caixa.gov.br:
  Olá a TODOS!
 
  Alguém saberia onde encontro um plugin para detecção de erros CRC em
 roteadores e switch (marca CISCO e 3Com) para uso no Nagios?
 
  Qualquer ajuda será de grande utilidade.
 
  Grato desde já.
 
  Diramos.
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 


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

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


Re: [Nagios-users-br] Notification Status

2010-04-14 Thread Marcel
Se eu te entendi direito, vc quer é usar MACROS (
http://nagios.sourceforge.net/docs/3_0/macrolist.html) pra realizar
validações lógicas antes de enviar um external command (
http://old.nagios.org/developerinfo/externalcommands/commandlist.php) para
desabilitar notificações de um determinado serviço.

Para isso, vc precisa configurar um event handler (se esse python for um)
que executará o script que desabilitará as notificações.

Ou, caso eu tenha te entendido mal, e vc está criando um CGI em python para
somente desabilitar as notificações enviando o comando diretamente no pipe
de comandos, vc não poderá usar as macros e terá que parsear o
/caminho/do/nagios/var/status.dat (ou será que é o objects.cache?) para
extrair a informação do status das notificações de cada serviço.

Qualquer dúvida posso te ajudar, já fiz isso antes e é relativamente
trivial.

[]s

2010/4/13 Leandro da Silva de Souza leandro.so...@corp.globo.com

 Bom dia

 Estou fazendo uma rotina ( em python )  para habilitar/desabilitar a
 notificao via external command caso algum serviço esteja com falha para
 não prejudicar o desenpenho do servidor ( numero de processos abertos ). A
 função de ENABLE/DISABLE da notificação esta ok, mas não estou conseguindo
 verificar o seu status antes de tomar alguma ação ( se já estiver
 habilitada
 não habilita novamente ).
 Alguem sabe com eu verifico o status da Notificação  ?


 obrigado
 Leandro Souza

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

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


Re: [Nagios-users] Fw: nagios web only show 400 node?

2010-04-13 Thread Marcel
On Mon, Apr 12, 2010 at 11:38 PM, wwanghongrui wwanghong...@cebbank.comwrote:

  - You haven't reloaded or restarted nagios since adding them

 I exectue /etc/init.d/nagios reload every time after edit something.


 
  The file you're adding them to isn't parsed by nagios (i.e. a cfg_file or in 
 a cfg_dir in nagios.cfg). (run /path/to/nagios -v /path/to/nagios.cfg and 
 see if the numbers presented are reasonable).


 BL680-127:~ # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
  Nagios Core 3.2.0
 Copyright (c) 2009 Nagios Core Development Team and Community Contributors
 Copyright (c) 1999-2009 Ethan Galstad
 Last Modified: 08-12-2009
 License: GPL
  Website: http://www.nagios.org
 Reading configuration data...
Read main config file okay...
 Processing object config file '/usr/local/nagios/etc/hosts.cfg'...
 Processing object config file '/usr/local/nagios/etc/services.cfg'...
 Processing object config file '/usr/local/nagios/etc/misccommands.cfg'...
 Processing object config file '/usr/local/nagios/etc/checkcommands.cfg'...
 Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
 Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
 Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
 Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
 Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
 Processing object config file '/usr/local/nagios/etc/escalations.cfg'...
 Processing object config file '/usr/local/nagios/etc/dependencies.cfg'...
 Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
 Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
 Processing object config file '/usr/local/nagios/etc/meta_commands.cfg'...

 Processing object config file '/usr/local/nagios/etc/meta_contactgroup.cfg'...
 Processing object config file '/usr/local/nagios/etc/meta_contact.cfg'...

 Processing object config file '/usr/local/nagios/etc/meta_dependencies.cfg'...

 Processing object config file '/usr/local/nagios/etc/meta_escalations.cfg'...
 Processing object config file '/usr/local/nagios/etc/meta_hostgroup.cfg'...
 Processing object config file '/usr/local/nagios/etc/meta_host.cfg'...
 Processing object config file '/usr/local/nagios/etc/meta_services.cfg'...

 Processing object config file '/usr/local/nagios/etc/meta_timeperiod.cfg'...
Read object config files okay...
  Running pre-flight check on configuration data...
  Checking services...
 Checked 2794 services.
 Checking hosts...
 Warning: Host 'Centreon-Server' has no services associated with it!
 Warning: Host 'localhost' has no services associated with it!
 Checked 430 hosts.
 Checking host groups...
 Checked 5 host groups.
 Checking service groups...
 Checked 4 service groups.
 Checking contacts...
 Checked 10 contacts.
 Checking contact groups...
 Checked 4 contact groups.
 Checking service escalations...
 Checked 0 service escalations.
 Checking service dependencies...
 Checked 0 service dependencies.
 Checking host escalations...
 Checked 0 host escalations.
 Checking host dependencies...
 Checked 0 host dependencies.
 Checking commands...
 Checked 103 commands.
 Checking time periods...
 Checked 7 time periods.
 Checking for circular paths between hosts...
 Checking for circular host and service dependencies...
 Checking global event handlers...
 Checking obsessive compulsive processor commands...
 Checking misc settings...
  Total Warnings: 2
 Total Errors:   0



 - If you have authentication enabled, the user you log in as is not a 
 contact for the hosts in question.
 I log in as nagios admin. I think that user have privilage to see any
 hosts.


 -You have multiple nagios daemons running at the same time and there is 
 contention over the status file.

  BL680-127:~ # service nagios status
 nagios (pid 18513) is running...
  BL680-127:~ # ps -ef |grep nagios.cfg

 nagios   13648 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
 -d /usr/local/nagios/etc/nagios.cfg

 nagios   13658 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
 -d /usr/local/nagios/etc/nagios.cfg

 nagios   13662 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
 -d /usr/local/nagios/etc/nagios.cfg

 nagios   13666 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
 -d /usr/local/nagios/etc/nagios.cfg

 nagios   13689 18513  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
 -d /usr/local/nagios/etc/nagios.cfg
 root 13707  3121  0 10:28 pts/000:00:00 grep nagios.cfg

 nagios   18513 1  2 Apr12 ?00:24:40 /usr/local/nagios/bin/nagios 
 -d /usr/local/nagios/etc/nagios.cfg
  BL680-127:~ # ps -ef |grep nagios.cfg

 nagios   14090 1  0 10:28 ?00:00:00 /usr/local/nagios/bin/nagios 
 -d /usr/local/nagios/etc/nagios.cfg

 nagios   14381   

Re: [Nagios-users] Nagios Monitoring with out NRPE

2010-04-09 Thread Marcel
/usr/local/nagios/libexec/check_http --help

On Fri, Apr 9, 2010 at 4:32 PM, akp geek akpg...@gmail.com wrote:

 Hi all -

 Would it be possible to monitor a website, whether the web site is up or
 not using nagios. I have nagios sset up to monitor the  databases

 Appreciate your help

 Regards


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Setup Nagios on an HP-UX Server

2010-04-08 Thread Marcel
If you don't want to read the manual, trying to do it yourself first, the
come here with your doubts and problems faced, then you could pay anyone to
do this for you...

On Thu, Apr 8, 2010 at 5:02 PM, Bertino, Paul 
paul_bert...@cable.comcast.com wrote:

   I had hoped someone could give me some direction here. I would
 appreciate any help in this matter!



 Thanks,



 *Paul Bertino*

 *Senior Administrator*

 *System Support Group*

 Comcast Cable Communications, Inc.

 MS 22044

 1354 Boot Road

 West Chester, PA. 19380

 215-286-2225

 *From:* Bertino, Paul [mailto:paul_bert...@cable.comcast.com]
 *Sent:* Wednesday, April 07, 2010 12:32 PM
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* Re: [Nagios-users] Setup Nagios on an HP-UX Server



 Hello,



  First I am inexperienced with setting up monitoring. I think what I

  would like to do is

  have Nagios and the net-snmp reside on the same server to monitor it

  resources on the HP-UX server.

  I hope this explains it.

 I am trying to setup net-snmp with Nagios on an HP-UX with Unix OS

  version 11.23. Could you

 

  point me in the right direction to get this information or do you have

  any on the site? I would

 

  appreciate any assistance on this.

 Thanks,



 *Paul J. Bertino*

 Platforms, IO, NETO

 Senior Systems Admin

 Comcast Cable Communications, Inc.

 1354 Boot Road

 MS 22044

 West Chester, PA. 19380

 610-732-2225






 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

image002.gif--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users-br] plugin OU

2010-04-01 Thread Marcel
Para os discos acho que vc vai ter que cozinhar um plugin customizado.

Para os links, dá pra alcançar o comportamento OU se vc usar o check_cluster
ou check_cluster2

2010/4/1 Jose Oliveira jotag...@gmail.com

 Colegas

 Estou procurando um plugin OU.

 Cenário1:
 Os nossos Bancos de Dados Oracle não podem crescer a ocupação de disco
 automaticamente.
 Os servidores possuem mais de um disco

 Quero dar alarme se a soma dos espaços em disco disponiveis nos
 filesystems /dados1, /dados2, /dados3 e etc for menor que 10%.


 Cenario1:
 Tenho duas formas de comunicação com uma Rede de Captura de
 transações: X25 e tcp/ip
 A escolha de qual está ativa é a rede, não nossa. Nós estamos sempre
 escutando as duas portas e aptos a estabelecer conexão.
 UMA das portas deve estar ativa. Se as duas estiverem inativas,
 alarma. Senão, não alarma...

 Alguem tem idéias?

 --
 Abraços
 JGeraldo


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

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


Re: [Nagios-users-br] EventHandler e Status do Problema

2010-03-28 Thread Marcel
Cara, que confusão...

2010/3/26 Giovanni Antonio Mantelli giova...@prosul.com

 Estou trabalhando com eventhandlers e desenvolvi um mecanismo que faz o
 nagios interagir com o servidor de asterisk, e quando acontecer alguma
 normalidade em minha rede, recebo uma ligação personalizada informando
 do problema em meu telefone celular. Está tudo funcionando, porém estou
 um com pequeno problema:


em quais eventos o handler é disparado?


 Quando o nagios detecta que um servidor meu caiu, por exemplo, o
 Status do meu serviço do eventhandler no gerenciador do Nagios está
 como OK, ou seja, fica Verde.
 Gostaria que quando o problema ocorresse, o mesmo ficasse Vermelho =
 Critical.


o status do meu serviço do eventhandler no gerenciador do nagios está como
ok, ou seja, verde

eu não entendi nada disso ae... melhore sua descrição.



 Segue abaixo, o serviço que chama meu eventhandler para verificação de
 servidores de cluster:

 define service {
 use template-service
 host_namenodo1
 service_description Check Cluster Nodo1
 check_command  check_cluster!192.168.1.1!nodo1!22
 normal_check_interval 1
 max_check_attempts2
 }


Um eventhandler é um comando, não um serviço. Acho que vc precisa se
aprofundar mais em eventhandlers, saber o que está fazendo, pois parece que
vc não consegue nem explicar teu problema.

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


Re: [Nagios-users-br] contingência nagios

2010-03-24 Thread Marcel
Vc fez uma configuração fail-over ou redundant?

Pergunto pois se é fail-over, quando o heartbeat detectar a parada do
serviço no servidor master, os scripts de virada do IP de produção deverão
acionar o nagios standy/slave a realizar as checagens ativas, enviando
comandos via nagios.cmd.

O ip que o heartbeat chaveia só serve para a camada de monitorações
passivas, onde os servidores monitorados tem que enviar o resultado de
checagens locais (realizadas pelo cron, at, et al), para o NSCA, e aí é que
entra o heartbeat, pois os servidores monitorados não devem conhecer qual
servidor nagios está em produção, e estão todos configurados para enviar os
resultados passivos diretamente no IP de produção do NSCA, que é o IP que o
heartbeat estará chaveando.

Caso a configuração seja redundant, o heartbeat chaveia o IP para os
resultados passivos, e também deve ativar o envio de notificações pelo
nagios standby ou slave.

[]s


2010/3/24 Jose Oliveira jotag...@gmail.com

 Oi

 O nagios origina a comunicação, enquanto que soluções tipo heartbeat
 foram projetadas para servidores de serviço que recebem comunicação,
 tipo Banco de Dados ou Web server...

 Falando de rede, sem falar de heartbeat...

 O padrão é a comunicação sair pela placa de rede mais perto da rede
 que se quer alcançar, ou pelo custo da rota...

 Se voce colocar o IP virtual em uma rede que seja mais preferencial
 que o IP real, acho que sairá pelo virtual...




 Em 24 de março de 2010 11:22, Alex alexpo...@yahoo.com.br escreveu:
 
  Pessoal, bom dia.
 
  tenho um nagios funcionando ok.
 
  Só que estou precisando fazer contingencia do mesmo, para isso configurei
 o nagios em outro servidor, e irei utilizar o heatbeat, até ai tudo bem.
 
  Para isso terei um ip virtual para quando um server cair ele apontara
 para o outro servidor.
 
  O que esta ocorrendo é que só esta funcionando o ip fisico da maquina,
 quando seto no client no campo:
  allowed_hosts= o ip virtual não funciona.
 
  O que preciso fazer para que funcione.
 
  obrigado pela ajuda.
 
  Alex
 
 
 
 
  
 
  Veja quais são os assuntos do momento no Yahoo! +Buscados
  http://br.maisbuscados.yahoo.com
 
 
 --
  Download Intel® Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 



 --
 Abraços
 JGeraldo


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

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


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

2010-03-24 Thread Marcel
somos amigos, mas o google é onisciente:
http://www.google.com/search?q=check_by_ssh+authorized_keys+setupie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-alevando
a
http://www.zdnetasia.com/remotely-monitor-servers-with-the-nagios-check-by-ssh-plugin-62052006.htmque
possui a receita digerida.

2010/3/24 Marcel mits...@gmail.com

 a chave *tem* que estar no .ssh no home do nagios.

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

 Boa tarde,

  Estou tentando utilizar o plugin check_by_ssh mas não estou obtendo
 sucesso, eu configurei os servidores para fazer uma conexao ssh sem senha,
 e
 quando testo na mao funciona mas com o nagios não, ele fica me retornando
 esta mensagem Remote command execution failed: Host key verification
 failed.

 alguem já passou por isto?

 O meu command esta configurado assim:

 # 'check_ssh_teste' command definition
 define command{
command_namecheck_ssh_teste
command_line/usr/lib/nagios/plugins/check_by_ssh -H
 '$HOSTADDRESS$' -C '/root/teste'
}

 ja tentei colocar -l  'root' ou -l 'nagios' mas segue com o mesmo problema



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

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



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


Re: [Nagios-users] nagios alert

2010-03-19 Thread Marcel
at least it's not a question about notifications *not* being sent.

what do you mean about nagios sending alerts very often? Isn't that why you
setup it for?

On Fri, Mar 19, 2010 at 12:09 PM, Rutul Patel rutul.pa...@nrsonline.comwrote:

 Hi,

 I need to configure nagios such a way that it sends alert when host is down
 and when host is up,
 Currently nagios is sending alert very often.

 Please advice,

 Thanks,
 Rutul

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Two IP for the Same server

2010-03-16 Thread Marcel
Well,

This could be completely out of line, but what if custom macros and a custom
host check was baked for this kind of situation?

He could associate a custom macro and a custom host check that uses that
custom macro to try to achieve what he wants.

Any ideas?

On Mon, Mar 15, 2010 at 8:49 PM, patrick.mor...@hp.com wrote:

 On Sat, 13 Mar 2010, Digital Edge wrote:

 
 
   From: perld...@webwizarddesign.com
   Date: Fri, 12 Mar 2010 13:15:46 -0500
   To: nagios-users@lists.sourceforge.net
   Subject: Re: [Nagios-users] Two IP for the Same server
  
   On Fri, Mar 12, 2010 at 11:52 AM, Digital Edge reachta...@hotmail.com
 wrote:
Dear List,
   
I have a server , which is having 2 NIC with IP assign. I wanted to
 add in
nagios those two IP with same hostname  relevant service checks.
   
Will it be possible.
  
   Not with a single host definition; however this can be modeled with 3
   host definitions:
   * One virtual parent host object that has as a host check ping checks
   for both IPs
   * One virtual host object that represents NIC1 on the host
   * One virtual host object that represents NIC2 on the host
  
   Parent -- A - NIC 1
   |
   |--- B - NIC 2
  
   The two hosts representing the NICs would have the parent host as
   their parent so that if the ping checks fail for the two hosts you
   only get notified that the parent host object is down.
  
 
 
  What I mean to say that ,
 
  define host{
  use generic-servers
  host_name   Example1
  alias   Example1 - Used for Cookie
  address 192.168.1.100
  address1 192.168.1.101
  }
 
  Is anyway it possible to add multiple address field in the host
 definition, if the same server having more than one IP address.

 To quote the original reply:

   Not with a single host definition


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Performance

2010-03-16 Thread Marcel
well, SNMP is a proper Nagios client.

With rocommunity and firewall rules, security isn't a big deal.

I'm using SNMP to actively issue checks when passive transport get stalled.
It tries to send the passive result, expecting good return code from
send_nsca (and could check for cron, try to determine if server is
thrashing, and so on), or, sends back to snmpget the result.

Cheers,
Marcel

On Tue, Mar 16, 2010 at 3:56 AM, Giorgio Zarrelli zarre...@linux.it wrote:

 Hi,

 If you just want to check if a host is alive, icmp is the protocol
 that's always been used for this purpose.

 I use snmp mostly for appliances, eg. Routers, firewall and switches,
 wherr I can't install a proper Nagios client to rely on.

 Ciao,

 Giorgio

 Il giorno 15/mar/2010, alle ore 23.02, Eduardo Barreto
 lec...@gmail.com ha scritto:

  Hi All, Could anybody tell me what's better, checking hosts through
  icmp protocol or snmp? What are the risks or may set the network at
  all on a poor status?
 
  Cheers
 
  Eduardo Barreto
  ---
  ---
  ---
  -
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  Nagios-users mailing list
  Nagios-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users
  ::: Please include Nagios version, plugin version (-v) and OS when
  reporting any issue.
  ::: Messages without supporting info will risk being sent to /dev/null


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Accessing Nagios for the first time

2010-03-15 Thread Marcel
404 means that either you don't have the nagios.conf sourced in httpd.conf
or you haven't restarted httpd, don't see any other choice here.

On Sun, Mar 14, 2010 at 4:36 PM, Tim Tompson tt.rexp...@gmail.com wrote:

 Yes, I restarted during the installation process.

 Any other ideas?  Thanks!


 On Fri, Mar 12, 2010 at 6:12 PM, Marcel mits...@gmail.com wrote:

 have you restarted httpd?

 On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson tt.rexp...@gmail.comwrote:

 Any other ideas?


 On Thu, Mar 11, 2010 at 12:44 PM, Tim Tompson tt.rexp...@gmail.comwrote:

 Apache is working: Apache is functioning normally

 Yes, I have a few other sites on this box, all functioning properly.

 When I navigate to myserverip/nagios I get a 404 Not Found.

 :(


 On Thu, Mar 11, 2010 at 4:40 AM, Aidan Anderson 
 m...@aidananderson.co.uk wrote:

 Tim Tompson wrote:
  My nagios.conf:
 
  ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF
 
  ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
  Directory /usr/local/nagios/sbin
 
 
 Options ExecCGI
 
 AllowOverride None
 
 Order allow,deny
 
 Allow from all
 
 AuthType Digest
 
 AuthName Nagios Access
 
 AuthUserFile /usr/local/nagios/etc/.digest_pw
 
 
 Require valid-user
 
  /Directory
 
 
 
  Alias /nagios /usr/local/nagios/share
 
  Directory /usr/local/nagios/share
 
 Options None
 
 AllowOverride None
 
 
 Order allow,deny
 
 Allow from all
 
 AuthType Digest
 
 AuthName Nagios Access
 
 AuthUserFile /usr/local/nagios/etc/.digest_pw
 
 Require valid-user
 
  /Directory
 
 
  ## END APACHE CONFIG SNIPPETS
 
  I followed the instructions at:
  http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure
  my install, and thats where I got the above .conf file.
 
  Its set to Allow from all, shouldn't that work?
 

 It should and so should connecting to serveripaddress/nagios.  It looks
 like Apache is your issue. Is it running?  Are there other web sites
 running on the same box?  Are they working?

 Aidan



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null





 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively

Re: [Nagios-users-br] Nagios - Autenticação Apache LDAP.

2010-03-13 Thread Marcel
Essa pergunta só diz respeito a como vc configura o apache para realizar a
autenticação dos usuários no nagios. Não tem nada a ver com a configuração
do nagios, então sugiro vc procurar essa informação nas listas de apache.

[]s

2010/2/5 benedito.ra...@caixa.gov.br

 Pessoal,

 Alguém aí tem um tutorial o mais completo possível, sobre implementação de
 autenticação do Nagios via PAM e LDAP?
 Tipo: o usuário, ao invés de fazer login pelo usuário do htpassad.users,
 faz login com a conta do Active Directory do Windows 2003.
 Preciso saber os pacotes que tem que instalar, as configurações, etc.

 Grato

 Diramos.



 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the
 business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

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


Re: [Nagios-users-br] RES: Log completo do Nagios - Onde fica?

2010-03-13 Thread Marcel
# para GMT-0300:
tail -f /usr/local/nagios/var/nagios.log | perl -ne 'm/\[(\d+)\]/;
$t=gmtime($1-10800); s/\[(\d+)\]/\[$t\]/; print'

2010/3/12 Marcel mits...@gmail.com

 tail -f /usr/local/nagios/var/nagios.log | perl -ne 'm/\[(\d+)\]/;
 $t=gmtime($1); s/\[(\d+)\]/\[$t\]/; print'

 2010/2/10 Shine esh...@gmail.com

 Nada contra montar códigos para conversão de horários, mas para os
 preguiçosos em montar scripts (como eu), nada como pegar uma
 receitinha moleza em uma linguagem mais fácil, que pode incluir
 horários de verão. :P
 http://www.perl.com/pub/a/2003/03/13/datetime.html

 sd,
 Edgar

 Em 10 de fevereiro de 2010 14:18,  benedito.ra...@caixa.gov.br
 escreveu:
  Pedrão,
 
  Muito obrigado pela dica.
  O Jotagera também confirmou isso e, inclusive, enviou um código em C
 para conversão dos segundos.
 
  Valeu!
 
  Diramos
 
 
  -Mensagem original-
  De: Pedro Henrique Ximenes [mailto:ped...@uol.com.br]
  Enviada em: terça-feira, 9 de fevereiro de 2010 12:47
  Para: 'Unofficial Brazilian (Portuguese) Nagios Users List'
  Assunto: Re: [Nagios-users-br] Log completo do Nagios - Onde fica?
 
  Olá,
 
  O número que aparece entre colchetes no início de cada linha é a data e
 hora
  do evento, em formato UTC (Universal Time Coordinator).
 
  Atenciosamente,
  Pedro Henrique Ximenes
  ped...@uol.com.br
 
  -Original Message-
  From: benedito.ra...@caixa.gov.br [mailto:benedito.ra...@caixa.gov.br]
  Sent: terça-feira, 9 de fevereiro de 2010 12:25
  To: nagios-users-br@lists.sourceforge.net
  Subject: [Nagios-users-br] Log completo do Nagios - Onde fica?
 
  Pessoal, bom dia!
 
  Lengo o arquivo /usr/local/nagios/var/nagios.log, encontro linhas tipo:
 
  [1265720776] HOST ALERT: servidorWEB;DOWN;SOFT;2;(Host Check Timed Out)
 
  Mas entrando pela interface WEB do Nagios, em relatórios, log de
 eventos, me
  mostra o seguinte:
 
  [09-02-2010 11:14:47] HOST ALERT: servidorWEB;DOWN;SOFT;2;(Host Check
 Timed
  Out)
 
  Ou seja, na interface web, aparece a data e horário do evento, enquanto
 que
  o nagios.log não.
 
  Eu estou precisando urgente do log completo, com data e horário, para
 usar
  em outra aplicação aqui.
 
  Procurei em todo canto no sistema e não achei.
 
  ALGUÉM SABERIA ME DIZER ONDE ESTÁ ESSE ARQUIVO QUE CONTÉM DATA E
 HORÁRIO?
 
  Estou precisando urgente.
 
  Grato
 
  Dito
 
 
 
 
 
 
  --
  The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay
  online with enterprise data centers and the best network in the business
  Choose flexible plans and management services without long-term
 contracts
  Personal 24x7 support from experience hosting pros just a phone call
 away.
  http://p.sf.net/sfu/theplanet-com
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 
 
 
 --
  The Planet: dedicated and managed hosting, cloud storage, colocation
  Stay online with enterprise data centers and the best network in the
 business
  Choose flexible plans and management services without long-term
 contracts
  Personal 24x7 support from experience hosting pros just a phone call
 away.
  http://p.sf.net/sfu/theplanet-com
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 
 
 --
  SOLARIS 10 is the OS for Data Centers - provides features such as
 DTrace,
  Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
  http://p.sf.net/sfu/solaris-dev2dev
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 


 --
 SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
 Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
 http://p.sf.net/sfu/solaris-dev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki



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


Re: [Nagios-users-br] Webinject - Páginas com login e senha

2010-03-13 Thread Marcel
No passado usei extensivamente o webinject, posso te ajudar se ainda
precisar.

2010/1/11 Heitor Felipe Lessa heitor.le...@hotmail.com


 Prezados,

  Gostaria de saber se alguém conseguiu usar o Webinject, estou tentando
 usar com páginas por trás do Tomcat, Glassfish e outras, mas pelos logs da
 aplicação o mesmo não passa nem da autenticação, julgo estar parametrizando
 errado o parseresponde.

  Caso alguém tenha algum testcase.xml que possa enviar com a senha alterada
 lógico ^^, agradeceria.

 Grato.

 Atenciosamente,

 Heitor Lessa




 _
 Com o Windows 7 nenhum arquivo vai se esconder de você. Clique para
 conhecer !
 http://www.microsoft.com/brasil/windows7/default.html?WT.mc_id=1539

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

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


Re: [Nagios-users-br] Nagios - Dependência de Servi ços

2010-03-13 Thread Marcel
Vc tem que alterar corretamente o execution_failure_criteria e o
notification_failure_criteria.

Também precisa ter frequências de checagens ajustadas, o serviço PING deverá
ser checado numa frequência maior que os outros serviços, já que os
critérios de execução das checagens e das notificações devem seguir a
correta ordem.

Do jeito que vc colocou, seus serviços dependentes serão checados e
notificados em caso de status Warning, Unknown, Critical e Pending do
serviço PING, tornando a dependência inútil. Para ter a dependência
funcionando corretamente, vc deveria ter colocado apenas c, que levaria o
nagios a não executar service checks nem enviar notificações dos serviços
dependentes do PING caso o PING esteja crítico.

RTFM é uma boa prática, tudo isso está na documentação.

2010/2/25 benedito.ra...@caixa.gov.br

 Olá PessoALL,

 Estou com um problema:

 Tenho um determinado host (servidor windows) no qual faço checagem de
 alguns serviços, tipo: tráfego de rede, espaço em disco, serviço SQL, etc.
 Mas quando o servidor cai, todos os serviços alarmam no Nagios também (o
 que é lógico, pois o servidor saiu do ar).
 Isso causa poluição visual.
 Então estive lendo sobre a funcionalidade do Nagios chamada Service
 Dependency, que serve justamente prá configurar os serviços, de modo que os
 serviços dependentes não sejam alarmados quando o serviço master (ping)
 cair.

 Fiz meu .cfg assim:

 define servicedependency {
   dependent_host_name  servidor1
   dependent_service_descriptionTrafego de Rede - Backup
 Amoreiras,Uso CPU,Uso Disco C,Uso Disco E,Uso Disco F,Uso Disco G,Uso Disco
 H,Uso Disco I,Uso Disco S,Uso Memoria
   host_nameservidor1
   service_description  PING
   inherits_parent  0
   execution_failure_criteria   w,u,c,p
   notification_failure_criteriaw,u,c,p

 }

 Não deu erro de configuração, reiniciei o Nagios certinho.
 Só que não ta funcionando na prática, pois alguns serviços alarmam e outros
 não.
 Sendo que o correto era só alarmar o PING.

 Alguem já passou por isso. Podem me ajudar?
 A minha versão do Nagios é 3.0rc1.
 Será que tem algum bug?
 Se alguém puder testar em versão mais nova, agradeço.

 Grato desde já.

 Diramos





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

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


Re: [Nagios-users-br] RES: Log completo do Nagios - Onde fica?

2010-03-13 Thread Marcel
tail -f /usr/local/nagios/var/nagios.log | perl -ne 'm/\[(\d+)\]/;
$t=gmtime($1); s/\[(\d+)\]/\[$t\]/; print'

2010/2/10 Shine esh...@gmail.com

 Nada contra montar códigos para conversão de horários, mas para os
 preguiçosos em montar scripts (como eu), nada como pegar uma
 receitinha moleza em uma linguagem mais fácil, que pode incluir
 horários de verão. :P
 http://www.perl.com/pub/a/2003/03/13/datetime.html

 sd,
 Edgar

 Em 10 de fevereiro de 2010 14:18,  benedito.ra...@caixa.gov.br escreveu:
  Pedrão,
 
  Muito obrigado pela dica.
  O Jotagera também confirmou isso e, inclusive, enviou um código em C para
 conversão dos segundos.
 
  Valeu!
 
  Diramos
 
 
  -Mensagem original-
  De: Pedro Henrique Ximenes [mailto:ped...@uol.com.br]
  Enviada em: terça-feira, 9 de fevereiro de 2010 12:47
  Para: 'Unofficial Brazilian (Portuguese) Nagios Users List'
  Assunto: Re: [Nagios-users-br] Log completo do Nagios - Onde fica?
 
  Olá,
 
  O número que aparece entre colchetes no início de cada linha é a data e
 hora
  do evento, em formato UTC (Universal Time Coordinator).
 
  Atenciosamente,
  Pedro Henrique Ximenes
  ped...@uol.com.br
 
  -Original Message-
  From: benedito.ra...@caixa.gov.br [mailto:benedito.ra...@caixa.gov.br]
  Sent: terça-feira, 9 de fevereiro de 2010 12:25
  To: nagios-users-br@lists.sourceforge.net
  Subject: [Nagios-users-br] Log completo do Nagios - Onde fica?
 
  Pessoal, bom dia!
 
  Lengo o arquivo /usr/local/nagios/var/nagios.log, encontro linhas tipo:
 
  [1265720776] HOST ALERT: servidorWEB;DOWN;SOFT;2;(Host Check Timed Out)
 
  Mas entrando pela interface WEB do Nagios, em relatórios, log de eventos,
 me
  mostra o seguinte:
 
  [09-02-2010 11:14:47] HOST ALERT: servidorWEB;DOWN;SOFT;2;(Host Check
 Timed
  Out)
 
  Ou seja, na interface web, aparece a data e horário do evento, enquanto
 que
  o nagios.log não.
 
  Eu estou precisando urgente do log completo, com data e horário, para
 usar
  em outra aplicação aqui.
 
  Procurei em todo canto no sistema e não achei.
 
  ALGUÉM SABERIA ME DIZER ONDE ESTÁ ESSE ARQUIVO QUE CONTÉM DATA E HORÁRIO?
 
  Estou precisando urgente.
 
  Grato
 
  Dito
 
 
 
 
 
 
  --
  The Planet: dedicated and managed hosting, cloud storage, colocation Stay
  online with enterprise data centers and the best network in the business
  Choose flexible plans and management services without long-term contracts
  Personal 24x7 support from experience hosting pros just a phone call
 away.
  http://p.sf.net/sfu/theplanet-com
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 
 
 
 --
  The Planet: dedicated and managed hosting, cloud storage, colocation
  Stay online with enterprise data centers and the best network in the
 business
  Choose flexible plans and management services without long-term contracts
  Personal 24x7 support from experience hosting pros just a phone call
 away.
  http://p.sf.net/sfu/theplanet-com
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 
 
 --
  SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
  Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
  http://p.sf.net/sfu/solaris-dev2dev
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 


 --
 SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
 Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
 http://p.sf.net/sfu/solaris-dev2dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

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


Re: [Nagios-users] Python module for talking to nsca

2010-03-12 Thread Marcel
in the source code?

On Thu, Mar 11, 2010 at 6:32 PM, Jelle Smet nag...@smetj.net wrote:

 Hi list,

 Anyone knows how to connect to nsca from python?
 I've understood it's not that difficult to do so, but if there's a module
 made for it, It saves the trouble.

 If not, where can I find the nsca specifications to write a module myself?

 Thanks,

 --
 Jelle Smet
 http://www.smetj.net



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Accessing Nagios for the first time

2010-03-12 Thread Marcel
have you restarted httpd?

On Thu, Mar 11, 2010 at 6:10 PM, Tim Tompson tt.rexp...@gmail.com wrote:

 Any other ideas?


 On Thu, Mar 11, 2010 at 12:44 PM, Tim Tompson tt.rexp...@gmail.comwrote:

 Apache is working: Apache is functioning normally

 Yes, I have a few other sites on this box, all functioning properly.

 When I navigate to myserverip/nagios I get a 404 Not Found.

 :(


 On Thu, Mar 11, 2010 at 4:40 AM, Aidan Anderson m...@aidananderson.co.uk
  wrote:

 Tim Tompson wrote:
  My nagios.conf:
 
  ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF
 
  ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
  Directory /usr/local/nagios/sbin
 
 
 Options ExecCGI
 
 AllowOverride None
 
 Order allow,deny
 
 Allow from all
 
 AuthType Digest
 
 AuthName Nagios Access
 
 AuthUserFile /usr/local/nagios/etc/.digest_pw
 
 
 Require valid-user
 
  /Directory
 
 
 
  Alias /nagios /usr/local/nagios/share
 
  Directory /usr/local/nagios/share
 
 Options None
 
 AllowOverride None
 
 
 Order allow,deny
 
 Allow from all
 
 AuthType Digest
 
 AuthName Nagios Access
 
 AuthUserFile /usr/local/nagios/etc/.digest_pw
 
 Require valid-user
 
  /Directory
 
 
  ## END APACHE CONFIG SNIPPETS
 
  I followed the instructions at:
  http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure
  my install, and thats where I got the above .conf file.
 
  Its set to Allow from all, shouldn't that work?
 

 It should and so should connecting to serveripaddress/nagios.  It looks
 like Apache is your issue. Is it running?  Are there other web sites
 running on the same box?  Are they working?

 Aidan



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null





 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Acknowledgement notifications, getting details

2010-03-11 Thread Marcel
there is the notify-service-bby-email command, you should try:

# 'notify-service-by-email' command definition
define command{
command_namenotify-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$\n$LONGSERVICEOUTPUT$\n\n$USER10$?host=$HOSTNAME$\n\n$S
ERVICEACKCOMMENT$\n$SERVICEACKAUTHORALIAS$ | /bin/mail -s **
$NOTIFICATIONTYPE
$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **
$CONTACTEMAIL$
}


On Thu, Mar 11, 2010 at 3:28 PM, Rob Tanner rtan...@linfield.edu wrote:

  Hi,

 When an acknowledgement notification gets sent, it includes the hostname,
 the state and the IP address, and that’s all.  I would also like to see the
 time and date, the name of the tech that acknowledged the problem, and the
 text of his or her comment.  I presume the command I need to modify is
 notify-by-email in misccommand.cfg, but the command line includes
 “Date/Time: $LONGDATETIME$” while all I see in the actual email message is
 “Date/Time: $”.

 Any idea what’s going on?

 Thanks,
 Rob



 *Rob Tanner
 *UNIX Services Manager
 Linfield College, McMinnville Oregon



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] DRBD for status.dat, nagios.cmd, objects.cache?

2010-01-06 Thread Marcel
Anyone has any advice about this kind of HA strategy?

I'm thinking about using drbd for nagios-HA environment, where nagios.cmd,
status.dat and objects.cache would be in drbd partition and master/stand-by
scripts for keeping nagios running at all times when master fails and
stand-by took over.

TIA,
Marcel
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
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] Notification Question

2010-01-04 Thread Marcel
yeah, just set your normal_check_interval to 6 (minutes if you don't change
the interval_length), and max_check_attempts to 10, then, after 60 minutes
you would be notified. Or the oposite, maybe setting the check interval to
10 and the number of checks to notify to 6. That way you'll always know that
in the last 6 (or 10) checks in the last 60 minutes, you had a threshold
verification alert, but notifications are only sent after reaching the
max_check_attempts.

HTH.


On Mon, Jan 4, 2010 at 1:52 PM, steve f a31mod...@hotmail.com wrote:

  Hello  Happy New Year,

 Is it possible to have Nagios notify me of a service problem once an hour
 AND tell me how many times it alerted during that hour time frame?

 For example, if I run a plugin, I don't necessarily want to have a
 notification every time the threshold was met but after 1 hour, send me a
 notification that during that hour time period, the threshold was exceeded
 10 times?

 I know that via the notification cfg I can set the time frame for sending a
 notification but can I keep a running total of the number of alerts for that
 1 hour timeframe?

 Thanks,
 Steve

 --
 Hotmail: Trusted email with powerful SPAM protection. Sign up 
 now.http://clk.atdmt.com/GBL/go/177141665/direct/01/


 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 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 the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
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 Plug-Ins

2009-12-13 Thread Marcel
# /opt/nagios/libexec/check_http --version
check_http v2053 (nagios-plugins 1.4.13)
#

On Mon, Dec 14, 2009 at 12:20 AM, dOE doep...@gmail.com wrote:

 I have inherited a Nagios 3.0.3 server, and have been trying to get
 acquainted with it.  How could I tell which plugin version I have, and is it
 worth upgrading the plugins and Nagios to the latest?


 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev

 ___
 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

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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-devel] Alternatives to NSCA?

2009-12-11 Thread Marcel
Once upon a time, I've tweaked syslog-ng to write to the command pipe. That
worked like a charm.

On Fri, Dec 11, 2009 at 10:05 AM, sascha.runsc...@gfkl.com wrote:

 Greetings,

 does anybody know of a NSCA replacement, which does the job without the
 need
 of unsupported libraries? The requirement of libmcrypt makes NSCA a real
 hassle
 to use for us, since we have to manually install third party libraries -
 which we really
 do not want to. RedHat won't support libmcrypt, as its development is long
 dead.

 Any alternatives out there, my google searches didn't come up with anything
 sadly.

 Or might it be easier to patch NSCA to use libgcrypt for example, which is
 available
 in every distribution?

 Regards
 Sascha


 GFKL Financial Services AG
 Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp
 Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
 Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522

 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev

 ___
 Nagios-devel mailing list
 nagios-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-devel


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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] Nagios2 process overwhelmed by NSCA daemon?

2009-12-10 Thread Marcel
In my last job, I was dealing with a nagios install a little bit over than
yours,

On Wed, Dec 9, 2009 at 9:06 PM, Jonathan Call jc...@verio.net wrote:

 I recently added two new slaves to a distributed Nagios system. The
 central server now passively processes 17,000+ service checks on 3000+
 servers.

 It's been over an hour and a half since I brought those new slaves
 online and I have about 150 hosts still stuck in 'Pending' and about
 1300 services in the same state. In addition to that it seems that the
 service check results from the other slaves that were working normally
 are now arbitrarily disappearing. For example, on one host three of the
 service checks have been updated relatively recently (i.e. 5-30 minutes
 ago) but three other service checks haven't been updated for almost an
 hour. The slaves all appear operational and the hosts are being checked
 on time. Is it possible I've overwhelmed Nagios' ability to process data
 from the NSCA daemon or struck some internal Nagios bottleneck? Any
 suggestions would be appreciated.


With 4K servers and just over 24K service checks, with 12 or 13 distributed
servers.

Well, I've ran into many kinds of problems because of nagios poor design of
distributed monitoring setup.
Appears that distributed setup was done almost as a poor patch just to have
to overcome some limitation .

We ended up doing some custom passive plugins. They were built to send
status information updates just in case of state change. In that way the
load on NSCA side was very much reduced (it was Load Balanced with a Virtual
IP, batch updates, but problems would still occur). This set of plugins were
a little hard to mantain, because configuration of each server needed to be
at the monitored server, puppet ftw. All checks were logged and later
synchronized with ndo to have last checks history.

NDO and the database schema has had to be modified too. The volume of
inserts was way too high to be handled correctly in a timely manner,
recurrent restarts of the database causing staled results, every sort of
problem in managing those systems, even after a thorough tunning of the
database. After adding logic to update only when state change ocurred, and
another batch update to update last check and the fields that needed to be
updated with last check information, the database load was normalized and
scalability could be proven.

So what I'd suggest to you, is to first tweak with the large installation
procedures, tmpfs for the status.dat, objects.cache, retention.dat, setting
batch jobs to send_nsca output to central/master nagios instance, and so on.
Also, you can do some nagios setup magic aswell, having distributed nodes
checking in a frequency (normal_check_interval) different than central
nagios expects, say, setup central nagios to wait for status information on
30 minutes frequency, but have the distributed nodes to send them at 15
minutes freq., something like that.

For what I know, it's really a cumbersome job to have enterprise scalability
nagios configuration. For tiny and trivial installs it's like using Zennoss
or Zabbixx, but with a lot of extra configuration-files pain. I think that
no other competitor's tool (Z*bbnn*ssxx) would scale too when you need
enterprise huge installs, so nagios is a little ahead and gives flexibility,
but with an associated cost that scares anyone (ending up buying another
tool to much less for much more).

That's why I've liked Gabès Jean's Shinken approach to have scalability and
to ease interoperability with puppet. That would be the
übber-super-mega-ultra tool. Also, with nginx and asynchronicity of
front-end, back-end, and checks, would end up with the most robust, easy,
enterprise NMS.

So, Gèan, continue on that path to have your Shinken working with
backcompatibility with nagios setups, but also think ahead on design to have
puppet integrated to handle configuration convergence (maybe eventhandlers
too?).

Cheers,
M
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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 as a Service Resiliency Manager

2009-12-10 Thread Marcel
Maybe this would help:
http://onlamp.com/onlamp/2006/05/25/self-healing-networks.html

On Thu, Dec 10, 2009 at 3:08 PM, Christopher McAtackney
crist...@gmail.comwrote:

 Hi all,

 I have a need to control an Active / Passive pair of components and
 was wondering if anyone had tackled this problem with Nagios?

 The scenario is as follows;

 Host A has SERVICE_1 installed and running. Host B has SERVICE_2
 installed, but not running.

 The desired functionality is to detect when SERVICE_1 is not running
 (or that Host A is down / unreachable), and then to start SERVICE_2 on
 Host B.

 I believe I can do this with Nagios by defining an event handler on
 SERVICE_1 which will make the appropriate call to start SERVICE_2 on
 Host B

 Would it make sense to store the relationship between SERVICE_1 and
 Host B / SERVICE_2 as a service macro, e.g.
 $_SERVICE_PASSIVE_HOSTNAME, $_SERVICE_PASSIVE_SERVICENAME?

 There are too many scenarios in which the SERVICE_1 might come back up
 to try automate the switching off of SERVICE_2 I believe, e.g. if
 someone pulled a network cable on Host A accidently, then plugged it
 in 15 minutes later - during which time Nagios detects that it is down
 and so starts up SERVICE_2. The user then plugs the network lead back
 in and now we have two Active instances running - which is what we
 specifically wanted to avoid. Even if Nagios detects that the primary
 component is up, it's still too late because any Active / Active
 overlap will cause problems for this particular application.

 I can't think of any way to automate that side of things - but does
 the general concept of having Nagios start up a Passive partner make
 sense?

 Thanks for any insight you have,

 Chris


 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 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

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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] ? on Notification of threshold being exceeded

2009-12-09 Thread Marcel
Hello,

On Tue, Dec 8, 2009 at 8:43 PM, steve_fied...@pepboys.com wrote:

 Hello All,

 Is it possible to set up a check for nagios where an admin is notified when
 a threshold value has been exceeded in a specific time frame?


Sure. With a proper service check or with escalations.


 For example, send me a notification when a check_ping has failed 20 times
 during the past hour for a server but only send me the notification 1 time
 for that hour time frame.


I'd setup a ping service that has max_check_attempts set to 20 and
normal_check_interval set to 300 - That way you'd only receive notifications
in one hour of ping errors.


 We get 100's or 1000s of emails from Tivoli for alerts and want to somehow
 keep track of the alerts but only send out the notification when deemed
 critical.  Thought Nagios could do it better than Tivoli. :)


If Tivoli floods your mailbox, and all of them are false positives, then you
have a Tivoli setup problem, or a network related issue.
Nagios maybe at the same point of view of Tivoli, if you're having network
issues.

HTH,
Marcel
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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] need expert advice/suggestions

2009-12-08 Thread Marcel
define hostgroup{
   hostgroup_name some_name
   members  some_host,another_one,!router
}

define service{
   use some-generic-template
   hostgroup_name some_name
   check_command check_something
   (...)
}

define host{
   use  some-generic-template
   host_name some_name
   hostgroup some_name
}

On Tue, Dec 8, 2009 at 10:36 AM, gmartin gmar...@gmartin.org wrote:



 On Mon, Dec 7, 2009 at 4:29 PM, patrick.mor...@hp.com wrote:

 Hi Taylor!

 For what it's worth, Nagios *does* support this.  We routinely use
 templates which assign a hostgroup to a host, and that hostgroup will
 have a set of standard check for that type of host assigned to it.  When
 a new host gets added, all it takes is a use some_host_template and
 all the standard services we run on that type of host just show up.


 Patrick, can you explain this a bit further or point me towards another
 post that does the same.  Sounds like an interesting feature I want to
 explore.

 Thanks

 --
 \\Greg



 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev

 ___
 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

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NSCA strange behaviour

2009-12-08 Thread Marcel
check openssl versions and compatibility.

On Tue, Dec 8, 2009 at 2:13 PM, Cedric Jeanneret 
cedric.jeanne...@camptocamp.com wrote:

 Hello again,

 In fact, configuration files are dployed via puppet(
 http://reductivelabs.com/trac/puppet/wiki), so all files (should be) are
 the same. I'll check it, but as puppet runs on every hosts, they all should
 have the same files.
 IP addresses are the same (fixed IP, fixed ports).

 I'll check files once again.

 If anyone has another idea...

 Thank you.

 Best regards,

 C.

 On Tue, 8 Dec 2009 08:31:59 -0600
 Greg Pangrazio pangr...@gmail.com wrote:

  It sounds like there is something that changed with the re-install.
 
  Is the IP address of the system the same?
 
  Did you pick the same encryption type in the nsca config?
 
  Can you diff the nsca config with a working host?
  Greg Pangrazio
  pangr...@gmail.com
 
 
 
 
 
  On Tue, Dec 8, 2009 at 8:14 AM, Cedric Jeanneret
  cedric.jeanne...@camptocamp.com wrote:
   Hello,
  
   As far as I can see, only new one. Even if they are just reinstalled
 (client22 was in nagios config before it was reinstalled).
  
   Best regards,
  
   C.
  
   On Tue, 8 Dec 2009 08:08:03 -0600
   Greg Pangrazio pangr...@gmail.com wrote:
  
   Do all of your clients fail, or just the new one?
  
   Greg Pangrazio
   pangr...@gmail.com
  
  
  
  
   On Tue, Dec 8, 2009 at 4:40 AM, Cedric Jeanneret
   cedric.jeanne...@camptocamp.com wrote:
Hello,
   
I'm having troubles with NSCA.
What we have :
   
- about 47 passive hosts
- about 220 passive services
   
Versions : all are redhat servers, with:
- NSCA 2.7.2 (latest one)
- Nagios 3.1.2
   
We have a single nagios aggregator, which collect all NSCA status
 from the other hosts.
   
What's happening:
a host was reinstalled yesterday (say client22), and now it seems
 NSCA daemon on the aggregator (say server01) doesn't seem to collect data.
   
What I've done:
   
- tcpdump on both client22 and server01, both show me traffic
 between them, on NSCA default port (5667)
   
- checked iptables rules, all is ok (as tcpdump shows me traffic,
 that's a confirmation)
   
- trying to push status by hand from client22 to server01; ALL
 packets are sent successfully 1 data packet(s) sent to host
 successfully.. I've done this with a loop like that:
for i in $(seq 1000); do /usr/local/bin/submit_ochp $(hostname -f)
 UP 'Host is up'; sleep 2; done
   
- Enbling debug for nsca on server01 doesn't show me anything
 interesting. I just don't see where nsca catch up client22 status, and it
 keeps on saying :
Warning: The results of host 'client22.domain.lt' are stale by 0d
 0h 2m 0s (threshold=0d 0h 6m 0s).  I'm forcing an immediate check of the
 host.
   
On another hand, it shows me:
[1260267958.216051] [016.1] [pid=23191] Check results for service
 'Cron service' on host 'client22.domain.lt' are fresh.
   
   
I really don't know where to find a solution, neither where is the
 real problem. We have another network with about 200 passive hosts and over
 350 passive services, and it works fine.
   
The only differences are :
- the working network is debian-only
- the working network's NSCA server doesn't do anything else than
 central nagios server. server01 does some other stuff, like syslog server
 and collectd server... maybe there's a bottleneck in there, but I can't be
 sure about that.
   
Does anyone of you have an idea ?
   
Thank you in advance.
   
Best regards,
   
C.
   
   
   
--
Cédric Jeanneret |  System Administrator
021 619 10 32|  Camptocamp SA
cedric.jeanne...@camptocamp.com  |  PSE-A / EPFL
   
   
 --
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
   
___
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
   
  
  
   --
   Cédric Jeanneret |  System Administrator
   021 619 10 32|  Camptocamp SA
   cedric.jeanne...@camptocamp.com  |  PSE-A / EPFL
  
  
 --
   Return on Information:
   Google Enterprise Search pays you back
   Get the facts.
   http://p.sf.net/sfu/google-dev2dev
  
   ___
   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.
   ::: 

Re: [Nagios-users] Nagios does not send email notifications

2009-12-08 Thread Marcel
*or*

On Tue, Dec 8, 2009 at 6:26 PM, Marcel mits...@gmail.com wrote:

 either you don't have printf of mail.

 On Tue, Dec 8, 2009 at 5:41 PM, ReynierPM rper...@uci.cu wrote:

 Hi every:
 I have problems now with email notification unless I didn't receive one.
   I check Nagios Event Logs and see this:

 [12-08-2009 14:53:28] Warning: Attempting to execute the command
 /usr/bin/printf %b * Nagios *\n\nNotification Type:
 PROBLEM\n\nService: Bacula Dir Daemon\nHost: bacula\nAddress:
 10.128.50.11\nState: UNKNOWN\n\nDate/Time: Tue Dec 8 14:53:28 CST
 2009\n\nAdditional Info:\n\nRemote command execution failed: Permission
 denied, please try again. | /bin/mail -s ** PROBLEM Service Alert:
 bacula/Bacula Dir Daemon is UNKNOWN ** rper...@uci.cu resulted in a
 return code of 127. Make sure the script or binary you are trying to
 execute actually exists...

 But the mail never arrive to my Inbox. Why? My config is as follow:

 define command{
command_namenotify-host-by-email
command_line/usr/bin/printf %b * Nagios
 *\n\nNotification
 Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress:
 $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n |
 /bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is
 $HOSTSTATE$ ** $CONTACTEMAIL$
 }

 # 'notify-service-by-email' command definition
 define command{
command_namenotify-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$ | /bin/mail -s
 ** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is
 $SERVICESTATE$ ** $CONTACTEMAIL$
 }

 Cheers and thanks in advance
 --
 ReynierPM


 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 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



--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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 does not send email notifications

2009-12-08 Thread Marcel
either you don't have printf of mail.

On Tue, Dec 8, 2009 at 5:41 PM, ReynierPM rper...@uci.cu wrote:

 Hi every:
 I have problems now with email notification unless I didn't receive one.
   I check Nagios Event Logs and see this:

 [12-08-2009 14:53:28] Warning: Attempting to execute the command
 /usr/bin/printf %b * Nagios *\n\nNotification Type:
 PROBLEM\n\nService: Bacula Dir Daemon\nHost: bacula\nAddress:
 10.128.50.11\nState: UNKNOWN\n\nDate/Time: Tue Dec 8 14:53:28 CST
 2009\n\nAdditional Info:\n\nRemote command execution failed: Permission
 denied, please try again. | /bin/mail -s ** PROBLEM Service Alert:
 bacula/Bacula Dir Daemon is UNKNOWN ** rper...@uci.cu resulted in a
 return code of 127. Make sure the script or binary you are trying to
 execute actually exists...

 But the mail never arrive to my Inbox. Why? My config is as follow:

 define command{
command_namenotify-host-by-email
command_line/usr/bin/printf %b * Nagios
 *\n\nNotification
 Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress:
 $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n |
 /bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is
 $HOSTSTATE$ ** $CONTACTEMAIL$
 }

 # 'notify-service-by-email' command definition
 define command{
command_namenotify-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$ | /bin/mail -s
 ** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is
 $SERVICESTATE$ ** $CONTACTEMAIL$
 }

 Cheers and thanks in advance
 --
 ReynierPM


 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 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

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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-br] off-topic - CentOS

2009-12-01 Thread Marcel
Comercialmente o CentOS não é o RH

2009/11/26 Bruno R. Cardoso brunocard...@unerj.br

 Olá Geraldo.

 Tenho aqui também um firewall com nagios instalado e mrtg por exemplo em
 cima do CentOS e ano que vem passaremos webserver, proxy e servidor de
 arquivos também pra cima. Sempre que comento sobre oracle e CentOS meu
 chefe
 me pergunta sobre o suporte da Oracle. Por exemplo se der um problema e
 precisaríamos chamar o suporte da Oracle, a primeira coisa que eles irão
 perguntar é o SO e se não for homologado que acredito que não é(não
 pesquisei ainda) não teremos suporte. Como que ficaria essa situação?



 2009/11/25 Sergio Gomes Lima sepaf...@gmail.com

  Caro Geraldo,
 
  o CentOS, em grosso modo, é o RH recompilado para comunidade
 SoftwareLivre.
  Para quem usa banco de dados Oracle e não pode ter uma subscrição RH, a
  opção direta é o CentOS. Os Servidores homologados para o RH, como IBM,
  rodam perfeitamente com CentOS. Conheço empresas que tem mais de 40
  servidores rodando CentOS. Muito estável
 
 
 
 
 
  2009/11/24 Jose Oliveira jotag...@gmail.com
 
   Colegas
  
   Uma pergunta bem off-topic. Algum de voces usa CentOS em ambiente de
   produção? Atende plenamente?
  
   Obrigado
  
  
   --
   Abraços
   JGeraldo
  
  
 
 --
   Let Crystal Reports handle the reporting - Free Crystal Reports 2008
  30-Day
   trial. Simplify your report design, integration and deployment - and
  focus
   on
   what you do best, core application coding. Discover what's new with
   Crystal Reports now.  http://p.sf.net/sfu/bobj-july
   --
   Nagios-users-br@lists.sourceforge.net mailing list
   https://lists.sourceforge.net/lists/listinfo/nagios-users-br
   Wiki: http://nagios-br.sf.net/wiki
  
 
 
 --
  Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
  trial. Simplify your report design, integration and deployment - and
 focus
  on
  what you do best, core application coding. Discover what's new with
  Crystal Reports now.  http://p.sf.net/sfu/bobj-july
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 



 --
 Bruno Rafael Cardoso
 Tecnologia da Informação
 Centro Universitário de Jaraguá do Sul - UNERJ
 Telefone (47)3275-8200
 Site: http://www.unerj.br

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] check_http checking with verbose output breaks performance data

2009-12-01 Thread Marcel
I've had a need of getting the full output from plugins to appear at the
extended status information page:

http://path.to.nagios/nagios/cgi-bin/extinfo.cgi?type=2host=host_nameservice=service_description

Then I've realized that performance data is being mangled by this verbose
command_line.

Is this a bug? Or I should not use verbose output for check_http in
production?


Current Status:
  OK
 (for 0d 0h 0m 47s) Status Information:GET /mfa/ad/script/
User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
Connection: close
Host: ad.adnetwork.com.br


http://174.132.205.30:80/mfa/ad/script/ Performance Data:s=101|c=120|p=2|br=1|?
HTTP/1.0 s=101|c=120|p=2|br=1|? is 664 characters STATUS: HTTP/1.1 200 OK
 HEADER  Date: Tue, 01 Dec 2009 19:06:45 GMT Server: Resin/2.1.17
P3P: CP= PSA CONo OUR ONL NOI BUS, policyref=/w3c/p3p.xml Pragma:
no-cache Cache-Control: no-cache Expires: 0 Content-Type: text/html
Set-Cookie: mfa=24292751; path=/; expires=Sun, 30-Nov-2014 19:06:45 GMT
Set-Cookie: limpa=1; path=/; expires=Wed, 02-Dec-2009 02:06:45 GMT
Set-Cookie: c120=770|101|-999|1259694406260; path=/; expires=Sun,
30-Nov-2014 19:06:45 GMT Connection: close  CONTENT 
document.write('a
href=http://ad.adnetwork.com.br/mfa/go/rm/;b=770;s=101;u=24292751;c=120;n=495403670
target=_blankhttp://ad.adnetwork.com.br/mfa/go/rm/;b=770;s=101;u=24292751;c=120;n=495403670target=_blankimg
src=http://www.adserver.com.br/120/bt_mfa.gif border=0 alt=/a'); HTTP OK:
Status line output matched HTTP/1.1 200 HTTP OK HTTP/1.1 200 OK - 0.074
second response time |time=0.074327s;1.00;5.00;0.00
size=664B;;;0 Current Attempt:1/3  (HARD state) Last Check Time:01-12-2009
17:06:46 Check Type:ACTIVE Check Latency / Duration:0.196 / 0.086 seconds Next
Scheduled Check:  01-12-2009 17:11:46 Last State Change:01-12-2009
17:06:46 Last
Notification:N/A (notification 0) Is This Service Flapping?N/A In Scheduled
Downtime?
  NO
Last Update:01-12-2009 17:07:28  ( 0d 0h 0m 5s ago)
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
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_http checking with verbose output breaks performance data

2009-12-01 Thread Marcel
sorry for replying my own post.

This particular application has it's query string separator as |, then the
mangled perfdata.

Is it possible to perfdata to parses only the last segment separated by |
?

Thanks,

On Tue, Dec 1, 2009 at 5:13 PM, Marcel mits...@gmail.com wrote:

 I've had a need of getting the full output from plugins to appear at the
 extended status information page:


 http://path.to.nagios/nagios/cgi-bin/extinfo.cgi?type=2host=host_nameservice=service_description

 Then I've realized that performance data is being mangled by this verbose
 command_line.

 Is this a bug? Or I should not use verbose output for check_http in
 production?


 Current Status:
   OK
  (for 0d 0h 0m 47s) Status Information:GET /mfa/ad/script/
 User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
 Connection: close
 Host: ad.adnetwork.com.br


 http://174.132.205.30:80/mfa/ad/script/ Performance 
 Data:s=101|c=120|p=2|br=1|?
 HTTP/1.0 s=101|c=120|p=2|br=1|? is 664 characters STATUS: HTTP/1.1 200 OK
  HEADER  Date: Tue, 01 Dec 2009 19:06:45 GMT Server: Resin/2.1.17
 P3P: CP= PSA CONo OUR ONL NOI BUS, policyref=/w3c/p3p.xml Pragma:
 no-cache Cache-Control: no-cache Expires: 0 Content-Type: text/html
 Set-Cookie: mfa=24292751; path=/; expires=Sun, 30-Nov-2014 19:06:45 GMT
 Set-Cookie: limpa=1; path=/; expires=Wed, 02-Dec-2009 02:06:45 GMT
 Set-Cookie: c120=770|101|-999|1259694406260; path=/; expires=Sun,
 30-Nov-2014 19:06:45 GMT Connection: close  CONTENT 
 document.write('a 
 href=http://ad.adnetwork.com.br/mfa/go/rm/;b=770;s=101;u=24292751;c=120;n=495403670
 target=_blankhttp://ad.adnetwork.com.br/mfa/go/rm/;b=770;s=101;u=24292751;c=120;n=495403670target=_blankimg
 src=http://www.adserver.com.br/120/bt_mfa.gif border=0 alt=/a'); HTTP
 OK: Status line output matched HTTP/1.1 200 HTTP OK HTTP/1.1 200 OK -
 0.074 second response time |time=0.074327s;1.00;5.00;0.00
 size=664B;;;0 Current Attempt:1/3  (HARD state) Last Check Time:01-12-2009
 17:06:46 Check Type:ACTIVE Check Latency / Duration:0.196 / 0.086 seconds Next
 Scheduled Check:  01-12-2009 17:11:46 Last State Change:01-12-2009
 17:06:46 Last Notification:N/A (notification 0) Is This Service Flapping?
 N/A In Scheduled Downtime?
   NO
 Last Update:01-12-2009 17:07:28  ( 0d 0h 0m 5s ago)




--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
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 email notifications

2009-12-01 Thread Marcel
http://nagios.sourceforge.net/docs/3_0/macros.html

From this document you should be able to tweak your notification commands to
send customized email notifications.

Cheers,

On Tue, Dec 1, 2009 at 7:17 PM, akp geek akpg...@gmail.com wrote:

 Dear All -

I have installed nagios and it has been working fine. I am
 getting email notifications also. But I would like to edit those
 notifications and customize it. In the emails that I receive now, I don't
 get any subject in the email. Can you please point me / guide me?

 Regards


 --
 Join us December 9, 2009 for the Red Hat Virtual Experience,
 a free event focused on virtualization and cloud computing.
 Attend in-depth sessions from your desk. Your couch. Anywhere.
 http://p.sf.net/sfu/redhat-sfdev2dev
 ___
 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

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
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] Need help installing opcp

2009-11-30 Thread Marcel
I've to second that. please setup automake  autoconf

On Fri, Nov 27, 2009 at 7:15 AM, Sofia Haschiu hq.so...@gmail.com wrote:

 Hi, Dario

 I visited your site and since opcp is what I was looking for as a capacity
 planning solution for Nagios I was eager to give it a try. Unfortunately the
 documentation on how to install the opcp is poor and I kindly ask you to
 tell me if there's some more detailed documentation on how to get the opcp
 to work. Or maybe someone who already managed to install this module can
 provide me some step-by-step advices.

 Thank you in advance

 Sofia Haschiu


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] monitoring hundreds of network switches

2009-11-30 Thread Marcel
I don't know about others on this list, but what I do to start a new
configuration:

On Fri, Nov 27, 2009 at 3:47 PM, D G Teed donald.t...@gmail.com wrote:

 With the fping command (not check_fping) I can feed it a list of IPs
 to check from a file.  If I ran fping with -a and did a diff between
 that output and my original list of IPs, I'd get a report of which switches
 are
 down.  I could write a shell script to do this and set up a cron in less
 time
 than it would take to do the same in nagios with my current knowledge
 of the configuration options in nagios.  I'm sure someone will be
 up to the challenge of showing me it is just as easy to set up in nagios.

 I saw this example:
 http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html
 but I don't get allhosts, switches in the hostgroups configuration.
 Is this some sort of keyword or built-in wildcard?


I start creating a directory named after the DataCenter or location, maybe:
/opt/nagios/etc/object/Dallas

There I create several files, each containing one host{} directive, without
hostgroups or whatever.

Then, the first service{name ping\n check_command\t
check_icmp\nhostgroup_name all (...)} is applied to a hostgroup
{hostgroup_name all\n alias all CIs\n members .*} (I've turned on the true
regexp matching).

With just these steps you can have all your CI's setup properly.

HTH,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Help with notifications

2009-11-30 Thread Marcel
Well,

You should tell us some setups:

On Fri, Nov 27, 2009 at 5:38 AM, keshav murthy nkesha...@gmail.com wrote:

 Hello all,

 We are using Nagios as our primary monitoring tool which is integrated with
 Remedy (ticketing system) by MasterCell.

 Current setup:
 *) Nagios identifies critical Alert
 *) mposter_service (agent by Mastercell) is invoked and the alert is passed
 to MasterCell


please post the define for this service, and what kind of service it is? it
is a by-email notification service?  Or it is a webservice where you tell
nagios to post service-information there?


 *) Some Mastercell + Remedy magic is happening here ( I assume, there is
 priority set to each server in Remedy which is compared) and the tickets are
 generated as P1 tickets all the time even for non-critical server.


 In a month, we are getting around 8000 P1 tickets for 1600 Servers
 configured in Nagios 3.0.6

 Question:
 Is there a notification method possible where in which we can send the
 alert priority along with the notification?


Notifications are just simple commands defined in commands.cfg. You surely
can tailor one of them for your needs (which I'll assume you did as you're
using the mposter_service for integration). If you take a closer look to
commands.cfg, there is a command defined to be the
{host,service}-notification command. I assume you are using another method
differently than email notifications for the creation of your tickets, or
I'm wrong? All parametrization of your service/host-notification command
will depend entirely to you for this integration to be as successfull as it
could be.


 I am also checking with the Mastercell expert who is an external vendor (he
 is very costly too ;-) ).

 you help is highly appreciated.

 Cheers
 Kesava

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] What would you want in a replacementwebinterface?

2009-11-30 Thread Marcel
Please do not answer if asked why on earth would you use something like
that!!!

On Mon, Nov 30, 2009 at 7:59 PM, Lane Williams
lwilli...@cellularsouth.comwrote:

 If you have implemented ndo2db, you could write a SQL query tool
 ...PERL... which would find problems for host and services and then dump
 the proper variables into something like:

 #!/bin/sh
 # This is a sample shell script showing how you can submit the
 ACKNOWLEDGE_SVC_PROBLEM command
 # to Nagios.  Adjust variables to fit your environment as necessary.

 now=`date +%s`
 commandfile='/usr/local/nagios/var/rw/nagios.cmd'

 /bin/printf [%lu] ACKNOWLEDGE_SVC_PROBLEM;$host;$service;1;1;1;Some
 One;Some Acknowledgement Comment\n $now  $commandfile

 References:
 http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com
 mand_id=40http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com%0Amand_id=40

 http://old.nagios.org/developerinfo/externalcommands/commandlist.php


 Lane Williams Jr. | Senior System Administrator | Cellular South
 1018 Highland Colony Parkway | Suite No. 200| Ridgeland, MS  39157
 Desk (601-974-7713) | Wireless (769-798-7713)
 www.cellularsouth.com


 -Original Message-
 From: Joe Hartley [mailto:joe.hart...@retailsolutions.com]
 Sent: Monday, November 30, 2009 9:19 AM
 To: nagios List
 Subject: Re: [Nagios-users] What would you want in a
 replacementwebinterface?

 From: Noel Platzke [mailto:neuf...@gmail.com]
  My biggest gripe with the web interface is the inability to select
 multiple
  hosts/services/groups to ack or put into maintenance mode. I hate
 having to
  do them one at a time. Also it would be nice if dependent services
 didn't
  show up in the Unhandled view once the parent service was acked.

 Oh, so very much *THIS*.

 We had a major outage at our co-location facility, which caused my phone
 to
 go crazy with all the alerts.  It took me way too long to acknowledge
 all the
 hosts and services to keep my phone quiet.  I considered just disabling
 notifications all together, but there's more that gets monitored than
 just that
 one facility, so that wasn't really an option.

 Individually acknowledging hundreds of services on dozens of hosts
 really sucks.

 --
 Joe Hartley | Sr. Linux SysAdmin
 Retail Solutions, Inc.
 40 Sharpe Drive
 Cranston, RI 02920
 joe.hart...@retailsolutions.com
 +1 401.824.5040 (o) | +1 401.824.5002 (f)



 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
 trial. Simplify your report design, integration and deployment - and
 focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 --
 Join us December 9, 2009 for the Red Hat Virtual Experience,
 a free event focused on virtualization and cloud computing.
 Attend in-depth sessions from your desk. Your couch. Anywhere.
 http://p.sf.net/sfu/redhat-sfdev2dev
 ___
 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

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev___
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 MRTG

2009-11-26 Thread Marcel
There is a check_mrtg plugin, if i recall correctly, you can check against
values on the RRD.

On Thu, Nov 26, 2009 at 7:07 AM, terry.c...@hk.fortisnl.com wrote:

  Dear all,



 I am currently using Nagios 3 in Solaris 10 X86 version, it
 is fine. Also I have install MRTG on the server and configure to collect one
 switch interface traffic for testing.



 Is it possible to integrate MRTG graph about the switch
 interface traffic into Nagios? So that I can use Nagios portal to view the
 switch uptime, or other alert and also view the bandwidth usage of the
 switch in MRTG format.



 Thank you.



 Terry Chow

 System Engineer

 *Fortis **(Hong Kong) **Limited*

 28/F Fortis Bank Tower

 77-79 Gloucester Road

 Hong Kong

 Tel : +852-3653-0823

 Email : terry.c...@hk.fortisnl.com



 
 This message (including any attachments ) is confidential and is intended 
 solely for the use of the individual or entity to whom it is addressed. If 
 you have received this message by mistake please notify the sender by return 
 email and delete this message from your system. Any unauthorised use or 
 dissemination of this message in whole or in part is strictly prohibited.
 



 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] flapping detection and recovery notifications

2009-11-26 Thread Marcel
Hi list,

If I've flapping detection it supresses a Recovery notification in the event
of the flapping detection start just in the case of a Recovery Notification?


Is there a way to have flapping detection to NOT supress notification in the
Recovery event?

Cheers,
Marcel
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] What would you want in a replacement web interface?

2009-11-25 Thread Marcel
I'd like (and i think this is the answer for question #3):

* mobile webpages;
* customizable ajax/web2.0 interface;

Answers:
#1) the tactical overview is fine;
#2) would like to see what check commands nagios is issuing (for the need of
troubleshooting, issuing the same command nagios triggers is a pain) - an
easier way too see configured thresholds and the full command line and
output.


On Mon, Nov 16, 2009 at 2:22 PM, Taylor Dondich
tdond...@lilacnetworks.comwrote:

 Hi there.  I've been working on a replacement web interface for Nagios,
 and it's coming along great!  However, I wanted to take the time to ask
 the community some questions to get your feedback and roll it into the
 interface.


 So I have 3 questions to ask you all.  If you could answer with as much
 detail as possible, it would be fantastic.

 #1) What is the most important thing you want to see in a Tactical
 Overview replacement?  What are the most essential components?

 #2) When looking at a Host or a Service, what are the details you
 want/need to see?  What can you not live without?

 #3) What is your biggest gripe regarding the existing Nagios web user
 interface?

 --
 Taylor Dondich (tdond...@gmail.com)
 CEO at Lilac Networks (http://www.lilacnetworks.com)
 Provider of quality support for open source monitoring solutions
 View our open source Nagios Configuration Tool at
 http://www.lilacplatform.com



 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Multiple Users for Web Interface

2009-11-19 Thread Marcel
Hi Brian,

On Thu, Nov 19, 2009 at 8:58 AM, Brian O'Mahony 
brian.omah...@curamsoftware.com wrote:

 I want specific users to only have certain machines visible, but I cannot
 find the variable to add to the host/hostgroup.


You should create a contact, assign it to a contactgroup, and then use this
contactgroup as a object variable in host/service object definitions.

Cheers,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check for memory leaks

2009-11-19 Thread Marcel
Hi Andew,

On Thu, Nov 19, 2009 at 3:48 PM, Kaplan, Andrew H. ahkap...@partners.orgwrote:

 There are indications that an application on the monitored system is
 causing a slow memory leak.
 Is there a plugin or histogram setting that is available that would help
 check for memory leaks on
 the remote system? Thanks.

Trending is more suitable for graphing solutions that uses RRDs.
Nagios is more likely to be used as an exception monitoring tool, though it
might be used to generate graphs as well.

Cheers,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check for memory leaks

2009-11-19 Thread Marcel
Hi Andrew,

On Thu, Nov 19, 2009 at 4:11 PM, Kaplan, Andrew H. ahkap...@partners.orgwrote:

 I do have the pnp4-nagios utility installed on the Nagios server.
 Among the trends that are graphed by it is Current Load.

If Current Load is the trend to look at, which of the three data sources
 associated with it,
 load1 load5 load15, would be the one affiliated with memory?


Load means the number of processes per processor waiting in the scheduler's
RUN QUEUE. The load1 is the average of that number in the last minute, load5
it's the same average within 5 minutes, and load15 the same for the last 15
minutes. It does NOT relates to memory leak detection.

On Thu, Nov 19, 2009 at 3:48 PM, Kaplan, Andrew H. ahkap...@partners.orgwrote:

  There are indications that an application on the monitored system is
 causing a slow memory leak.
 Is there a plugin or histogram setting that is available that would help
 check for memory leaks on
 the remote system? Thanks.

 Trending is more suitable for graphing solutions that uses RRDs.
 Nagios is more likely to be used as an exception monitoring tool, though it
 might be used to generate graphs as well.


Cheers,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Retain last output

2009-11-19 Thread Marcel
Hi,

On Thu, Nov 19, 2009 at 4:15 PM, Flyinvap flyin...@orange.fr wrote:

 I would like to use last output and last performance data from a
 service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros
 contain this but a said in the doc :

  These macros are not valid for the service they are associated with
 when that service is being checked (i.e. they make no sense, as they
 haven't been determined yet). 

 So when the plugin is executed, these macros are empty. How can I
 retrieve these data. I would like to avoid using temporaries files.

 Any idea ?


You can setup a memcached to hold the last status information for all
services, and a perfdata command or whatever wrapper to input data to
memcache.

Cheers,
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Custom Object Variables

2009-11-18 Thread Marcel
YES!

On Tue, Nov 17, 2009 at 7:25 PM, Marc Powell m...@ena.com wrote:


 On Nov 17, 2009, at 3:14 PM, Marcel wrote:

  Capitalize the varname: $_HOSTSSHPORT$
 
  Instead of the documentation saying that it is case insensitive, it only
 works on TOUPPER variable name representation.

 Did this come from your _ip_private_VIP_1 troubleshooting? That was it?

 --
 Marc



 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users-br] Status Information: (null)

2009-11-17 Thread Marcel
Sean,

O plugin deve escrever a saída da execução do comando em STDOUT e em nenhum
outro (STDERR por exemplo).

Se o plugin estiver escrevendo o output em stderr, considere ustilizar 21
para a saída forçadamente ir pra STDOUT.

Att,

On Mon, Nov 9, 2009 at 4:30 PM, Sean sean.cramm...@gmail.com wrote:

 Olá Leonardo, ocorre quando o nagios executa o comando, quando eu faço por
 linha de comando funciona, eu uso o nagios 3.0.6
 a sintaxe que eu posso dar  é essa:

 define command{
command_namecheck_...
command_line  $USER2$/check_... -H $ARG1$ -n $ARG2$ -c $ARG3$
}

 e eu chamo ele depois assim:

 define service{
use ...
service_description...
servicegroups  ...
host_name   ...
contact_groups  ...
check_command   check_...!parametro1l!parametro2!parametro3
 }




 --
 Sean Stewart Faulstich Crammond

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] Custom Macros in Service Definitions?

2009-11-17 Thread Marcel
Hi,

I have several webservers that have over 20 (virtual)interfaces each.

So I've defined the host with custom macros for each private IP:

define host{
   use  linux-server
   _ip_private_VIP_1 10.4.200.101
   _ip_private_VIP_2 10.4.201.101
   ...
   }

Now I want to refer to this $_HOSTip_provate_VIP_1$ macro in services
definitions, but nagios is complaining about not finding the service.

The documentation isn't clear whether or not custom macros could be used in
service definitions.

I've a command like this:

define command{
   command_name   check_http_str_return_args
   command_line  $USER1$/check_http -I $ARG1$ $ARG2$
   }

And the service definition:

define service{
   use generic-service
   (...)
   check_command check_http_str_return_args!$_HOSTip_private_VIP_1$!-u / -t
10 -w 3 -c 5 -e HTTP/1.1 200 OK
   }

My question is:

Is it by design that custom macros should NOT be used in service
definitions?

Because I'd need to create ONE COMMAND per VIP just to use custom macros?

I would like to set just one services, to use just ONE command, and be able
to check the whole webserver farm.

Best regards,
Marcel
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  1   2   3   >