JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr O6uf 8ddlZddlmZmZmZGddeeZy)N)Plugin DebianPlugin PluginOptc@eZdZdZdZdZdZedddgZd Z d Z y ) Proxmoxz This plugin will capture information about the system's Proxmox Virtualization Environment. It will collect information about the cluster, nodes, pools and storage from the Proxmox API. zProxmox cluster informationproxmox)z proxmox-veoutput-formatsz@List of output formats to use for the commands separated by ":".text)descdefaultc |jdjd}gd}g}|D]"}|j|j|$|j |Dcgc]}|D]}d|d|dk(rdndd |c}}ycc}}w) Nr :) zcluster/resourceszcluster/config/nodeszcluster/optionsznodes/:id/statusznodes/:id/storageznodes/:id/networkpoolsstoragez storage/:sidzcluster/ceph/statuszcluster/ceph/metadatazcluster/ceph/flagsz pvesh get  r z --noborderz --output-format ) get_optionsplitextendbuild_cmd_pathsadd_cmd_output)selfoutput_formatscommands cmd_pathscommandcmdformats z*Proxmox.build_cmd_paths..Os'2wq$ OOC02s "Nz pvesh ls z --output-format jsonstatusroutputname) rnext enumeratejoinexec_cmdjsonloadsrrappend) r base_pathpartspathsid_indexpath trailing_pathresultschildrenchilds rrzProxmox.build_cmd_pathsBs$2)E*:2379  88E)8,-DHHU8a<=%9:Mmmiv5J$KLGx A%::gh&78%ELL,,#fAeFm_Am_E  LL% ) N) __name__ __module__ __qualname____doc__ short_desc plugin_namepackagesr option_listr rr=rrrs>/JKH "<  K rHs  >>TflTr=