mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fixing some things
git-svn-id: http://www.observium.org/svn/observer/trunk@248 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
#!/usr/bin/php
|
||||
<?
|
||||
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
ini_set('log_errors', 1);
|
||||
ini_set('error_reporting', E_ALL);
|
||||
|
||||
|
||||
include("config.php");
|
||||
include("includes/functions.php");
|
||||
include("includes/cdp.inc.php");
|
||||
@ -12,7 +18,7 @@ while ($device = mysql_fetch_array($device_query)) {
|
||||
$hostname = $device['hostname'];
|
||||
$community = $device['community'];
|
||||
echo("Discovering $hostname \n");
|
||||
$id = $device['id'];
|
||||
$id = $device['device_id'];
|
||||
$host = $id;
|
||||
|
||||
echo("Detecting CDP neighbours on $device[1]...\n");
|
||||
|
Reference in New Issue
Block a user