Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nagios crash after reload #48

Open
misho-s opened this issue Mar 16, 2023 · 0 comments
Open

Nagios crash after reload #48

misho-s opened this issue Mar 16, 2023 · 0 comments

Comments

@misho-s
Copy link

misho-s commented Mar 16, 2023

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...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant