[pve-devel] Add support for external graphite metric server

Alexandre DERUMIER aderumier at odiso.com
Mon Jun 22 16:53:04 CEST 2015


Hi Dietmar, 

I have a bug in current plugin framework

inside Graphite.pm

for example
sub update_node_status {
    my ($plugin_config, $node, $data, $ctime) = @_;

}

The $plugin_config var content = 'PVE::Status::Graphite'  ???


in pvestatd, this is correct

my $plugin_config = $status_cfg->{ids}->{$id};

I have the hashref with plugin options


Any idea ?



----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 22 Juin 2015 09:51:43
Objet: Re: [pve-devel] Add support for external graphite metric server

Ok, finally implemented the status plugin framework: 

https://git.proxmox.com/?p=pve-cluster.git;a=commitdiff;h=9d4f69ff6a4d88919ff0a1281c0d0705035f1900 
https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=56678698baf5d877ea2d2ed3a35cd8b2058dd7de 

Please can you rebase your work on the new framework? 

> On June 16, 2015 at 11:52 AM Dietmar Maurer <dietmar at proxmox.com> wrote: 
> 
> 
> > Could you create an empty sample Plugin ? 
> > I'm reading the code, but I'm a little bit lost. 
> 
> yes, but I need a few days for that. 



More information about the pve-devel mailing list