[MASOCH-L] Nagios 3

Rafael M. Veras rafaelmveras at yahoo.com.br
Fri Apr 24 16:57:29 BRT 2009


Recomendo baixar o plugin mais recente direto do site do nagios.
http://www.nagios.org/download/download.php

Versão 1.4.13.

Você devia estar usando um fonte antigo do debian com bug.

2009/4/24 Rodrigo Magno <rodrigo at digi.net.br>:
> Obrigado, Ítalo!
>
> Ítalo Rossi wrote:
>> Rodrigo,
>>
>> Bug antigo.
>>
>> Esse patch resolve:
>>
>> --- check_pgsql.c.orig    2009-04-24 15:53:55.000000000 -0300
>> +++ check_pgsql.c    2009-04-24 15:10:42.000000000 -0300
>> @@ -47,7 +47,7 @@
>>
>>  #define DEFAULT_DB "template1"
>>  #define DEFAULT_HOST "127.0.0.1"
>> -
>> +#define NAMEDATALEN 63
>>  enum {
>>      DEFAULT_PORT = 5432,
>>      DEFAULT_WARN = 2,
>>
>> Corrigido no 1.4.11-1, eu acho. Baixe a versão mais nova.
>>
>> On Apr 24, 2009, at 3:47 PM, Rafael M. Veras wrote:
>>
>>> Oi Rodrigo,
>>>
>>> Onde você pegou o fonte?
>>>
>>> 2009/4/24 Rodrigo Magno <rodrigo at digi.net.br>:
>>>> Olá pessoal,
>>>>
>>>> Estou instalando o nagios 3 e quando tento compilar o nagios-pluguin, é
>>>> apresentado o seguinte erro abaixo. Alguém já teve esse problema?
>>>>
>>>> check_pgsql.c:71: error: 'NAMEDATALEN' undeclared here (not in a
>>>> function)
>>>> make[2]: *** [check_pgsql.o] Error 1
>>>> make[2]: Leaving directory
>>>> `/usr/local/download/nagios-plugins-1.4.11/plugins'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory `/usr/local/download/nagios-plugins-1.4.11'
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>>
>>>> __
>>>> masoch-l list
>>>> https://eng.registro.br/mailman/listinfo/masoch-l
>>>>
>>>
>>>
>>>
>>> --
>>> Rafael M. Veras
>>> __
>>> masoch-l list
>>> https://eng.registro.br/mailman/listinfo/masoch-l
>>>
>>
>>
>>
>> --
>> Ítalo Rossi
>> __
>> masoch-l list
>> https://eng.registro.br/mailman/listinfo/masoch-l
>>
>
> __
> masoch-l list
> https://eng.registro.br/mailman/listinfo/masoch-l
>



-- 
Rafael M. Veras


More information about the masoch-l mailing list