evoila / collectsphere

Collectd Plugin for VMware vSphere
MIT License
55 stars 9 forks source link

Multiple hosts simultaneously #35

Open anthonymoon opened 6 years ago

anthonymoon commented 6 years ago

Is it possible to support multiple simultaneous collections?

E.g

[root@zabbix-a collectd.d]# cat collectsphere.conf
TypesDB "/etc/collectd.d/vmware-types.db"

<LoadPlugin "python">
    Globals true
</LoadPlugin>

<Plugin "python">
    Import "collectsphere"

    <Module "collectsphere">
        Port "443"
        Verbose true
        VerifyCertificate false
        UseFriendlyName true
        Host_Counters "cpu.usage,mem.usage,net.usage"
        VM_Counters "all"
    </Module>

    <Module "collectsphere">
        Port "443"
        Verbose true
        VerifyCertificate false
        UseFriendlyName true
        Host_Counters "cpu.usage,mem.usage,net.usage"
        VM_Counters "all"
    </Module>

</Plugin>