summaryrefslogtreecommitdiff
path: root/net-mgmt/observium/files/patch-html__pages__addhost.inc.php
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-07-28 16:20:05 +0000
committerMark Felder <feld@FreeBSD.org>2014-07-28 16:20:05 +0000
commit5296f66b97dd0ff656a767a9f4490e848bb54f54 (patch)
tree9f179150e0555a80c1942d4474dcdf0b25c0573d /net-mgmt/observium/files/patch-html__pages__addhost.inc.php
parentReword the comment here so that updating the build depends version is not (diff)
Support STAGE
Switch to the latest community edition: updated bi-annually Remove JAIL option; if you need to run Observium in a jail please enable raw socket support for the jail. Upstream is very specific about what they support and pulling an ancient perl fping script from CPAN is not comforting. Sponsored by: SupraNet Communications, Inc
Diffstat (limited to 'net-mgmt/observium/files/patch-html__pages__addhost.inc.php')
-rw-r--r--net-mgmt/observium/files/patch-html__pages__addhost.inc.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/net-mgmt/observium/files/patch-html__pages__addhost.inc.php b/net-mgmt/observium/files/patch-html__pages__addhost.inc.php
deleted file mode 100644
index 494a42b32d3b..000000000000
--- a/net-mgmt/observium/files/patch-html__pages__addhost.inc.php
+++ /dev/null
@@ -1,15 +0,0 @@
---- html/pages/addhost.inc.php.orig 2011-09-08 09:10:31.000000000 -0800
-+++ html/pages/addhost.inc.php 2012-02-20 07:26:57.000000000 -0900
-@@ -13,7 +13,11 @@
- if ($_SESSION['userlevel'] > '5')
- {
- $hostname = mres($_POST['hostname']);
-- if ($_POST['community']) { $community = mres($_POST['community']); } else { $community = $config['snmp']['community']; }
-+ if ($_POST['community'])
-+ {
-+ $community = mres($_POST['community']);
-+ array_unshift($config['snmp']['community'], $community);
-+ } else { $community = $config['snmp']['community'][0]; }
- $snmpver = mres($_POST['snmpver']);
- if ($_POST['port']) { $port = mres($_POST['port']); } else { $port = "161"; }
- print_message("Adding host $hostname community $community port $port");