Class VmwareCimCollector

    • Constructor Detail

      • VmwareCimCollector

        public VmwareCimCollector()
    • Method Detail

      • getRuntimeAttributes

        public java.util.Map<java.lang.String,​java.lang.Object> getRuntimeAttributes​(CollectionAgent agent,
                                                                                           java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Description copied from interface: ServiceCollector
        Invoked before every call to #collect(CollectionAgent, EventProxy, Map) in order to retrieve state/runtime information required for perform the collection. This call will always be performed in OpenNMS.
        Specified by:
        getRuntimeAttributes in interface ServiceCollector
        Overrides:
        getRuntimeAttributes in class AbstractServiceCollector
        Parameters:
        agent - Includes details about to the agent from which we wish to collect.
        parameters - Includes the service parameters defined in collectd-configuration.xml.
        Returns:
        Additional attributes, which should be added to the parameter map before calling #collect(CollectionAgent, EventProxy, Map).
      • collect

        public CollectionSet collect​(CollectionAgent agent,
                                     java.util.Map<java.lang.String,​java.lang.Object> parameters)
                              throws CollectionException
        This method collect the data for a given collection agent.
        Parameters:
        agent - the collection agent
        parameters - the parameters map
        Returns:
        the generated collection set
        Throws:
        CollectionException
      • getRrdRepository

        public RrdRepository getRrdRepository​(java.lang.String collectionName)
        Returns the Rrd repository for this object.
        Parameters:
        collectionName - the collection's name
        Returns:
        the Rrd repository
      • setNodeDao

        public void setNodeDao​(NodeDao nodeDao)
        Sets the NodeDao object for this instance.
        Parameters:
        nodeDao - the NodeDao object to use