mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Python3 Module Dependency Check (#11544)
* Python3 Modul Dependency Check * code climate * binary existance check * move Python Modul Version Check * . * adding verbose argument * args parser nicement * enhance Validator for detailed approvements * Update Python.php * Update check_requirements.py * python version to Version class use Process Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -1007,6 +1007,7 @@ function version_info($remote = false)
|
||||
}
|
||||
$output['db_schema'] = vsprintf('%s (%s)', $version->database());
|
||||
$output['php_ver'] = phpversion();
|
||||
$output['python_ver'] = \LibreNMS\Util\Version::python();
|
||||
$output['mysql_ver'] = dbIsConnected() ? dbFetchCell('SELECT version()') : '?';
|
||||
$output['rrdtool_ver'] = str_replace('1.7.01.7.0', '1.7.0', implode(' ', array_slice(explode(' ', shell_exec(
|
||||
Config::get('rrdtool', 'rrdtool') . ' --version |head -n1'
|
||||
|
Reference in New Issue
Block a user