sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
409 stars 149 forks source link

Backend crashes after submitting passive check #559

Closed d-zalewski closed 8 years ago

d-zalewski commented 8 years ago

Thruk 1.84-6 Nagios-core 4.0.8

When I click on “Submit passive check result for this host” it crashes the backend.

2015/12/16 11:16:36][mon1][INFO][Thruk.Controller.cmd] [jgrant][Livestatus] cmd: COMMAND [1450264596] DISABLE_SVC_CHECK;SRVWEB10;IIS Web A pplication - Portal [2015/12/16 11:16:50][mon1][INFO][Thruk.Controller.cmd] [jgrant][Livestatus] cmd: COMMAND [1450264610] ENABLE_SVC_CHECK;SRVWEB10;IIS Web Ap plication - Portal [2015/12/16 11:17:03][mon1][INFO][Thruk.Controller.cmd] [jgrant][Livestatus] cmd: COMMAND [1450264623] PROCESS_SERVICE_CHECK_RESULT;SRVWEB10 0;IIS Web Application - Portal;0;ok| [2015/12/16 11:17:04][mon1][ERROR][Thruk.Controller.Root] Caught exception in Thruk::Controller::status->index "failed to connect at /usr/share/th ruk/script/../lib/Thruk/Backend/Manager.pm line 1090." [2015/12/16 11:17:04][mon1][ERROR][Thruk.Controller.error] No Backend available

I was able to reproduce it each time.

Is this a well know issue?

sni commented 8 years ago

Since this works perfectly with Nagios 3, Shinken, Naemon and Icinga 1 and 2, i'd say this is a Nagios 4 issue. Thruk just sends the command to Nagios, if Nagios crashes, this is definitly a bug in Nagios itself (or the livestatus module).