[pve-devel] [PATCH 1/2] add graphite plugin

Alexandre DERUMIER aderumier at odiso.com
Mon Jun 22 19:40:07 CEST 2015


Will improve that tomorrow
----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 22 Juin 2015 18:52:08
Objet: Re: [pve-devel] [PATCH 1/2] add graphite plugin

> diff --git a/PVE/Status/Graphite.pm b/PVE/Status/Graphite.pm 
> index cbc1229..cd246f9 100644 
> --- a/PVE/Status/Graphite.pm 
> +++ b/PVE/Status/Graphite.pm 
> @@ -7,6 +7,8 @@ use PVE::Status::Plugin; 
> # example config (/etc/pve/status.cfg) 
> #graphite: 
> # graphiteserver test 
> +# port 2003 
> +# path proxmox.mycluster 
> # disable 0 
> # 
> 
> @@ -22,39 +24,91 @@ sub properties { 
> type => 'string', 
> description => "External graphite statistic server", 

what format exactly? 

> }, 
> + port => { 
> + type => 'string', 
> + description => "graphite server port", 
> + default => 2003, 

why is this type 'string'? 

> + }, 
> + path => { 
> + type => 'string', 
> + description => "root graphite path", 
> + default => 'proxmox' 

what format exactly? 




More information about the pve-devel mailing list