[pve-devel] [PATCH] pve-cluster : add graphiteserver option

Alexandre Derumier aderumier at odiso.com
Mon Jun 15 08:00:28 CEST 2015


format = hostname:port:yourgraphiteroot.clustername

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 data/PVE/Cluster.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 907f498..f9bc067 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -1327,6 +1327,13 @@ my $datacenter_schema = {
 	    format => 'email-opt',
 	    description => "Specify email address to send notification from (default is root@\$hostname)",
 	},
+	graphiteserver => {
+	    optional => 1,
+	    type => 'string',
+	    description => "External graphite statistic server",
+	    typetext => "hostname:port:proxmox.clustername",
+	    pattern => ".*:.*:.*",
+	},
     },
 };
 
-- 
2.1.4




More information about the pve-devel mailing list