From 1ce89de53bcea46eec5a103b147076cbea7f434f Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Fri, 9 Jan 2009 15:00:17 +0000 Subject: [PATCH] ability to disable inventory discovery and syslog display improvements git-svn-id: http://www.observium.org/svn/observer/trunk@337 61d68cd4-352d-0410-923a-c4978735b2b8 --- config.php.default | 4 +++- html/index.php | 1 - html/pages/device/syslog.inc.php | 4 ++-- includes/discovery/cisco-physical.php | 10 +++++++--- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/config.php.default b/config.php.default index c8c61d413..aef2bbfcc 100755 --- a/config.php.default +++ b/config.php.default @@ -72,8 +72,10 @@ $config['show_locations'] = 1; # Enable Locations on menu ### Which additional features should we enable? $config['enable_bgp'] = 1; # Enable BGP session collection and display -$config['enable_syslog'] = 1; # Enable Syslog +$config['enable_syslog'] = 1; # Enable Syslog $config['enable_billing'] = 1; # Enable BGP session collection and display +$config['enable_inventory'] = 1; # Enable Inventory + ## If a syslog entry contails these strings it is deleted from the database $config['syslog_filter'] = array("last message repeated", "Connection from UDP: [127.0.0.1]:"); diff --git a/html/index.php b/html/index.php index e6eb5aa06..fc7b43a59 100755 --- a/html/index.php +++ b/html/index.php @@ -23,7 +23,6 @@ if($_GET[debug]) { $year = time() - (365 * 24 * 60 * 60); ?> - diff --git a/html/pages/device/syslog.inc.php b/html/pages/device/syslog.inc.php index 83ea8889d..0f0cb6318 100644 --- a/html/pages/device/syslog.inc.php +++ b/html/pages/device/syslog.inc.php @@ -27,11 +27,11 @@