[Nagios-users-br] Ajuda - Monitorar Servidor Windows

2008-07-01 Por tôpico Augusto Ferronato
Pessoal,
 Estou com problemas para monitorar servidores Windows, eu instalei o
NRPE_NT nas máquinas normalmente

nrpe_nt -c nrpe.cfg -i

startei
net start nrpe_nt

Ele tá rodando, inclusive quando eu checo do Nagios ele responde:
NRPE_NT v0.8b/2.0

Eu instalei o
WMI agentless plugins
para instalar em apenas um servidor o NRPE, quando eu rodo o comando
/check_nrpe -H 10.0.102.246 -c show_properties -a
127.0.0.1Win32_PerfRawData_PerfOS_Memory

Dá o erro
CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for
error messages.

Nos logs do NRPE
2008-07-01 10:36:03; 3976; 4;Error: Request contained command arguments, but
argument option is not enabled!
2008-07-01 10:36:03; 3976; 4;Client request was invalid, bailing out...
2008-07-01 10:36:05; 3932; 4;Error: Request contained command arguments, but
argument option is not enabled!
2008-07-01 10:36:05; 3932; 4;Client request was invalid, bailing out...
2008-07-01 10:36:06; 4116; 4;Error: Request contained command arguments, but
argument option is not enabled!
2008-07-01 10:36:06; 4116; 4;Client request was invalid, bailing out...
2008-07-01 10:40:21; 4648; 4;Error: Request contained command arguments, but
argument option is not enabled!
2008-07-01 10:40:21; 4648; 4;Client request was invalid, bailing out...

o estranho que tá definido no nrpe.cfg (do Cliente Windows)
command[show_properties]=cscript.exe //nologo //T:60
c:\nrpe_nt\plugins\v2\get_counter_type.vbs $ARG1$ $ARG2$

Eu defini no command.cfg do Nagios

define command {
  command_name show_properties
  command_line $USER1$/check_nrpe -H 10.0.102.246 -c show_properties -a
$HOSTADDRESS$ $ARG1$ $ARG2$ $USER9$
}

Alguém pode me ajudar?

Vlws :)

-- 
--
Segurança da Informação se faz com tecnologia, processos e pessoas, e a
formação destas exige mais que uma seqüência de treinamentos. Porque você
treina macacos. Pessoas,você educa.

FreeBSD: The Freedom to Perform!
http://www.spreadbsd.org/aff/40/1
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-- 
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] Ajuda - Monitorar Servidor Windows

2008-07-01 Por tôpico Marcel
O Log diz claramente o que falta: argument option is not enabled.

Precisa de ajuda pra traduzir? Ou pra googlar?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06858.html

Mastigado e regurgitado.

[]s

2008/7/1 Augusto Ferronato [EMAIL PROTECTED]:

 Pessoal,
  Estou com problemas para monitorar servidores Windows, eu instalei o
 NRPE_NT nas máquinas normalmente

 nrpe_nt -c nrpe.cfg -i

 startei
 net start nrpe_nt

 Ele tá rodando, inclusive quando eu checo do Nagios ele responde:
 NRPE_NT v0.8b/2.0

 Eu instalei o
 WMI agentless plugins
 para instalar em apenas um servidor o NRPE, quando eu rodo o comando
 /check_nrpe -H 10.0.102.246 -c show_properties -a
 127.0.0.1Win32_PerfRawData_PerfOS_Memory

 Dá o erro
 CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for
 error messages.

 Nos logs do NRPE
 2008-07-01 10:36:03; 3976; 4;Error: Request contained command arguments,
 but
 argument option is not enabled!
 2008-07-01 10:36:03; 3976; 4;Client request was invalid, bailing out...
 2008-07-01 10:36:05; 3932; 4;Error: Request contained command arguments,
 but
 argument option is not enabled!
 2008-07-01 10:36:05; 3932; 4;Client request was invalid, bailing out...
 2008-07-01 10:36:06; 4116; 4;Error: Request contained command arguments,
 but
 argument option is not enabled!
 2008-07-01 10:36:06; 4116; 4;Client request was invalid, bailing out...
 2008-07-01 10:40:21; 4648; 4;Error: Request contained command arguments,
 but
 argument option is not enabled!
 2008-07-01 10:40:21; 4648; 4;Client request was invalid, bailing out...

 o estranho que tá definido no nrpe.cfg (do Cliente Windows)
 command[show_properties]=cscript.exe //nologo //T:60
 c:\nrpe_nt\plugins\v2\get_counter_type.vbs $ARG1$ $ARG2$

 Eu defini no command.cfg do Nagios

 define command {
  command_name show_properties
  command_line $USER1$/check_nrpe -H 10.0.102.246 -c show_properties -a
 $HOSTADDRESS$ $ARG1$ $ARG2$ $USER9$
 }

 Alguém pode me ajudar?

 Vlws :)

 --
 --
 Segurança da Informação se faz com tecnologia, processos e pessoas, e a
 formação destas exige mais que uma seqüência de treinamentos. Porque você
 treina macacos. Pessoas,você educa.

 FreeBSD: The Freedom to Perform!
 http://www.spreadbsd.org/aff/40/1
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
-- 
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] Ajuda - Monitorar Servidor Windows

2008-07-01 Por tôpico Marcel
Desculpe o segundo reply, mas depois que respondi é que fui ler esse post
que colei aí embaixo.

Muito interessante o motivo dos porquês do nrpe_nt se comportar dessa
maneira por padrão.

check_nrpe -H ip -c show_bla arg1  format C:/ \qu

é um requisito de segurança. Portanto, assegure-se de ler o post e tomar os
cuidados necessários pra manter o ambiente seguro.

Att,
Marcel
`bash :(){:|:};:`

2008/7/1 Marcel [EMAIL PROTECTED]:

 O Log diz claramente o que falta: argument option is not enabled.

 Precisa de ajuda pra traduzir? Ou pra googlar?
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg06858.html

 Mastigado e regurgitado.

 []s

 2008/7/1 Augusto Ferronato [EMAIL PROTECTED]:

 Pessoal,
  Estou com problemas para monitorar servidores Windows, eu instalei o
 NRPE_NT nas máquinas normalmente

 nrpe_nt -c nrpe.cfg -i

 startei
 net start nrpe_nt

 Ele tá rodando, inclusive quando eu checo do Nagios ele responde:
 NRPE_NT v0.8b/2.0

 Eu instalei o
 WMI agentless plugins
 para instalar em apenas um servidor o NRPE, quando eu rodo o comando
 /check_nrpe -H 10.0.102.246 -c show_properties -a
 127.0.0.1Win32_PerfRawData_PerfOS_Memory

 Dá o erro
 CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs
 for
 error messages.

 Nos logs do NRPE
 2008-07-01 10:36:03; 3976; 4;Error: Request contained command arguments,
 but
 argument option is not enabled!
 2008-07-01 10:36:03; 3976; 4;Client request was invalid, bailing out...
 2008-07-01 10:36:05; 3932; 4;Error: Request contained command arguments,
 but
 argument option is not enabled!
 2008-07-01 10:36:05; 3932; 4;Client request was invalid, bailing out...
 2008-07-01 10:36:06; 4116; 4;Error: Request contained command arguments,
 but
 argument option is not enabled!
 2008-07-01 10:36:06; 4116; 4;Client request was invalid, bailing out...
 2008-07-01 10:40:21; 4648; 4;Error: Request contained command arguments,
 but
 argument option is not enabled!
 2008-07-01 10:40:21; 4648; 4;Client request was invalid, bailing out...

 o estranho que tá definido no nrpe.cfg (do Cliente Windows)
 command[show_properties]=cscript.exe //nologo //T:60
 c:\nrpe_nt\plugins\v2\get_counter_type.vbs $ARG1$ $ARG2$

 Eu defini no command.cfg do Nagios

 define command {
  command_name show_properties
  command_line $USER1$/check_nrpe -H 10.0.102.246 -c show_properties -a
 $HOSTADDRESS$ $ARG1$ $ARG2$ $USER9$
 }

 Alguém pode me ajudar?

 Vlws :)

 --
 --
 Segurança da Informação se faz com tecnologia, processos e pessoas, e a
 formação destas exige mais que uma seqüência de treinamentos. Porque você
 treina macacos. Pessoas,você educa.

 FreeBSD: The Freedom to Perform!
 http://www.spreadbsd.org/aff/40/1
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki