nagios-alerta icon indicating copy to clipboard operation
nagios-alerta copied to clipboard

Nagios crash after reload

Open misho-s opened this issue 1 year ago • 0 comments

Issue Summary Nagios with nagios-alerta crash after reload

Environment

  • OS: Centos 7
  • Nagios: 4.4.9
  • nagios-alerta: 5.1.0

Steps:

  1. I installed nagios-alerta from source: make nagios4 && make install
  2. i add configuration to nagios.cfg: broker_module=/usr/lib/nagios/alerta-neb.o https://alerta.server env=IT key=ALERTA_KEY hard_only=1
  3. start nagios with: systemcl start nagios everything works fine. Alerta shows alerts from nagios.
  4. after reload with systemctl reload nagios nagios always crash.

Nagios.log with debug on

[1678370296] alerta: Initialising Nagios-Alerta Gateway module, v5.0.1
[1678370296] alerta: debug is on
[1678370296] alerta: states=Hard/Soft
[1678370296] alerta: Forward service checks, host checks and downtime to https://alerta.xyz/api
[1678370296] Event broker module '/usr/lib/nagios/alerta-neb.o' initialized successfully.
....
[1678370296] alerta: Downtime started.
[1678370296] alerta: {"origin": "nagios/nagios.server", "resource": "xxxx", "event": ......}
[1678370296] alerta: [curl] About to connect() to alerta.xyz port 443 (#0)
[1678370296] alerta: [curl]   Trying 10.x.x.y...
[1678370296] alerta: [curl] Connected to alerta.xyz (10.x.x.y) port 443 (#0)
[1678370296] alerta: [curl] Initializing NSS with certpath: sql:/etc/pki/nssdb
[1678370296] Caught SIGSEGV, shutting down...
[1678370296] Caught SIGTERM, shutting down...

misho-s avatar Mar 16 '23 13:03 misho-s