Package | Description |
---|---|
org.miloss.fgsms.agentcore | |
org.miloss.fgsms.agents.qpidpy | |
org.miloss.fgsms.osagent |
Modifier and Type | Method and Description |
---|---|
static AddMachineAndProcessDataResponseMsg |
OSAgentHelper.AddMachineAndProcessDataRequestMsg(AddMachineAndProcessDataRequestMsg req) |
static void |
HelperBase.discoverEndpoints()
calls all
IEndpointDiscovery interfaces to discover the location
of FGSMS's server, if configured |
static boolean |
PersistentStorage.doWork(boolean pooled)
return true if successful, false means all endpoints are down, lets delay
for a bit then try again
|
static Properties |
ConfigLoader.loadProperties()
this is a faster mechanism to initialize the config.
|
static boolean |
StatisticalHelper.send(AddStatisticalDataRequestMsg req)
Attempts to send statistical data to the fgsms DCS service
|
static SetProcessListByMachineResponseMsg |
OSAgentHelper.SetMachineInfo(SetProcessListByMachineRequestMsg req)
Sends the current machine configuration information to the fgsms PCS
service If it cannot be reached, null is returned.
|
static GlobalPolicy |
PolicyFetch.TryFetchGlobalPolicy()
* Attempts to retrieve the current global policy from the fgsms server
A successful return typically indicates that the server is up and
running.
|
static ServicePolicy |
PolicyFetch.TryFetchPolicy(String URI,
PolicyType policyType,
String domainname,
String hostname)
Gets a service policy from the fgsms server under the context of the an
agent meaning that if the policy does not exist, it will be created.
|
static boolean |
StatusHelper.tryUpdateStatus(boolean isrunning,
String URI,
String message,
boolean ispooled,
PolicyType policyType,
String domainname,
String hostname)
returns false if the status could not be sent
|
Constructor and Description |
---|
ConfigLoader()
loads the config from the properties file.
|
ConfigLoader(boolean p)
create an empty config loader object and initializes the client proxy
objects to the initial state, no configuration settings will be
available.
|
ConfigLoader(Properties p)
Allows for setting up the config via a provided properties instance
|
Modifier and Type | Method and Description |
---|---|
static void |
Mainv2.main(String[] args) |
Modifier and Type | Method and Description |
---|---|
protected void |
OSAgent.fire()
Fetches the most recent performance data, sends it to fgsms, then
performs some basic
|
protected MachinePerformanceData |
OSAgent.getMachineInfo(MachinePolicy machine)
Get machine information, such as current cpu, memory, disk, nic usage
|
Copyright © 2008–2017 MIL-OSS. All rights reserved.