[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Check_mk no envía notificaciones en Debian



El día 5 de junio de 2014, 15:27, Camaleón <noelamac@gmail.com> escribió:
> El Thu, 05 Jun 2014 11:56:21 +0200, Maykel Franco escribió:
>
>> Hola buenas, tengo instalado en un debian 7 nagios 4.0.5 core + check_mk
>> + nagvis + pnp4nagios. Al final me decanté por este sistema, sí.
>>
>> El caso es que los host que configuro en nagios, en sus ficheros de toda
>> la vida .cfg, esos host sí que me envía las notificaciones cuando algún
>> servicio/host se produce un warning, recovery, down...
>>
>> Pero si el host lo he añadido a través de check_mk interfaz web, las
>> notificaciones no se me envían...
>
> (...)
>
> Supongo que ya lo habrás leído pero por aquí indican cómo depurar los
> errores de las notificaciones:
>
> Flexible Notifications
> http://mathias-kettner.com/checkmk_flexible_notifications.html
>
> Podrías hacer las pruebas que dicen y comentar en la lista los resultados
> que obtienes comparando los resultados cuando añades el servidor vía
> interfaz web (que es cuando falla) y cuando añades el servidor
> manualmente (cuando funciona).
>
> Saludos,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] pan.2014.06.05.13.27.04@gmail.com">https://lists.debian.org/[🔎] pan.2014.06.05.13.27.04@gmail.com
>


Gracias por contestar antes de nada. Sí lo he probado, se me olvidó comentarlo:

[root@nagios4 modules]# tail -f /var/lib/check_mk/notify/notify.log
2014-06-05 15:43:01
----------------------------------------------------------------------
2014-06-05 15:43:01 Got raw notification context with 0 variables
2014-06-05 15:50:44
----------------------------------------------------------------------
2014-06-05 15:50:44 Got raw notification context with 0 variables
2014-06-05 15:50:48
----------------------------------------------------------------------
2014-06-05 15:50:48 Got raw notification context with 0 variables
2014-06-05 16:18:12
----------------------------------------------------------------------
2014-06-05 16:18:12 Got raw notification context with 0 variables
2014-06-05 16:32:17
----------------------------------------------------------------------
2014-06-05 16:32:17 Got raw notification context with 0 variables

El comando no hace nada, y encontré el log, y fijate lo que dice...

Estoy buscando haber si es un bug, he sustituido algún notify.py que
ha colgado en su rama git de mathias kettner pero sigue igual...

No sé que puede estar pasando, seguiré investigando, cualquier cosa lo
comento por aquí.

Saludos.


Reply to: