diff --git a/PVE/Status/Graphite.pm b/PVE/Status/Graphite.pm index 407903b2..c125c908 100644 --- a/PVE/Status/Graphite.pm +++ b/PVE/Status/Graphite.pm @@ -20,14 +20,6 @@ sub type { sub properties { return { - server => { - type => 'string', format => 'dns-name', - description => "server dns name", - }, - port => { - type => 'integer', - description => "network port", - }, path => { type => 'string', format => 'graphite-path', description => "root graphite path (ex: proxmox.mycluster.mykey)", diff --git a/PVE/Status/Plugin.pm b/PVE/Status/Plugin.pm index c11b6cc3..070467c3 100644 --- a/PVE/Status/Plugin.pm +++ b/PVE/Status/Plugin.pm @@ -26,6 +26,14 @@ my $defaultData = { type => 'boolean', optional => 1, }, + server => { + type => 'string', format => 'address', + description => "server dns name or IP address", + }, + port => { + type => 'integer', + description => "server network port", + }, }, };