mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
also show rrdtool version on about page, save some forks and selects
git-svn-id: http://www.observium.org/svn/observer/trunk@3128 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -117,14 +117,6 @@ $Observium_version = $config['version'];
|
|||||||
# unset($svn);
|
# unset($svn);
|
||||||
#}
|
#}
|
||||||
|
|
||||||
$apache_version = str_replace("Apache/", "", $_SERVER['SERVER_SOFTWARE']);
|
|
||||||
|
|
||||||
$php_version = phpversion();
|
|
||||||
|
|
||||||
$mysql_version = dbFetchCell("SELECT version()");
|
|
||||||
|
|
||||||
$netsnmp_version = shell_exec($config['snmpget'] . " --version");
|
|
||||||
|
|
||||||
print_optionbar_start(NULL);
|
print_optionbar_start(NULL);
|
||||||
|
|
||||||
echo("
|
echo("
|
||||||
@@ -134,6 +126,7 @@ echo("
|
|||||||
<tr valign=top><td><b>Apache</b></td><td>$apache_version</td></tr>
|
<tr valign=top><td><b>Apache</b></td><td>$apache_version</td></tr>
|
||||||
<tr valign=top><td><b>PHP</b></td><td>$php_version</td></tr>
|
<tr valign=top><td><b>PHP</b></td><td>$php_version</td></tr>
|
||||||
<tr valign=top><td><b>MySQL</b></td><td>$mysql_version</td></tr>
|
<tr valign=top><td><b>MySQL</b></td><td>$mysql_version</td></tr>
|
||||||
|
<tr valign=top><td><b>RRDtool</b></td><td>$rrdtool_version</td></tr>
|
||||||
</table>
|
</table>
|
||||||
");
|
");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user