Navigate to Script Editor (Administration > Tooling > Script Console > Scripts tab):
Click the Add button
Paste in the following script in the Script box and click Run
import com.quest.wcf.servicelayer.*;
import com.quest.nitro.service.util.JmxHelper
def dataSvc = server.DataService
def evalSvc = ServiceRegistry.getEvaluationService()
def dataSubmissionMonitor = JmxHelper.getCoreMBeanImpl('com.quest.nitro:service=DataSubmissionMonitor')
def agentManagers = evalSvc.invokeFunction("system:administration_agents_agenthost.allAgentManagers", [], null, null)
evalSvc.invokeFunction("system:administration_agents_agenthost.retrieveFglAMHAConfig", [agentManagers], null, null);
return agentManagers.collect{ manager ->
def instance = manager.fglamInstance
def client = manager.adminRemoteClient
[
id: manager.id,
alarmsState: instance.aggregateStateSeverity.name,
hostNanme: instance.host.name,
ipAddress: instance.host.primaryIpAddress.address,
adapterType: client.adapterName,
version: client.clientVersion,
build: client.clientBuildId,
osName: instance.host.os.name,
osArchitecture: client.architecture,
securityMode: manager.securityMode,
isConcentrator: manager.isConcentrator,
agentCounts: dataSvc.retrieveLatestValue(instance,"collectingAgents")?.value?.avg,
lastSubmissionTime: dataSubmissionMonitor.getRemoteClientLastSubmissionTime(instance.id),
haPartition: manager.haConfig?.partition,
haState: manager.haConfig?.state
]
}
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center