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

Dietmar Maurer dietmar at proxmox.com
Mon Jun 22 18:52:08 CEST 2015


> 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