diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 056f52494..feee5ee41 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -172,7 +172,7 @@ function generate_port_thumbnail($args) function print_optionbar_start ($height = 20, $width = 0) { echo(" -
ObserverNMS Network Management and Monitoring System @@ -44,6 +44,7 @@ along with this program. If not, see htt $stat_volt = mysql_result(mysql_query("SELECT COUNT(*) FROM `voltage`"),0); $stat_amp = mysql_result(mysql_query("SELECT COUNT(*) FROM `current`"),0); $stat_hz = mysql_result(mysql_query("SELECT COUNT(*) FROM `frequency`"),0); + $stat_humid = mysql_result(mysql_query("SELECT COUNT(*) FROM `sensors` WHERE sensor_class='humidity'"),0); $stat_toner = mysql_result(mysql_query("SELECT COUNT(*) FROM `toner`"),0); $stat_hrdev = mysql_result(mysql_query("SELECT COUNT(*) FROM `hrDevice`"),0); $stat_entphys = mysql_result(mysql_query("SELECT COUNT(*) FROM `entPhysical`"),0); @@ -62,49 +63,54 @@ along with this program. If not, see htt
| $stat_devices | -$stat_ports | +$stat_devices | +$stat_ports | ||||||||
| $stat_ipv4_addy | -$stat_ipv4_nets | +$stat_ipv4_addy | +$stat_ipv4_nets | ||||||||
| $stat_ipv6_addy | -$stat_ipv6_nets | +$stat_ipv6_addy | +$stat_ipv6_nets | ||||||||
| $stat_services | -$stat_apps | +$stat_services | +$stat_apps | ||||||||
| $stat_processors | -$stat_memory | +$stat_processors | +$stat_memory | ||||||||
| $stat_storage | -$stat_diskio | +$stat_storage | +$stat_diskio | ||||||||
| $stat_hrdev | -$stat_entphys | +$stat_hrdev | +$stat_entphys | ||||||||
| $stat_syslog | -$stat_events | +$stat_syslog | +$stat_events | ||||||||
| $stat_temp | -$stat_fanspeeds | +$stat_temp | +$stat_fanspeeds | ||||||||
| $stat_volt | -$stat_amp | +$stat_volt | +$stat_amp | ||||||||
| $stat_hz | -$stat_toner | +$stat_hz | +$stat_toner | +||||||||
| $stat_humid | +
| ObserverNMS | $observer_version | +
| ObserverNMS | $observer_version | Apache | $apache_version |
| PHP | $php_version | +||
| PHP | $php_version | MySQL | $mysql_version |