org.opennms.netmgt.collectd.wmi
Class WmiAgentState
java.lang.Object
org.opennms.netmgt.collectd.wmi.WmiAgentState
public class WmiAgentState
- extends Object
Contains a WmiManager and WmiClient instance referring to the agent loaded via
the InetAddress parameter provided in the constructor. Uses the InetAddress to
look up the agent configuration to properly connect the client and manager
to the remote agent. Provides the collector with access to the client and manager
as well as information regarding the availability of WPM (Windows Performance Metric)
groups.
- Author:
- Matt Raykowski , OpenNMS
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WmiAgentState
public WmiAgentState(InetAddress address,
Map parameters)
connect
public void connect()
getAddress
public String getAddress()
getManager
public WmiManager getManager()
groupIsAvailable
public boolean groupIsAvailable(String groupName)
setGroupIsAvailable
public void setGroupIsAvailable(String groupName,
boolean available)
shouldCheckAvailability
public boolean shouldCheckAvailability(String groupName,
int recheckInterval)
didCheckGroupAvailability
public void didCheckGroupAvailability(String groupName)
getWmiClient
public IWmiClient getWmiClient()
setWmiClient
public void setWmiClient(IWmiClient wmiClient)
Copyright © 2009. All Rights Reserved.