mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-20 00:22:03 +02:00
fix unix agent and add cymru fullbogons feed ASN
git-svn-id: http://www.observium.org/svn/observer/trunk@2975 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -365,6 +365,7 @@ $config['auth_ldap_groups']['pfy']['level'] = 7;
|
||||
$config['auth_ldap_groups']['support']['level'] = 1;
|
||||
|
||||
### Hardcoded ASN descriptions
|
||||
$config['astext'][65332] = "Cymru FullBogon Feed";
|
||||
$config['astext'][65333] = "Cymru Bogon Feed";
|
||||
|
||||
### Warnings on front page
|
||||
|
||||
@@ -10,8 +10,7 @@ $agent = fsockopen($device['hostname'], $port, $errno, $errstr, 10);
|
||||
|
||||
if(!$agent)
|
||||
{
|
||||
echo "failed";
|
||||
exit();
|
||||
echo "Connection to UNIX agent failed on port ".$port.".";
|
||||
} else {
|
||||
while (!feof($agent))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user