[Nagios-users-br] RES: Monitoração hosts Win dows remotos

2009-11-24 Thread benedito.ramos
Jotagera,

Desculpe a demora no retorno.
E, novamente, graças às suas dicas, resolvi o problema.
O que estava acontecendo aqui é que alguém (ou mesmo eu, e não lembrava, heheh) 
tinha instalado anteriormente o nsca via comando aptitude.
Então, tinha um monte de registros no Debian, apontando o nsca para caminhos 
errados.
O que eu fiz: desinstalei completamente o nsca e removi todos os arquivos 
relacionados.
Reinstalei, seguindo o tutorial do próprio site, sem usar o aptitude.
Configurei os arquivos, conforme tutoria e, beleza!
Tá funcionando redondinho.
As mensagens chegam no arquivo /var/syslog.
Inclusive, já instalei o cliente em máquinas Windows aqui e funciona muito 
legal.
Ou seja: eu fiz um script .bat no windows para checar processos, por exemplo, o 
backup.
Aí, mando o resultado pro Debian, que através do comando check_dummy, manda pro 
Nagios legalzinho. E, dá os alertas.
Vou arrumar um tempinho aqui e fazer um artigo da instalação/configuração 
completa no Debian e Windows.
Aí coloco em algum canto prá quem tiver interessado.

Jotagera, mais uma vez, MUUIIITOOO OBRIGADO.

Abraço a todos.

Diramos


-Mensagem original-
De: Jose Oliveira [mailto:jotag...@gmail.com] 
Enviada em: terça-feira, 17 de novembro de 2009 15:36
Para: Unofficial Brazilian (Portuguese) Nagios Users List
Assunto: Re: [Nagios-users-br]Monitoração hosts Windows remotos

Olá

Como voce recebeu a mensagem 1 data packet(s) sent to host successfully. é
porque o nsca está rodando corretamente no servidor do Nagios. O nsca
entregou esta mensagem no nagios direto.

O que voce fez foi mandar um status passivo do serviço TestMessate no host
localhost com resultado 0 (OK) e com  a informação adicional Teste.

Se voce garimpar o arquivo nagios.log voce verá registrado lá este
input.

Ou então, veja no nsca.cfg se o log está habilitado. Ele faz log no
syslog...


[]s



2009/11/16 benedito.ra...@caixa.gov.br

 Jotagera,

 Segui novamente seu conselho e instalei/configurei o NSCA para enviar as
 mensagens.
 Ainda não testei no Windows, mas testei no Linux.
 Seguinte:

 Fiz um arquivo chamado testensca contendo a seguinte linha, que peguei n
 tutorial:

 localhost   TestMessage 0   Teste

 E aí dei o comando:

 # /usr/local/nagios/bin/send_nsca localhost -c
 /usr/local/nagios/etc/send_nsca.cfg  /usr/local/nagios/testensca

 Ele retorna a seguinte mensagem:

 1 data packet(s) sent to host successfully.

 Pelo que diz no tutorial, significa que o NSCA está funcionando OK.

 Só tenho uma dúvida: PARA ONDE FOI ESSA MENSAGEM TESTE?

 Procurei nos arquivos /var/log/syslog, /var/log/message, /var/log/daemon,
 etc e não acho nem a pau.

 Poderia dar uma luz?

 Pois preciso saber onde está essa mensagem para poder tratar e mandar pro
 nagios.

 Aguardo.

 Grato.

 Abraço

 Diramos





 -Mensagem original-
 De: Jose Oliveira [mailto:jotag...@gmail.com]
 Enviada em: sexta-feira, 13 de novembro de 2009 17:03
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br]Monitoração hosts Windows remotos

 Ôpa

 trap eu não sei, mas se voce tem um script e é este script que testa de
 alguma maneira se o backup está OK ou não, use o nsca para mandar para o
 nagios o resultado...



 2009/11/13 benedito.ra...@caixa.gov.br

  Beleza, Jotagera.
 
  Entendi. E até fiz uns testes.
 
  Mas percebi que no meu caso, esses contadores não ajudam muito, pois o
  servidores são de arquivos e backup, exclusivamente.
 
  Então, não haverá contador para eles.
 
  Mas estive pensando em outra coisa, talvez você possa ajudar.
 
  Eu ativei o serviço SNMP do Servidor Windows2003 e Do Nagios.
 
  Os traps de sistema estão chegando lá bonitinho.
 
  Só que percebi que o ntbackup (software da Microsoft que utilizo para
 fazer
  backup) não gera trap nenhum.
 
  Então não chega lá no Nagios.
 
  Aí pensei o seguinte:
 
  O backup que eu faço (agendado) é através de um script que fiz. Ele gera
 um
  log em .txt com o histórico do backup, inclusive contendo mensagens se
  terminou com sucesso ou não.
 
  O que eu precisaria então é ler esse arquivo e mandar um trap SNMP para o
  servidor Nagios com uma mensagem, por exemplo, Backup realizado com
  Sucesso.
 
  Aí lá eu trataria e enviaria para o Nagios através de um plugin que eu já
  fiz aqui e funciona.
 
  Só não sei como enviar essa trap de mensagem personalizada.
 
  ENTÃO EU PERGUNTO: será que existe algum comando SNMP que envie trap
   personalizada, além daquelas automáticas de sistema?
 
 
 
  Se puderem retornar, agradeço bastante.
 
 
 
  Diramos
 
 
 
  De: Jose Oliveira [mailto:jotag...@gmail.com]
  Enviada em: quarta-feira, 11 de novembro de 2009 20:47
  Para: Benedito Ramos
  Assunto: Re: Monitoração hosts Windows remotos
 
 
 
  Oi
 
 
 
  Não esquenta com o moderador. Eu sou o terceiro responsável... Só que o
  primeiro (criador da lista) e o segundo sumiram... 
 
 
 
  Dá pouco trabalho...
 
 
 
  Quanto aos comandos que podem ser consultados, 

Re: [Nagios-users-br] RES: Monitoração hosts Win dows remotos

2009-11-24 Thread Jose Oliveira
Ok Diramos

Abraços



2009/11/24 benedito.ra...@caixa.gov.br

 Jotagera,

 Desculpe a demora no retorno.
 E, novamente, graças às suas dicas, resolvi o problema.
 O que estava acontecendo aqui é que alguém (ou mesmo eu, e não lembrava,
 heheh) tinha instalado anteriormente o nsca via comando aptitude.
 Então, tinha um monte de registros no Debian, apontando o nsca para
 caminhos errados.
 O que eu fiz: desinstalei completamente o nsca e removi todos os arquivos
 relacionados.
 Reinstalei, seguindo o tutorial do próprio site, sem usar o aptitude.
 Configurei os arquivos, conforme tutoria e, beleza!
 Tá funcionando redondinho.
 As mensagens chegam no arquivo /var/syslog.
 Inclusive, já instalei o cliente em máquinas Windows aqui e funciona muito
 legal.
 Ou seja: eu fiz um script .bat no windows para checar processos, por
 exemplo, o backup.
 Aí, mando o resultado pro Debian, que através do comando check_dummy, manda
 pro Nagios legalzinho. E, dá os alertas.
 Vou arrumar um tempinho aqui e fazer um artigo da instalação/configuração
 completa no Debian e Windows.
 Aí coloco em algum canto prá quem tiver interessado.

 Jotagera, mais uma vez, MUUIIITOOO OBRIGADO.

 Abraço a todos.

 Diramos


 -Mensagem original-
 De: Jose Oliveira [mailto:jotag...@gmail.com]
 Enviada em: terça-feira, 17 de novembro de 2009 15:36
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br]Monitoração hosts Windows remotos

 Olá

 Como voce recebeu a mensagem 1 data packet(s) sent to host successfully.
 é
 porque o nsca está rodando corretamente no servidor do Nagios. O nsca
 entregou esta mensagem no nagios direto.

 O que voce fez foi mandar um status passivo do serviço TestMessate no
 host
 localhost com resultado 0 (OK) e com  a informação adicional Teste.

 Se voce garimpar o arquivo nagios.log voce verá registrado lá este
 input.

 Ou então, veja no nsca.cfg se o log está habilitado. Ele faz log no
 syslog...


 []s



 2009/11/16 benedito.ra...@caixa.gov.br

  Jotagera,
 
  Segui novamente seu conselho e instalei/configurei o NSCA para enviar as
  mensagens.
  Ainda não testei no Windows, mas testei no Linux.
  Seguinte:
 
  Fiz um arquivo chamado testensca contendo a seguinte linha, que peguei
 n
  tutorial:
 
  localhost   TestMessage 0   Teste
 
  E aí dei o comando:
 
  # /usr/local/nagios/bin/send_nsca localhost -c
  /usr/local/nagios/etc/send_nsca.cfg  /usr/local/nagios/testensca
 
  Ele retorna a seguinte mensagem:
 
  1 data packet(s) sent to host successfully.
 
  Pelo que diz no tutorial, significa que o NSCA está funcionando OK.
 
  Só tenho uma dúvida: PARA ONDE FOI ESSA MENSAGEM TESTE?
 
  Procurei nos arquivos /var/log/syslog, /var/log/message, /var/log/daemon,
  etc e não acho nem a pau.
 
  Poderia dar uma luz?
 
  Pois preciso saber onde está essa mensagem para poder tratar e mandar pro
  nagios.
 
  Aguardo.
 
  Grato.
 
  Abraço
 
  Diramos
 
 
 
 
 
  -Mensagem original-
  De: Jose Oliveira [mailto:jotag...@gmail.com]
  Enviada em: sexta-feira, 13 de novembro de 2009 17:03
  Para: Unofficial Brazilian (Portuguese) Nagios Users List
  Assunto: Re: [Nagios-users-br]Monitoração hosts Windows remotos
 
  Ôpa
 
  trap eu não sei, mas se voce tem um script e é este script que testa de
  alguma maneira se o backup está OK ou não, use o nsca para mandar para o
  nagios o resultado...
 
 
 
  2009/11/13 benedito.ra...@caixa.gov.br
 
   Beleza, Jotagera.
  
   Entendi. E até fiz uns testes.
  
   Mas percebi que no meu caso, esses contadores não ajudam muito, pois o
   servidores são de arquivos e backup, exclusivamente.
  
   Então, não haverá contador para eles.
  
   Mas estive pensando em outra coisa, talvez você possa ajudar.
  
   Eu ativei o serviço SNMP do Servidor Windows2003 e Do Nagios.
  
   Os traps de sistema estão chegando lá bonitinho.
  
   Só que percebi que o ntbackup (software da Microsoft que utilizo para
  fazer
   backup) não gera trap nenhum.
  
   Então não chega lá no Nagios.
  
   Aí pensei o seguinte:
  
   O backup que eu faço (agendado) é através de um script que fiz. Ele
 gera
  um
   log em .txt com o histórico do backup, inclusive contendo mensagens se
   terminou com sucesso ou não.
  
   O que eu precisaria então é ler esse arquivo e mandar um trap SNMP para
 o
   servidor Nagios com uma mensagem, por exemplo, Backup realizado com
   Sucesso.
  
   Aí lá eu trataria e enviaria para o Nagios através de um plugin que eu
 já
   fiz aqui e funciona.
  
   Só não sei como enviar essa trap de mensagem personalizada.
  
   ENTÃO EU PERGUNTO: será que existe algum comando SNMP que envie trap
personalizada, além daquelas automáticas de sistema?
  
  
  
   Se puderem retornar, agradeço bastante.
  
  
  
   Diramos
  
  
  
   De: Jose Oliveira [mailto:jotag...@gmail.com]
   Enviada em: quarta-feira, 11 de novembro de 2009 20:47
   Para: Benedito Ramos
   Assunto: Re: Monitoração hosts Windows remotos
  
  
  
   Oi
  
  
 

[Nagios-users] Graphing Software that Retains Perfdata

2009-11-24 Thread Mark Baxter
Hi,

 

We've been using Nagiosgraph for some time for graphing, but of late my boss 
has been requesting historical data for presentations and whatnot. The problem 
is that the rrdtool doesn't appear to keep all the data it gets. Maybe it is 
configured badly, but it appears to only keep limited data for the yearly 
graphs, so when doing a data export we only really have decent data for 
analysis from the past month or so.

 

Ideally I think a solution that stores the information in a MySQL database 
would be optimal as the required data could be easily queried and exported in a 
boss-friendly format.

 

Does anyone know of such a solution? If not, does anyone know if I have simply 
screwed up the Nagiosgraph install or, if not, if there is any way I can change 
the configuration so as to retain all data written to the .rrd files?

 

Thanks,

 

Mark Baxter

 



Mark Baxter
OnDemand Administrator
Visma Proceedo AB
Rålambsvägen 17, vån 12, S-112 59 Stockholm, Sweden
 

Switchboard

: +46 8 522 930 30

Direct

: +46 8 522 930 60

Mobile

: +46 73 978 92 60

Fax

: +46 8 58 88 48 29

Internet

: http://www.vismaproceedo.com http://www.vismaproceedo.com/ 

E-mail

: mark.bax...@visma.com

 

Ekonomisystem - Elektronisk fakturahantering - Redovisning - Tid- och 
projektstyrning - Säljstödssystem - Lön - Inkassotjänster - Inköp - 
Butiksdatalösningar - E-handels- och webblösningar

This communication is intended for the person(s) named above only. It contains 
information that is confidential and legally privileged. If received in error, 
please delete this e-mail and notify the sender.



 

--
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] Graphing Software that Retains Perfdata

2009-11-24 Thread Dario B. Bestetti (OpServices)
- Mark Baxter mark.bax...@visma.com escreveu: 
 
 

Hi, 



We’ve been using Nagiosgraph for some time for graphing, but of late my boss 
has been requesting historical data for presentations and whatnot. The problem 
is that the rrdtool doesn’t appear to keep all the data it gets. Maybe it is 
configured badly, but it appears to only keep limited data for the yearly 
graphs, so when doing a data export we only really have decent data for 
analysis from the past month or so. 



Ideally I think a solution that stores the information in a MySQL database 
would be optimal as the required data could be easily queried and exported in a 
boss-friendly format. 



Does anyone know of such a solution? If not, does anyone know if I have simply 
screwed up the Nagiosgraph install or, if not, if there is any way I can change 
the configuration so as to retain all data written to the .rrd files? 



Thanks, 



Mark Baxter 


 
 

 

Mark Baxter 
 OnDemand Administrator 
 Visma Proceedo AB 
 Rålambsvägen 17, vån 12, S-112 59 Stockholm, Sweden 
   

Switchboard 

: +46 8 522 930 30 


Direct  

: +46 8 522 930 60 


Mobile  

: +46 73 978 92 60 


Fax 

: +46 8 58 88 48 29 


Internet

: http://www.vismaproceedo.com 


E-mail  

: mark.bax...@visma.com 



Ekonomisystem - Elektronisk fakturahantering - Redovisning - Tid- och 
projektstyrning - Säljstödssystem - Lön - Inkassotjänster - Inköp - 
Butiksdatalösningar - E-handels- och webblösningar 
 
 This communication is intended for the person(s) named above only. It 
 contains information that is confidential and legally privileged. If received 
 in error, please delete this e-mail and notify the sender. 
 



 --
  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 

Mark, if you are interested, we have a open-source solution that can help you 
to have long-term capacity planning graphics at www.opmon.org . 

_ 
Dario B. Bestetti OpServices 
R. Luciana de Abreu, 471 - Sala 403 
Porto Alegre, RS - CEP 90570-060 
Fone 55(51)32753588 Mobile 55(51)81518218 
Fax 55(51)32753588 Email dario.beste...@opservices.com.br 

In God we trust, the rest we monitor ... 
_ 

--
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] Graphing Software that Retains Perfdata

2009-11-24 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/11/09 06:20 AM, Mark Baxter wrote:
 Hi,
 
  
 
 We?ve been using Nagiosgraph for some time for graphing, but of late my
 boss has been requesting historical data for presentations and whatnot.
 The problem is that the rrdtool doesn?t appear to keep all the data it
 gets. Maybe it is configured badly, but it appears to only keep limited
 data for the yearly graphs, so when doing a data export we only really
 have decent data for analysis from the past month or so.
 
  
 
 Ideally I think a solution that stores the information in a MySQL
 database would be optimal as the required data could be easily queried
 and exported in a boss-friendly format.
 
  
 
 Does anyone know of such a solution? If not, does anyone know if I have
 simply screwed up the Nagiosgraph install or, if not, if there is any
 way I can change the configuration so as to retain all data written to
 the .rrd files?

I don't know about Nagiosgraph, the the way RRD are designed it to keep
different resolution of data for different intervals, doing automatic
aggregation. These resolutions/interval are defined in RRA's with a
consolidation function (CF) that determine what value is retained (AVG
(average), MAX, MIN...).

Lets say you have a RRD that gets data every minute, and you have 2880
lines in the first RRA, that means it will keep 2 days of 1-minute data
(60*24*2 = 1880). Then the next one might gets 5-minute average (5
primary data point (pdp) per row) and if you have 4032 lines in this
RRA,it will retain 14 days of data, then you might have a 30-minute (6
pdp since it's based on the 5-minute RRA), 2-hours (4 pdp), daily (6
pdp) RRAs and so on. A daily-data RRA of 1460 rows will retain 4 years
of data with 1-day granularity. That looks great with long-term graphs
that covers nearly a full year or more, but if you zoom in it you will
not find it much appealing (i.e. no curves that you'd normally expect on
daily graphs as the load change throughout the day).

Therefore if you're just missing long-term low-resolution data then you
will have add such RRA to keep this data. OTOH if you want high
resolution on long term data you will have to increase the number of
rows on the RRAs you need, based on what you need. Note that the later
option will greatly increase the size of you RRD files, which are
created at full capacity and will never grow.

Also take note that you can't just resize a RRD, you normally have to
export and re-import it, although if it's somewhat compatible you may be
able to export the data from the old RRAs and import it on the new one.
This is a manual process, but there may be some tools available out
there that automate resizing of RRD files.

You will find more information on RRD files and the RRDTool commands at
this page:
http://oss.oetiker.ch/rrdtool/

Hope this helps.

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

iD8DBQFLC+Wc6dZ+Kt5BchYRAvONAKCx4rWnr+/ILZ3Hbflx+eZDSbJ21ACgo/V/
rdPt4hY9IbSjsGPwc180bck=
=lH8e
-END PGP SIGNATURE-

--
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] Managing cluster failovers

2009-11-24 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/11/09 05:23 AM, keshav murthy wrote:
 Hi All,
  
 I would like to know what is the best mechanism to monitor cluster
 resources through nagios.
  
 We have the disks that failover to other node, in that case, in the
 parent node, nagios shows the drive as invalid and alert as UNKOWN.
  
 Any help is highly appreciated.

Use a failover IP (that follows the disk) for monitoring any cluster
resources, so that it's always monitoring the active node.

As a mater of fact most clustered resources will have a failover IP that
clients connect to regardless of the server that runs them.

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

iD8DBQFLC+C86dZ+Kt5BchYRAnG7AJsG6RIL44zlPP2Mm5MEP32vj0AxdACeLIs4
wxdEqXrZ4TJSv3K3gB7Sq70=
=meDx
-END PGP SIGNATURE-

--
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] Graphing Software that Retains Perfdata

2009-11-24 Thread Rakesh
Hi ,

 

We are looking for a script to be executed when a event triggers, for example I 
need to run a script in my nagios server if my remote windows servers CPU 
utilization state has changed from normal to warning .

Please help me out to achieve this.

 

Regards,

Rakesh.G

 

--
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] Graphing Software that Retains Perfdata

2009-11-24 Thread Marc Powell

On Nov 24, 2009, at 9:12 AM, Rakesh wrote:

 Hi ,
  
 We are looking for a script to be executed when a event triggers, for example 
 I need to run a script in my nagios server if my remote windows servers CPU 
 utilization state has changed from normal to warning .
 Please help me out to achieve this.

Please don't hijack someone else's thread for your own purposes.

What you're looking for is documented under Event Handlers. If you need further 
help, start a new thread.

--
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


Re: [Nagios-users] check_disk parameter question

2009-11-24 Thread Steffen Poulsen
So, you are saying - actually the plugin should just have rejected the 
parameters as bad?

Best regards,

Steffen


From: Marc Powell [m...@ena.com]
Sent: Monday, November 23, 2009 5:01 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] check_disk parameter question

On Nov 23, 2009, at 9:38 AM, Steffen Poulsen wrote:

 Hi,

 If I write this as check_disk parameters, what does it actually mean?

 /usr/local/nagios/libexec/check_disk -w 101%:101% -c 101%:101%

 - 101% free or 101%  used capacity?

$ ~nagios/libexec/check_disk --help

 -w, --warning=PERCENT%
Exit with WARNING status if less than PERCENT of disk space is free

 -c, --critical=PERCENT%
Exit with CRITCAL status if less than PERCENT of disk space is free

--
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] check_disk parameter question

2009-11-24 Thread Marc Powell

On Nov 24, 2009, at 10:44 AM, Steffen Poulsen wrote:

 So, you are saying - actually the plugin should just have rejected the 
 parameters as bad?

Yes, it probably should have since you can't have greater than 100% of anything 
but all I was really doing was answering your question regarding whether it was 
free or used percent...

--
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


[Nagios-users] tailoring a notification

2009-11-24 Thread dave stern - e-mail.pluribus.unum
I'd like to specify an additional string within the notification message
for just a few hosts that will be sent to the contactgroup for those
hosts and only those hosts. The string will be static. I presume this
can be done with macros somehow?

TIA

--
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] tailoring a notification

2009-11-24 Thread Flyinvap
Le Tue, 24 Nov 2009 13:30:34 -0500,
dave stern - e-mail.pluribus.unum dit.d...@gmail.com a écrit :

 I'd like to specify an additional string within the notification
 message for just a few hosts that will be sent to the contactgroup
 for those hosts and only those hosts. The string will be static. I
 presume this can be done with macros somehow?

http://www.google.com/search?q=nagios+custom+macro

first link : http://nagios.sourceforge.net/docs/3_0/macros.html

second link :
http://nagios.sourceforge.net/docs/3_0/customobjectvars.html

You have do modify your notification script to include the macro you
will create.

-- 
Flyinvap



--
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-24 Thread Israel Brewster


2009/11/16 Taylor Dondich tdond...@lilacnetworks.com:


#3) What is your biggest gripe regarding the existing Nagios web user
interface?



The lack of a real search. The select box is practically useless. For  
example, I have a bunch of hosts named ffs-whatever, but if I type  
in ffs- to the search box, I only get one result. I would really like  
a real (albeit simple) search so if I type ffs, I get ALL hosts  
containing ffs.

---
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---

BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD



--
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-24 Thread shadih rahman
This is not an issue.  nagios search bar does regular expression search.  do
ffs-* in your box and it will result in all the hosts.

Nagios is a monitoring tool.  I think nagios users and administrators are
some what involved with technology.  Knowing how to do regular expression
search is not an extreme requirement.

On Tue, Nov 24, 2009 at 1:47 PM, Israel Brewster
isr...@frontierflying.comwrote:


 2009/11/16 Taylor Dondich tdond...@lilacnetworks.com:

  #3) What is your biggest gripe regarding the existing Nagios web user
 interface?



 The lack of a real search. The select box is practically useless. For
 example, I have a bunch of hosts named ffs-whatever, but if I type in ffs-
 to the search box, I only get one result. I would really like a real (albeit
 simple) search so if I type ffs, I get ALL hosts containing ffs.
 ---
 Israel Brewster
 Computer Support Technician II
 Frontier Flying Service Inc.
 5245 Airport Industrial Rd
 Fairbanks, AK 99709
 (907) 450-7250 x293
 ---






 --
 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




-- 
Cordially,
Shadhin Rahman
--
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] Nagios is logging Service Check Timed Out for certain service

2009-11-24 Thread Yu Watanabe
Hello All.

I am gathering information for a problem I had experienced in nagios v2.10.

I was running Nagios on RHEL 4.5. The story is that Nagios suddenly started 
returing Service Check Timed Out
on a certain service, not on other services. The time that Service Check Timed 
Out started occuring was 
23:13:48.

Has anyone had such experience?

Thank you 
Yu Watanabe


--
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