[Pkg-nagios-devel] Bug#903706: nagvis: Nagvis version not compatible with PHP7 for Mysql backend (ndomy)

Dominique Rousseau d.rousseau at nnx.com
Fri Jul 13 14:50:10 BST 2018


Package: nagvis
Version: 1:1.7.10+dfsg1-3.2
Severity: important

Dear Maintainer,

I tried to use ndomy backend with nagvis package from Stretch,
but the map is giving error about Mysql support :

"""
Your PHP installation does not support mysql. Please check if you installed
the PHP module.
"""

The php7.0-mysql package is indeed installed, but nagvis Mysql code checks
against "mysql" extension, whereas PHP from version 7 only has mysqli and
PDO APIs.

The message about Mysql support comes from file :

/usr/share/nagvis/share/server/core/classes/CoreMySQLHandler.php

In this handler all Mysql related functions use the mysql_* API


-- System Information:
Debian Release: 9.1
Architecture: amd64

php7.0-mysql: 7.0.27-0+deb
nagvis: 1:1.7.10+dfsg1-3.2



More information about the Pkg-nagios-devel mailing list