| Package | Description |
|---|---|
| org.netxms.client | |
| org.netxms.client.datacollection | |
| org.netxms.client.log | |
| org.netxms.client.snmp |
| Modifier and Type | Method and Description |
|---|---|
void |
NXCSession.acknowledgeAlarm(long alarmId)
Acknowledge alarm.
|
void |
NXCSession.acknowledgeAlarm(long alarmId,
boolean sticky,
int time)
Acknowledge alarm.
|
void |
NXCSession.addClusterNode(long clusterId,
long nodeId)
Add node to cluster.
|
void |
NXCSession.applyTemplate(long templateId,
long nodeId)
Apply data collection template to node.
|
void |
NXCSession.bindObject(long parentId,
long childId)
Bind object.
|
void |
NXCSession.cancelFileMonitoring(long nodeId,
java.lang.String remoteFileName)
Cancel file monitoring
|
void |
NXCSession.cancelServerJob(long jobId)
Cancel server job
|
void |
NXCSession.changeObjecToolDisableStatuss(long toolId,
boolean enable)
Delete object tool.
|
void |
NXCSession.changeObjectZone(long objectId,
long zoneId)
Move object to different zone.
|
void |
NXCSession.clearCollectedData(long nodeId,
long dciId)
Clear collected data for given DCI
|
void |
NXCSession.closeAlarm(long alarmId)
Set alarm's helpdesk state to "Closed".
|
void |
NXCSession.closeConsole()
Close server console.
|
void |
NXCSession.closeEventProcessingPolicy()
Close event processing policy.
|
long |
NXCSession.createAction(java.lang.String name)
Create new server action.
|
LibraryImage |
NXCSession.createImage(LibraryImage image,
ProgressListener listener) |
void |
NXCSession.createNewCertificate(byte[] data,
java.lang.String comments)
Create new certificate
|
long |
NXCSession.createObject(NXCObjectCreationData data)
Create new NetXMS object.
|
long |
NXCSession.createObject(NXCObjectCreationData data,
java.lang.Object userData)
Create new NetXMS object.
|
long |
NXCSession.createSituation(java.lang.String name,
java.lang.String comments)
Create new situation object.
|
long |
NXCSession.createSnmpTrapConfiguration()
Create new trap configuration record.
|
long |
NXCSession.createUser(java.lang.String name) |
long |
NXCSession.createUserGroup(java.lang.String name) |
void |
NXCSession.deleteAction(long actionId)
Delete server action
|
void |
NXCSession.deleteAlarm(long alarmId)
Delete alarm.
|
void |
NXCSession.deleteAlarmNote(long alarmId,
long noteId)
Delete alarm's note (comment).
|
void |
NXCSession.deleteCertificate(long id)
Delete certificate
|
void |
NXCSession.deleteEventTemplate(long eventCode)
Delete event template.
|
void |
NXCSession.deleteImage(LibraryImage image) |
void |
NXCSession.deleteObject(long objectId)
Delete object
|
void |
NXCSession.deleteObjectTool(long toolId)
Delete object tool.
|
void |
NXCSession.deletePredefinedGraph(long graphId)
Delete predefined graph.
|
void |
NXCSession.deleteReportResults(long reportId,
java.util.Collection<java.lang.Long> resultIdList)
Delete report execution results.
|
void |
NXCSession.deleteScript(long scriptId) |
void |
NXCSession.deleteServerFile(java.lang.String serverFileName)
Delete file from server's file store
|
void |
NXCSession.deleteServerVariable(java.lang.String name) |
void |
NXCSession.deleteSituation(long id)
Delete situation object
|
void |
NXCSession.deleteSituationInstance(long id,
java.lang.String instance)
Delete situation instance
|
void |
NXCSession.deleteSnmpTrapConfiguration(long trapId)
Delete SNMP trap configuration record from server.
|
void |
NXCSession.deleteUserDBObject(long id) |
void |
NXCSession.deployAgentPolicy(long policyId,
long nodeId)
Deploy policy on agent
|
void |
NXCSession.deployPackage(long packageId,
java.lang.Long[] nodeList,
PackageDeploymentListener listener)
Deploy agent packages onto given nodes
|
AgentFile |
NXCSession.downloadFileFromAgent(long nodeId,
java.lang.String remoteFileName,
long maxFileSize,
boolean follow)
Download file from remote host via agent.
|
java.io.File |
NXCSession.downloadFileFromServer(java.lang.String remoteFileName)
Download file from server file storage.
|
java.io.File |
NXCSession.downloadMibFile()
Download MIB file from server.
|
void |
NXCSession.executeAction(long nodeId,
java.lang.String action)
Execute action on remote agent
|
long |
NXCSession.executeReport(long reportId,
java.util.Map<java.lang.String,java.lang.String> parameters)
Execute report.
|
void |
NXCSession.executeServerCommand(long objectId,
java.lang.String command)
Execute server command related to given object (usually defined as object
tool)
|
protected void |
NXCSession.executeSimpleCommand(int command)
Execute simple commands (without arguments and only returning RCC)
|
Table |
NXCSession.executeTableTool(long toolId,
long nodeId)
Execute object tool of "table" type against given node.
|
java.lang.String |
NXCSession.exportConfiguration(java.lang.String description,
long[] events,
long[] traps,
long[] templates,
java.util.UUID[] rules)
Export server configuration.
|
ConnectionPoint |
NXCSession.findConnectionPoint(int zoneId,
java.net.InetAddress ipAddr)
Find connection point (either directly connected or most close known
interface on a switch) for given IP address.
|
ConnectionPoint |
NXCSession.findConnectionPoint(long objectId)
Find connection point (either directly connected or most close known
interface on a switch) for given node or interface object.
|
ConnectionPoint |
NXCSession.findConnectionPoint(MacAddress macAddr)
Find connection point (either directly connected or most close known
interface on a switch) for given MAC address.
|
long |
NXCSession.generateEventCode()
Generate code for new event template.
|
long |
NXCSession.generateObjectToolId()
Generate unique ID for new object tool.
|
java.util.List<ServerAction> |
NXCSession.getActions()
Get list of configured actions from server
|
java.util.List<IpAddressListElement> |
NXCSession.getAddressList(int listId)
Get address list.
|
java.lang.String |
NXCSession.getAgentConfig(long nodeId)
Get agent's master configuration file.
|
Alarm |
NXCSession.getAlarm(long alarmId)
Get information about single active alarm.
|
java.util.List<EventInfo> |
NXCSession.getAlarmEvents(long alarmId)
Get information about events related to single active alarm.
|
java.util.List<AlarmNote> |
NXCSession.getAlarmNotes(long alarmId)
Get list of notes (comments) for given alarm.
|
java.util.HashMap<java.lang.Long,Alarm> |
NXCSession.getAlarms()
Get list of active alarms.
|
java.lang.String |
NXCSession.getAttributeForCurrentUser(java.lang.String name) |
java.util.List<AuthCertificate> |
NXCSession.getCertificateList()
Get list of certificates
|
DciData |
NXCSession.getCollectedData(long nodeId,
long dciId,
java.util.Date from,
java.util.Date to,
int maxRows)
Get collected DCI data from server.
|
DciData |
NXCSession.getCollectedTableData(long nodeId,
long dciId,
java.lang.String instance,
java.lang.String dataColumn,
java.util.Date from,
java.util.Date to,
int maxRows)
Get collected table DCI data from server.
|
long[] |
NXCSession.getDataCollectionEvents(long objectId)
Get all events used in data collection by given node, cluster, or template object.
|
int |
NXCSession.getEffectiveRights(long objectId)
Get effective rights of currently logged in user to given object.
|
EventProcessingPolicy |
NXCSession.getEventProcessingPolicy()
Get read-only copy of ebent processing policy.
|
java.util.List<EventTemplate> |
NXCSession.getEventTemplates()
Get event templates from server
|
LibraryImage |
NXCSession.getImage(java.util.UUID guid) |
java.util.List<LibraryImage> |
NXCSession.getImageLibrary() |
java.util.List<LibraryImage> |
NXCSession.getImageLibrary(java.lang.String category) |
java.util.List<PackageInfo> |
NXCSession.getInstalledPackages()
Get list of installed packages
|
DciValue[] |
NXCSession.getLastValues(long nodeId)
Get last DCI values for given node
|
DciValue[] |
NXCSession.getLastValues(long nodeId,
boolean objectTooltipOnly)
Get last DCI values for given node
|
java.util.Date |
NXCSession.getMibFileTimestamp()
Get timestamp of server's MIB file.
|
NetworkPath |
NXCSession.getNetworkPath(long node1,
long node2)
Get IPv4 network path between two nodes.
|
PhysicalComponent |
NXCSession.getNodePhysicalComponents(long nodeId)
Get node's physical components (obtained from ENTITY-MIB).
|
java.util.List<SoftwarePackage> |
NXCSession.getNodeSoftwarePackages(long nodeId)
Get list of software packages installed on node.
|
java.util.List<WinPerfObject> |
NXCSession.getNodeWinPerfObjects(long nodeId)
Get list of available Windows performance objects.
|
ObjectToolDetails |
NXCSession.getObjectToolDetails(long toolId)
Get object tool details
|
java.util.List<ObjectTool> |
NXCSession.getObjectTools()
Get list of configured object tools
|
PerfTabDci[] |
NXCSession.getPerfTabItems(long nodeId)
Get list of DCIs configured to be shown on performance tab in console for
given node.
|
java.util.List<GraphSettings> |
NXCSession.getPredefinedGraphs()
Get list of predefined graphs.
|
Script |
NXCSession.getScript(long scriptId) |
java.util.List<Script> |
NXCSession.getScriptLibrary() |
java.lang.String |
NXCSession.getServerConfigClob(java.lang.String name)
Get server config CLOB
|
ServerJob[] |
NXCSession.getServerJobList()
Get list of server jobs
|
java.util.Map<java.lang.String,java.lang.Object> |
NXCSession.getServerStats()
Get server stats.
|
java.util.Map<java.lang.String,ServerVariable> |
NXCSession.getServerVariables() |
java.util.List<Situation> |
NXCSession.getSituations()
Get list of all configured situations
|
java.util.List<java.lang.String> |
NXCSession.getSnmpCommunities()
Get list of well-known SNMP communities configured on server.
|
java.util.List<SnmpTrap> |
NXCSession.getSnmpTrapsConfiguration()
Get list of configured SNMP traps
|
java.util.List<SnmpTrap> |
NXCSession.getSnmpTrapsConfigurationSummary()
Get summary of SNMP trap mapping.
|
java.util.List<SnmpUsmCredential> |
NXCSession.getSnmpUsmCredentials()
Get list of well-known SNMP USM (user security model) credentials
configured on server.
|
long[] |
NXCSession.getSubnetAddressMap(long subnetId)
Get address map for subnet.
|
java.util.List<AgentParameter> |
NXCSession.getSupportedParameters(long nodeId)
Get list of parameters supported by agent running on given node.
|
java.util.List<AgentTable> |
NXCSession.getSupportedTables(long nodeId)
Get list of tables supported by agent running on given node.
|
Table |
NXCSession.getTableLastValues(long nodeId,
long dciId)
Get last values for given table DCI on given node
|
Threshold[] |
NXCSession.getThresholds(long nodeId,
long dciId)
Get list of thresholds configured for given DCI
|
java.util.List<ThresholdViolationSummary> |
NXCSession.getThresholdSummary(long objectId)
Get threshold violation summary for all nodes under given parent object.
|
java.util.List<VlanInfo> |
NXCSession.getVlans(long nodeId)
Get list of VLANs configured on given node
|
java.util.List<WirelessStation> |
NXCSession.getWirelessStations(long nodeId)
Get list of wireless stations registered at given wireless controller.
|
void |
NXCSession.holdServerJob(long jobId)
Put server job on hold
|
void |
NXCSession.importConfiguration(java.lang.String config,
int flags)
Import server configuration (events, traps, thresholds) from XML
|
long |
NXCSession.installPackage(PackageInfo info,
java.io.File pkgFile,
ProgressListener listener)
Install (upload) package on server
|
java.util.List<java.util.UUID> |
NXCSession.listReports() |
ServerFile[] |
NXCSession.listServerFiles()
List files in server's file store.
|
ServerFile[] |
NXCSession.listServerFiles(java.lang.String[] filter)
List files in server's file store.
|
void |
NXCSession.lockPackageDatabase()
Lock package database
|
void |
NXCSession.lockUserDatabase() |
void |
NXCSession.modifyAction(ServerAction action)
Modify server action
|
void |
NXCSession.modifyEventTemplate(EventTemplate evt)
Modify event template.
|
void |
NXCSession.modifyImage(LibraryImage image,
ProgressListener listener) |
void |
NXCSession.modifyObject(NXCObjectModificationData data)
Modify object (generic interface, in most cases wrapper functions should
be used instead).
|
void |
NXCSession.modifyObject(NXCObjectModificationData data,
java.lang.Object userData)
Modify object (generic interface, in most cases wrapper functions should
be used instead).
|
void |
NXCSession.modifyObjectTool(ObjectToolDetails tool)
Modify object tool.
|
long |
NXCSession.modifyScript(long scriptId,
java.lang.String name,
java.lang.String source) |
void |
NXCSession.modifySituation(long id,
java.lang.String name,
java.lang.String comments)
Modify situation object.
|
void |
NXCSession.modifySnmpTrapConfiguration(SnmpTrap trap)
Modify SNMP trap configuration record.
|
void |
NXCSession.modifyUserDBObject(AbstractUserObject object) |
void |
NXCSession.modifyUserDBObject(AbstractUserObject object,
int fields) |
void |
NXCSession.openAlarm(long alarmId,
java.lang.String reference)
Set alarm's helpdesk state to "Open".
|
void |
NXCSession.openConsole()
Open server console.
|
DataCollectionConfiguration |
NXCSession.openDataCollectionConfiguration(long nodeId)
Open data collection configuration for given node.
|
EventProcessingPolicy |
NXCSession.openEventProcessingPolicy()
Open event processing policy for editing.
|
Log |
NXCSession.openServerLog(java.lang.String logName)
Open server log by name.
|
void |
NXCSession.pollNode(long nodeId,
int pollType,
NodePollListener listener)
Perform a forced node poll.
|
boolean |
NXCSession.processConsoleCommand(java.lang.String command)
Process console command on server.
|
void |
NXCSession.pushDciData(DciPushData[] data)
Push data to server.
|
void |
NXCSession.pushDciData(long nodeId,
long dciId,
java.lang.String value)
Push value for single DCI.
|
void |
NXCSession.pushDciData(java.lang.String nodeName,
java.lang.String dciName,
java.lang.String value)
Push value for single DCI.
|
Table |
NXCSession.queryAgentTable(long nodeId,
java.lang.String name)
Query agent's table immediately.
|
NetworkMapPage |
NXCSession.queryLayer2Topology(long nodeId)
Query layer 2 topology for node
|
java.lang.String |
NXCSession.queryParameter(long nodeId,
int origin,
java.lang.String name)
Query parameter immediately.
|
Table |
NXCSession.receiveTable(long requestId,
int msgCode)
Receive table from server.
|
void |
NXCSession.removeClusterNode(long clusterId,
long nodeId)
Remove node from cluster.
|
void |
NXCSession.removePackage(long packageId)
Remove agent package from server
|
void |
NXCSession.removeTemplate(long templateId,
long nodeId,
boolean removeDci)
Remove data collection template from node.
|
void |
NXCSession.renameScript(long scriptId,
java.lang.String name) |
void |
NXCSession.resetServerComponent(int component)
Reset server's internal component (defined by SERVER_COMPONENT_xxx)
|
void |
NXCSession.resolveAlarm(long alarmId)
Resolve alarm.
|
java.lang.String[] |
NXCSession.resolveDciNames(java.util.Collection<ConditionDciInfo> dciList)
Resolve names of given DCIs
|
java.lang.String[] |
NXCSession.resolveDciNames(long[] nodeIds,
long[] dciIds)
Resolve names of given DCIs
|
void |
NXCSession.saveEventProcessingPolicy(EventProcessingPolicy epp)
Save event processing policy.
|
long |
NXCSession.saveGraph(GraphSettings graph,
boolean overwrite)
Checks if graph with specified name can be created/overwritten and creates/overwrites it in DB.
|
void |
NXCSession.sendEvent(long eventCode,
java.lang.String[] parameters)
Convenience wrapper for sendEvent interface.
|
void |
NXCSession.sendEvent(long eventCode,
java.lang.String eventName,
long objectId,
java.lang.String[] parameters,
java.lang.String userTag)
Send event to server.
|
void |
NXCSession.sendEvent(java.lang.String eventName,
java.lang.String[] parameters)
Convenience wrapper for sendEvent interface.
|
protected void |
NXCSession.sendFile(long requestId,
byte[] data,
ProgressListener listener)
Send block of data as binary message
|
protected void |
NXCSession.sendFile(long requestId,
java.io.File file,
ProgressListener listener)
Send file over CSCP
|
void |
NXCSession.sendMessage(NXCPMessage msg)
Send message to server
|
void |
NXCSession.sendSMS(java.lang.String phoneNumber,
java.lang.String message)
Send SMS via server.
|
void |
NXCSession.setAddressList(int listId,
java.util.List<IpAddressListElement> list)
Set content of address list.
|
void |
NXCSession.setAlarmFlowState(int state)
Changes state of alarm status flow.
|
void |
NXCSession.setAttributeForCurrentUser(java.lang.String name,
java.lang.String value) |
void |
NXCSession.setObjectACL(long objectId,
AccessListElement[] acl,
boolean inheritAccessRights)
Change object's ACL (wrapper for modifyObject())
|
void |
NXCSession.setObjectCustomAttributes(long objectId,
java.util.Map<java.lang.String,java.lang.String> attrList)
Change object's custom attributes (wrapper for modifyObject())
|
void |
NXCSession.setObjectManaged(long objectId,
boolean isManaged)
Set object's managed status.
|
void |
NXCSession.setObjectName(long objectId,
java.lang.String name)
Change object's name (wrapper for modifyObject())
|
void |
NXCSession.setReportDefinition(long objectId,
java.io.File file)
Change report's definition (wrapper for modifyObject())
|
void |
NXCSession.setReportDefinition(long objectId,
java.lang.String definition)
Change report's definition (wrapper for modifyObject())
|
void |
NXCSession.setServerConfigClob(java.lang.String name,
java.lang.String value)
Set server config CLOB
|
void |
NXCSession.setServerVariable(java.lang.String name,
java.lang.String value) |
void |
NXCSession.setUserPassword(long id,
java.lang.String newPassword,
java.lang.String oldPassword) |
void |
NXCSession.snmpWalk(long nodeId,
java.lang.String rootOid,
SnmpWalkListener listener)
Do SNMP walk.
|
void |
NXCSession.subscribe(int channels)
Subscribe to notification channel(s)
|
void |
NXCSession.syncEventTemplates()
Synchronize event templates configuration.
|
void |
NXCSession.syncMissingObjects(long[] objects,
boolean syncComments)
Synchronize only those objects from given set which are not synchronized yet.
|
void |
NXCSession.syncMissingObjects(long[] objects,
boolean syncComments,
int options)
Synchronize only those objects from given set which are not synchronized yet.
|
void |
NXCSession.syncObjects()
Synchronizes NetXMS objects between server and client.
|
void |
NXCSession.syncObjectSet(long[] objects,
boolean syncComments)
Synchronizes selected object set with the server.
|
void |
NXCSession.syncObjectSet(long[] objects,
boolean syncComments,
int options)
Synchronizes selected object set with the server.
|
void |
NXCSession.syncUserDatabase() |
void |
NXCSession.terminateAlarm(long alarmId)
Terminate alarm.
|
TransformationTestResult |
NXCSession.testTransformationScript(long nodeId,
java.lang.String script,
java.lang.String inputValue)
Test DCI transformation script.
|
void |
NXCSession.unbindObject(long parentId,
long childId)
Unbind object.
|
void |
NXCSession.unholdServerJob(long jobId)
Put server on hold job to pending state
|
void |
NXCSession.uninstallAgentPolicy(long policyId,
long nodeId)
Uninstall policy from agent
|
void |
NXCSession.unlockPackageDatabase()
Unlock package database
|
void |
NXCSession.unlockUserDatabase() |
void |
NXCSession.unsubscribe(int channels)
Unsubscribe from notification channel(s)
|
void |
NXCSession.updateAgentConfig(long nodeId,
java.lang.String config,
boolean apply)
Update agent's master configuration file.
|
void |
NXCSession.updateAlarmNote(long alarmId,
long noteId,
java.lang.String text)
Create or update alarm's note (comment).
|
void |
NXCSession.updateCertificate(long id,
java.lang.String comment)
Update certificate
|
void |
NXCSession.updateObjectComments(long objectId,
java.lang.String comments)
Change object's comments.
|
void |
NXCSession.updateSnmpCommunities(java.util.List<java.lang.String> list)
Update list of well-known SNMP community strings on server.
|
void |
NXCSession.updateSnmpUsmCredentials(java.util.List<SnmpUsmCredential> list)
Update list of well-known SNMP USM credentials on server.
|
long |
NXCSession.uploadFileToAgent(long nodeId,
java.lang.String serverFileName,
java.lang.String remoteFileName,
boolean jobOnHold)
Start file upload from server's file store to agent.
|
void |
NXCSession.uploadFileToServer(java.io.File localFile,
java.lang.String serverFileName,
ProgressListener listener)
Upload local file to server's file store
|
NXCPMessage |
NXCSession.waitForMessage(int code,
long id) |
NXCPMessage |
NXCSession.waitForMessage(int code,
long id,
int timeout) |
NXCPMessage |
NXCSession.waitForRCC(long id) |
NXCPMessage |
NXCSession.waitForRCC(long id,
int timeout) |
void |
NXCSession.wakeupNode(long objectId)
Wakeup node by sending wake-on-LAN magic packet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DataCollectionConfiguration.clearCollectedData(long itemId)
Clear collected data for given DCI.
|
void |
DataCollectionConfiguration.close()
Close data collection configuration.
|
void |
DataCollectionConfiguration.copyObjects(long destNodeId,
long[] items)
Copy data collection objects.
|
long |
DataCollectionConfiguration.createItem()
Create new data collection item.
|
long |
DataCollectionConfiguration.createTable()
Create new data collection table.
|
void |
DataCollectionConfiguration.deleteObject(long itemId)
Delete data collection object.
|
void |
DataCollectionConfiguration.modifyObject(DataCollectionObject dco)
Modify data collection object.
|
void |
DataCollectionConfiguration.modifyObject(long dcObjectId)
Modify data collection object.
|
void |
DataCollectionConfiguration.moveObjects(long destNodeId,
long[] items)
Move data collection objects.
|
void |
DataCollectionConfiguration.open()
Open data collection configuration.
|
void |
DataCollectionConfiguration.setObjectStatus(long[] items,
int status)
Set status of data collection objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Log.close()
Close log
|
void |
Log.query(LogFilter filter)
Send query to server
|
Table |
Log.retrieveData(long startRow,
long rowCount)
Retrieve log data from server.
|
Table |
Log.retrieveData(long startRow,
long rowCount,
boolean refresh)
Retrieve log data from server.
|
| Constructor and Description |
|---|
MibObject(NXCPDataInputStream in,
MibObject parent)
Read MIB object from compiled MIB file
|
MibTree(java.io.File file)
Create MIB tree from compiled MIB file.
|
Copyright © 2014. All Rights Reserved.