mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Updated validate script to put markers in place
This commit is contained in:
parent
f621bf5175
commit
817ac245c0
@ -73,6 +73,7 @@ require_once 'includes/common.php';
|
|||||||
require_once $config['install_dir'].'/includes/alerts.inc.php';
|
require_once $config['install_dir'].'/includes/alerts.inc.php';
|
||||||
|
|
||||||
$versions = version_info();
|
$versions = version_info();
|
||||||
|
echo "====================================\n";
|
||||||
echo "Version info:\n";
|
echo "Version info:\n";
|
||||||
$cur_sha = $versions['local_sha'];
|
$cur_sha = $versions['local_sha'];
|
||||||
if ($config['update_channel'] == 'master' && $cur_sha != $versions['github']['sha']) {
|
if ($config['update_channel'] == 'master' && $cur_sha != $versions['github']['sha']) {
|
||||||
@ -102,6 +103,7 @@ echo "PHP: ".$versions['php_ver']."\n";
|
|||||||
echo "MySQL: ".$versions['mysql_ver']."\n";
|
echo "MySQL: ".$versions['mysql_ver']."\n";
|
||||||
echo "RRDTool: ".$versions['rrdtool_ver']."\n";
|
echo "RRDTool: ".$versions['rrdtool_ver']."\n";
|
||||||
echo "SNMP: ".$versions['netsnmp_ver']."\n";
|
echo "SNMP: ".$versions['netsnmp_ver']."\n";
|
||||||
|
echo "====================================\n";
|
||||||
|
|
||||||
// Check php modules we use to make sure they are loaded
|
// Check php modules we use to make sure they are loaded
|
||||||
$extensions = array('pcre','curl','session','snmp','mcrypt');
|
$extensions = array('pcre','curl','session','snmp','mcrypt');
|
||||||
|
Loading…
Reference in New Issue
Block a user