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:
Tom Laermans
2012-05-03 13:57:27 +00:00
parent e15af852f7
commit b77c4f84ac

View File

@@ -117,14 +117,6 @@ $Observium_version = $config['version'];
# 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);
echo("
@@ -134,6 +126,7 @@ echo("
<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>MySQL</b></td><td>$mysql_version</td></tr>
<tr valign=top><td><b>RRDtool</b></td><td>$rrdtool_version</td></tr>
</table>
");