mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -39,7 +39,7 @@ along with this program. If not, see <a href="http://www.gnu.org/licenses/">htt
|
||||
|
||||
<?php
|
||||
$stat_devices = dbFetchCell("SELECT COUNT(device_id) FROM `devices`");
|
||||
$stat_ports = dbFetchCell("SELECT COUNT(interface_id) FROM `ports`");
|
||||
$stat_ports = dbFetchCell("SELECT COUNT(port_id) FROM `ports`");
|
||||
$stat_syslog = dbFetchCell("SELECT COUNT(seq) FROM `syslog`");
|
||||
$stat_events = dbFetchCell("SELECT COUNT(event_id) FROM `eventlog`");
|
||||
$stat_apps = dbFetchCell("SELECT COUNT(app_id) FROM `applications`");
|
||||
|
||||
Reference in New Issue
Block a user