IcingaDB Web 1.1.0 and Nagvis module

Is anyone else having problems using the latest icingadb-web version (1.1.0), and Nagvis? Spefically, I am seeing an exception thrown due to Nagvis attempting to implicitly convert a DateTime object to an integer (which, as far as I can tell, was never actually supposed to work anyhow). The greater issue seems to be that, somehow, the icingadb web module is causing a PHP Notice, that is usually invisible to the user, to be thrown as an ErrorException, which breaks Nagvis map viewing. I’ve had a look but I could not yet track down where the switch actually happens. All I can see is that after including the Icinga EmbeddedWeb class and issuing the “start”, the PHP Notice will then be thrown as an error.

Simply downgrading to icingadb-web 1.0.1 causes the issue to go away.

  • Icinga DB Web version (System - About): 1.1.0
  • Icinga Web 2 version (System - About): 2.14
  • Web browser: Firefox
  • Icinga 2 version (icinga2 --version): 2.14.0
  • Icinga DB version (icingadb --version): 1.1.1
  • PHP version used (php --version): 8.0

Please create an issue on GitHub. The module doesn’t have official Icinga DB support yet.