void |
NXCSession.acknowledgeAlarm(long alarmId) |
Acknowledge alarm.
|
void |
NXCSession.acknowledgeAlarm(long alarmId,
boolean sticky,
int time) |
Acknowledge alarm.
|
void |
NXCSession.acknowledgeAlarm(String helpdeskReference) |
Acknowledge alarm by helpdesk reference.
|
void |
NXCSession.addClusterNode(long clusterId,
long nodeId) |
Add node to cluster.
|
void |
NXCSession.addRepository(Repository r) |
Add repository.
|
void |
NXCSession.addScheduledTask(ScheduledTask task) |
Add new scheduled task
|
void |
NXCSession.applyTemplate(long templateId,
long nodeId) |
Apply data collection template to node.
|
void |
NXCSession.bindAgentTunnel(int tunnelId,
long nodeId) |
Bind agent tunnel to node
|
void |
NXCSession.bindObject(long parentId,
long childId) |
Bind object.
|
Map<Long,Integer> |
NXCSession.bulkResolveAlarms(List<Long> alarmIds) |
Bulk terminate alarms.
|
Map<Long,Integer> |
NXCSession.bulkTerminateAlarms(List<Long> alarmIds) |
Bulk terminate alarms.
|
void |
NXCSession.cancelFileMonitoring(long nodeId,
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 zoneUIN) |
Move object to different zone.
|
void |
NXCSession.clearAgentDataCollectionConfiguration(long nodeId) |
Clear data collection configuration on agent.
|
void |
NXCSession.clearCollectedData(long nodeId,
long dciId) |
Clear collected data for given DCI
|
void |
NXCSession.closeConsole() |
Close server console.
|
void |
NXCSession.closeEventProcessingPolicy() |
Close event processing policy.
|
ScriptCompilationResult |
NXCSession.compileScript(String source,
boolean serialize) |
Compile NXSL script on server.
|
void |
NXCSession.connect() |
Connect to NetMS server.
|
void |
NXCSession.connect(int[] componentVersions) |
Connect to NetMS server.
|
void |
NXCSession.copyAgentFile(long nodeId,
String oldName,
String newFileName,
boolean overwrite) |
Copy file from agent
|
long |
NXCSession.createAction(String name) |
Create new server action.
|
void |
NXCSession.createAlarmComment(long alarmId,
String text) |
Create alarm comment.
|
void |
NXCSession.createAlarmComment(String helpdeskReference,
String text) |
Create alarm comment by helpdesk reference.
|
void |
NXCSession.createFolderOnAgent(long nodeId,
String folder) |
Create folder on remote system via agent
|
LibraryImage |
NXCSession.createImage(LibraryImage image,
ProgressListener listener) |
Create an image
|
int |
NXCSession.createMappingTable(String name,
String description,
int flags) |
Create new mapping table.
|
void |
NXCSession.createNewCertificate(byte[] data,
String comments) |
Create new certificate
|
void |
NXCSession.createNotificationChannel(NotificationChannel nc) |
Create notification channel
|
long |
NXCSession.createObject(NXCObjectCreationData data) |
Create new NetXMS object.
|
long |
NXCSession.createObject(NXCObjectCreationData data,
Object userData) |
Create new NetXMS object.
|
long |
NXCSession.createSnmpTrapConfiguration() |
Create new trap configuration record.
|
long |
NXCSession.createUser(String name) |
Create user on server
|
void |
NXCSession.createUserAgentNotification(String message,
long[] objects,
Date startTime,
Date endTime,
boolean startup) |
Create new user agent notifications
|
void |
NXCSession.createUserAgentNotification(String message,
Collection<Long> objects,
Date startTime,
Date endTime,
boolean onStartup) |
Create new user agent notifications
|
long |
NXCSession.createUserGroup(String name) |
Create user group on server
|
String[] |
NXCSession.dciIdsToNames(long[] nodeIds,
long[] dciIds) |
Get names for given DCI list
|
String[] |
NXCSession.dciIdsToNames(Collection<ConditionDciInfo> dciList) |
Get names for given DCI list
|
long |
NXCSession.dciNameToId(long nodeId,
String dciName) |
Get DCI ID for given DCI name
|
void |
NXCSession.deleteAction(long actionId) |
Delete server action
|
void |
NXCSession.deleteAgentConfig(long id) |
Delete config with given id.
|
void |
NXCSession.deleteAgentFile(long nodeId,
String fileName) |
Delete file from agent
|
void |
NXCSession.deleteAlarm(long alarmId) |
Delete alarm.
|
void |
NXCSession.deleteAlarmCategory(long id) |
Delete alarm category in DB
|
void |
NXCSession.deleteAlarmComment(long alarmId,
long commentId) |
Delete alarm comment.
|
void |
NXCSession.deleteCertificate(long id) |
Delete certificate
|
void |
NXCSession.deleteDciEntry(long nodeId,
long dciId,
long timestamp) |
Delete collected data entry for given DCI
|
void |
NXCSession.deleteDciSummaryTable(int id) |
Delete DCI summary table.
|
void |
NXCSession.deleteEventTemplate(long eventCode) |
Delete event template.
|
void |
NXCSession.deleteImage(UUID guid) |
Delete an image
|
void |
NXCSession.deleteImage(LibraryImage image) |
Delete an image
|
void |
NXCSession.deleteMappingTable(int id) |
Delete mapping table
|
void |
NXCSession.deleteNotificationChannel(String name) |
Delete notification channel
|
void |
NXCSession.deleteObject(long objectId) |
Delete object
|
void |
NXCSession.deleteObjectTool(long toolId) |
Delete object tool.
|
void |
NXCSession.deletePersistentStorageValue(String key) |
Delete persistent storage value
|
void |
NXCSession.deletePhysicalLink(long linkId) |
Delete physical link.
|
void |
NXCSession.deletePolicy(long templateId,
UUID guid) |
Delete policy
|
void |
NXCSession.deletePredefinedGraph(long graphId) |
Delete predefined graph.
|
void |
NXCSession.deleteReportResult(UUID reportId,
UUID jobId) |
Delete report result
|
void |
NXCSession.deleteReportSchedule(UUID reportId,
UUID jobId) |
Delete report schedule
|
void |
NXCSession.deleteRepository(int id) |
Delete repository.
|
void |
NXCSession.deleteScheduledTask(long taskId) |
Delete scheduled task.
|
void |
NXCSession.deleteScript(long scriptId) |
Delete script from library
|
void |
NXCSession.deleteServerFile(String serverFileName) |
Delete file from server's file store
|
void |
NXCSession.deleteServerVariable(String name) |
Delete server configuration variable
|
void |
NXCSession.deleteSnmpTrapConfiguration(long trapId) |
Delete SNMP trap configuration record from server.
|
void |
NXCSession.deleteUserDBObject(long id) |
Delete user or group on server
|
void |
NXCSession.deleteWebServiceDefinition(int id) |
Delete web service definition.
|
void |
NXCSession.deployAgentPolicy(long policyId,
long nodeId) |
Deploy policy on agent
|
void |
NXCSession.deployPackage(long packageId,
Long[] nodeList,
PackageDeploymentListener listener) |
Deploy agent packages onto given nodes
|
void |
NXCSession.detachUserFromLdap(long userId) |
Detach user from LDAP
|
AgentFileData |
NXCSession.downloadFileFromAgent(long nodeId,
String remoteFileName,
boolean expandMacros,
long alarmId,
Map<String,String> inputValues,
long maxFileSize,
boolean follow,
ProgressListener listener,
ServerJobIdUpdater updateServerJobId) |
Download file from remote host via agent.
|
AgentFileData |
NXCSession.downloadFileFromAgent(long nodeId,
String remoteFileName,
long maxFileSize,
boolean follow,
ProgressListener listener,
ServerJobIdUpdater updateServerJobId) |
Download file from remote host via agent.
|
File |
NXCSession.downloadFileFromServer(String remoteFileName) |
Download file from server file storage.
|
File |
NXCSession.downloadMibFile() |
Download MIB file from server.
|
void |
NXCSession.executeAction(long nodeId,
String action,
String[] args) |
Execute action on remote agent
|
void |
NXCSession.executeAction(long nodeId,
String action,
String[] args,
boolean receiveOutput,
TextOutputListener listener,
Writer writer) |
Execute action on remote agent
|
String |
NXCSession.executeActionWithExpansion(long nodeId,
long alarmId,
String action,
boolean receiveOutput,
Map<String,String> inputValues,
TextOutputListener listener,
Writer writer) |
Execute action on remote agent
|
String |
NXCSession.executeActionWithExpansion(long nodeId,
long alarmId,
String action,
Map<String,String> inputValues) |
Execute action on remote agent
|
void |
NXCSession.executeLibraryScript(long nodeId,
long alarmId,
String script,
Map<String,String> inputFields,
TextOutputListener listener) |
Execute library script on object.
|
void |
NXCSession.executeLibraryScript(long nodeId,
String script,
Map<String,String> inputFields,
TextOutputListener listener) |
Execute library script on object.
|
UUID |
NXCSession.executeReport(UUID reportId,
Map<String,String> parameters) |
Execute a report
|
void |
NXCSession.executeScript(long nodeId,
String script,
TextOutputListener listener) |
Execute script.
|
void |
NXCSession.executeServerCommand(long objectId,
String command,
Map<String,String> inputFields) |
Execute server command related to given object (usually defined as object tool)
|
void |
NXCSession.executeServerCommand(long objectId,
String command,
Map<String,String> inputFields,
boolean receiveOutput,
TextOutputListener listener,
Writer writer) |
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.
|
String |
NXCSession.exportConfiguration(String description,
long[] events,
long[] traps,
long[] templates,
UUID[] rules,
long[] scripts,
long[] objectTools,
long[] dciSummaryTables,
long[] actions) |
Export server configuration.
|
ConnectionPoint |
NXCSession.findConnectionPoint(int zoneId,
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(org.netxms.base.MacAddress macAddr) |
Find connection point (either directly connected or most close known
interface on a switch) for given MAC address.
|
List<DciValue> |
NXCSession.findMatchingDCI(long objectId,
String objectName,
String dciName,
int flags) |
Resolve list of last values by regex
|
List<AbstractNode> |
NXCSession.findNodesByHostname(int zoneId,
String hostname) |
Find all nodes that contain the primary hostname
|
void |
NXCSession.forceDCIPoll(long nodeId,
long dciId) |
Force DCI poll for given DCI
|
void |
NXCSession.forcePolicyInstallation(long templateId) |
Force policy installation on all nodes where template is applied
|
long |
NXCSession.generateEventCode() |
Generate code for new event template.
|
long |
NXCSession.generateObjectToolId() |
Generate unique ID for new object tool.
|
List<ServerAction> |
NXCSession.getActions() |
Get list of configured actions from server
|
List<Threshold> |
NXCSession.getActiveThresholds(List<SingleDciConfig> dciConfig) |
Get active thresholds
|
List<InetAddressListElement> |
NXCSession.getAddressList(int listId) |
Get address list.
|
String |
NXCSession.getAgentConfig(long nodeId) |
Get agent's master configuration file.
|
AgentFileInfo |
NXCSession.getAgentFileInfo(AgentFile file) |
Return information about agent file
|
AgentPolicy |
NXCSession.getAgentPolicy(long templateId,
UUID policyGUID) |
Get agent policy by template id and GUID
|
HashMap<UUID,AgentPolicy> |
NXCSession.getAgentPolicyList(long templateId) |
Returns agent policy list
|
List<AgentTunnel> |
NXCSession.getAgentTunnels() |
Get list of agent tunnels
|
Alarm |
NXCSession.getAlarm(long alarmId) |
Get information about single active alarm.
|
List<AlarmCategory> |
NXCSession.getAlarmCategories() |
Get alarm categories from server
|
List<AlarmComment> |
NXCSession.getAlarmComments(long alarmId) |
Get list of comments for given alarm.
|
List<EventInfo> |
NXCSession.getAlarmEvents(long alarmId) |
Get information about events related to single active alarm.
|
HashMap<Long,Alarm> |
NXCSession.getAlarms() |
Get list of active alarms.
|
String |
NXCSession.getAttributeForCurrentUser(String name) |
Get custom attribute for currently logged in user.
|
List<AuthCertificate> |
NXCSession.getCertificateList() |
Get list of certificates
|
DciData |
NXCSession.getCollectedData(long nodeId,
long dciId,
Date from,
Date to,
int maxRows,
HistoricalDataType valueType) |
Get collected DCI data from server.
|
DciData |
NXCSession.getCollectedTableData(long nodeId,
long dciId,
String instance,
String dataColumn,
Date from,
Date to,
int maxRows) |
Get collected table DCI data from server.
|
ConfigContent |
NXCSession.getConfigContent(long id) |
Saves existing config
|
List<ConfigListElement> |
NXCSession.getConfigList() |
Gets the list of configuration files.(Config id, name and sequence number)
|
long[] |
NXCSession.getDataCollectionEvents(long objectId) |
Get all events used in data collection by given node, cluster, or template object.
|
List<Script> |
NXCSession.getDataCollectionScripts(long objectId) |
Get names of all scripts used in data collection by given node, cluster, or template object.
|
DciSummaryTable |
NXCSession.getDciSummaryTable(int id) |
Get DCI summary table configuration.
|
List<DependentNode> |
NXCSession.getDependentNodes(long nodeId) |
Get list of dependent nodes for given node.
|
List<String> |
NXCSession.getDriverNames() |
Get driver name list
|
int |
NXCSession.getEffectiveRights(long objectId) |
Get effective rights of currently logged in user to given object.
|
EventProcessingPolicy |
NXCSession.getEventProcessingPolicy() |
Get read-only copy of event processing policy.
|
List<EventTemplate> |
NXCSession.getEventTemplates() |
Get event objects from server
|
String |
NXCSession.getHelpdeskIssueUrl(long alarmId) |
Get URL for helpdesk issue associated with given alarm
|
LibraryImage |
NXCSession.getImage(UUID guid) |
Get an image from the library
|
List<LibraryImage> |
NXCSession.getImageLibrary() |
Get the whole image library
|
List<LibraryImage> |
NXCSession.getImageLibrary(String category) |
Get the image library of specific category
|
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,
boolean overviewOnly,
boolean includeNoValueObjects) |
Get last DCI values for given node
|
DciValue[] |
NXCSession.getLastValues(List<SingleDciConfig> dciConfig) |
Get last DCI values for given Single Dci Config list
|
DciValue[] |
NXCSession.getLastValues(Set<MapDCIInstance> mapDcis) |
Get last DCI values for given Map DCI Instance list
|
List<org.netxms.base.GeoLocation> |
NXCSession.getLocationHistory(long objectId,
Date from,
Date to) |
Get location history for given object.
|
MappingTable |
NXCSession.getMappingTable(int id) |
Get list of specific mapping table
|
Date |
NXCSession.getMibFileTimestamp() |
Get timestamp of server's MIB file.
|
NetworkPath |
NXCSession.getNetworkPath(long node1,
long node2) |
Get IPv4 network path between two nodes.
|
List<HardwareComponent> |
NXCSession.getNodeHardwareComponents(long nodeId) |
|
PhysicalComponent |
NXCSession.getNodePhysicalComponents(long nodeId) |
Get node's physical components (obtained from ENTITY-MIB).
|
List<SoftwarePackage> |
NXCSession.getNodeSoftwarePackages(long nodeId) |
Get list of software packages installed on node.
|
List<WinPerfObject> |
NXCSession.getNodeWinPerfObjects(long nodeId) |
Get list of available Windows performance objects.
|
List<NotificationChannel> |
NXCSession.getNotificationChannels() |
Get server notification channels
|
ObjectToolDetails |
NXCSession.getObjectToolDetails(long toolId) |
Get object tool details
|
List<ObjectTool> |
NXCSession.getObjectTools() |
Get list of configured object tools
|
ObjectToolFolder |
NXCSession.getObjectToolsAsTree() |
|
PerfTabDci[] |
NXCSession.getPerfTabItems(long nodeId) |
Get list of DCIs configured to be shown on performance tab in console for
given node.
|
HashMap<String,String> |
NXCSession.getPersistentStorageList() |
Get list of all values in persistent storage
|
List<PhysicalLink> |
NXCSession.getPhysicalLinks(long objectId,
long patchPanelId) |
Get list of physical links filtered by provided options
|
GraphSettings |
NXCSession.getPredefinedGraph(long graphId) |
Get predefined graph infromation by graph id
|
List<GraphSettings> |
NXCSession.getPredefinedGraphs(boolean graphTemplates) |
Get list of predefined graphs or graph templates
|
GraphFolder |
NXCSession.getPredefinedGraphsAsTree() |
|
DciData |
NXCSession.getPredictedData(long nodeId,
long dciId,
Date from,
Date to) |
Get predicted DCI data from server.
|
List<PredictionEngine> |
NXCSession.getPredictionEngines() |
Get list of registered prediction engines
|
String |
NXCSession.getPublicServerVariable(String name) |
Get server public configuration variable
|
boolean |
NXCSession.getPublicServerVariableAsBoolean(String name) |
Get server public configuration variable as boolen value
|
int |
NXCSession.getPublicServerVariableAsInt(String name) |
Get server public configuration variable as a int
|
ReportDefinition |
NXCSession.getReportDefinition(UUID reportId) |
Get the report definition
|
List<Repository> |
NXCSession.getRepositories() |
Get list of configured repositories
|
List<Route> |
NXCSession.getRoutingTable(long nodeId) |
Get routing table from node
|
List<ScheduledTask> |
NXCSession.getScheduledTasks() |
Get list of scheduled tasks.
|
List<String> |
NXCSession.getScheudledTaskHandlers() |
Get list of available scheduled task handlers.
|
Script |
NXCSession.getScript(long scriptId) |
Get script from library
|
List<Script> |
NXCSession.getScriptLibrary() |
Get list of all scripts in script library.
|
String |
NXCSession.getServerConfigClob(String name) |
Get server config CLOB
|
ServerJob[] |
NXCSession.getServerJobList() |
Get list of server jobs
|
Map<String,Object> |
NXCSession.getServerStats() |
Get server stats.
|
Map<String,ServerVariable> |
NXCSession.getServerVariables() |
Get server configuration variables
|
Map<Integer,List<String>> |
NXCSession.getSnmpCommunities() |
Get list of well-known SNMP communities configured on server.
|
List<SnmpTrap> |
NXCSession.getSnmpTrapsConfiguration() |
Get list of configured SNMP traps
|
List<SnmpTrap> |
NXCSession.getSnmpTrapsConfigurationSummary() |
Get summary of SNMP trap mapping.
|
Map<Integer,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.
|
List<AgentParameter> |
NXCSession.getSupportedParameters(long nodeId) |
Get list of parameters supported by agent running on given node.
|
List<AgentParameter> |
NXCSession.getSupportedParameters(long nodeId,
int origin) |
Get list of parameters supported by entity defined by origin on given node.
|
List<AgentTable> |
NXCSession.getSupportedTables(long nodeId) |
Get list of tables supported by agent running on given node.
|
List<FdbEntry> |
NXCSession.getSwitchForwardingDatabase(long nodeId) |
Get switch forwarding database (MAC address table) from 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
|
List<ThresholdViolationSummary> |
NXCSession.getThresholdSummary(long objectId) |
Get threshold violation summary for all nodes under given parent object.
|
List<UserAgentNotification> |
NXCSession.getUserAgentNotifications() |
Get user agent notifications list
|
List<VlanInfo> |
NXCSession.getVlans(long nodeId) |
Get list of VLANs configured on given node
|
List<WebServiceDefinition> |
NXCSession.getWebServiceDefinitions() |
Get configured web service definitions.
|
List<WirelessStation> |
NXCSession.getWirelessStations(long nodeId) |
Get list of wireless stations registered at given wireless controller.
|
List<ZmqSubscription> |
NXCSession.getZmqSubscriptions(ZmqSubscriptionType type) |
Get subscriptions for ZMQ data forwarder
|
void |
NXCSession.holdServerJob(long jobId) |
Put server job on hold
|
void |
NXCSession.importConfiguration(String config,
int flags) |
Import server configuration (events, traps, thresholds) from XML
|
long |
NXCSession.installPackage(PackageInfo info,
File pkgFile,
ProgressListener listener) |
Install (upload) package on server
|
List<AgentFile> |
NXCSession.listAgentFiles(AgentFile file,
String fullPath,
long objectId) |
List files on agent file store.
|
List<DciSummaryTableDescriptor> |
NXCSession.listDciSummaryTables() |
Get list of all configured DCI summary tables
|
List<MappingTableDescriptor> |
NXCSession.listMappingTables() |
Get list of all configured mapping tables.
|
List<ReportResult> |
NXCSession.listReportResults(UUID reportId) |
List report results
|
List<UUID> |
NXCSession.listReports() |
List reports
|
List<ReportingJob> |
NXCSession.listScheduledJobs(UUID reportId) |
List scheduled jobs
|
ServerFile[] |
NXCSession.listServerFiles() |
List files in server's file store.
|
ServerFile[] |
NXCSession.listServerFiles(String[] filter) |
List files in server's file store.
|
void |
NXCSession.lockUserDatabase() |
Lock user database
|
void |
NXCSession.login(String login,
String password) |
Login to server using login name and password.
|
void |
NXCSession.login(String login,
Certificate certificate,
Signature signature) |
Login to server using certificate.
|
void |
NXCSession.login(AuthenticationType authType,
String login,
String password,
Certificate certificate,
Signature signature) |
Login to server.
|
void |
NXCSession.modifyAction(ServerAction action) |
Modify server action
|
long |
NXCSession.modifyAlarmCategory(AlarmCategory object) |
Add or update alarm category in DB
|
int |
NXCSession.modifyDciSummaryTable(DciSummaryTable table) |
Modify DCI summary table configuration.
|
void |
NXCSession.modifyEventObject(EventTemplate tmpl) |
Modify event template.
|
void |
NXCSession.modifyImage(LibraryImage image,
ProgressListener listener) |
Modify an image
|
void |
NXCSession.modifyObject(NXCObjectModificationData data) |
Modify object (generic interface, in most cases wrapper functions should
be used instead).
|
void |
NXCSession.modifyObject(NXCObjectModificationData data,
Object userData) |
Modify object (generic interface, in most cases wrapper functions should
be used instead).
|
void |
NXCSession.modifyObjectTool(ObjectToolDetails tool) |
Modify object tool.
|
void |
NXCSession.modifyRepository(Repository r) |
Modify repository.
|
long |
NXCSession.modifyScript(long scriptId,
String name,
String source) |
Modify script.
|
void |
NXCSession.modifySnmpTrapConfiguration(SnmpTrap trap) |
Modify SNMP trap configuration record.
|
void |
NXCSession.modifyUserDBObject(AbstractUserObject object) |
Modify user database object
|
void |
NXCSession.modifyUserDBObject(AbstractUserObject object,
int fields) |
Modify user database object
|
int |
NXCSession.modifyWebServiceDefinition(WebServiceDefinition definition) |
Modify (or create new) web service definition.
|
void |
NXCSession.moveAgentFile(long nodeId,
String oldName,
String newFileName,
boolean overwrite) |
Move file from agent
|
void |
NXCSession.onPolicyEditorClose(long templateId) |
Command sent on policyEditor close to send updates to all applied nodes
|
void |
NXCSession.openConsole() |
Open server console.
|
DataCollectionConfiguration |
NXCSession.openDataCollectionConfiguration(long nodeId) |
Open data collection configuration for given node.
|
DataCollectionConfiguration |
NXCSession.openDataCollectionConfiguration(long nodeId,
DataCollectionConfigurationChangeListener changeListener) |
Open data collection configuration for given node.
|
EventProcessingPolicy |
NXCSession.openEventProcessingPolicy() |
Open event processing policy for editing.
|
String |
NXCSession.openHelpdeskIssue(long alarmId) |
Open issue in helpdesk system from given alarm
|
Log |
NXCSession.openServerLog(String logName) |
Open server log by name.
|
void |
NXCSession.pollNode(long nodeId,
NodePollType pollType,
TextOutputListener listener) |
Perform a forced node poll.
|
boolean |
NXCSession.processConsoleCommand(String command) |
Process console command on server.
|
void |
NXCSession.pushDciData(long nodeId,
long dciId,
String value) |
Push value for single DCI.
|
void |
NXCSession.pushDciData(String nodeName,
String dciName,
String value) |
Push value for single DCI.
|
void |
NXCSession.pushDciData(DciPushData[] data) |
Push data to server.
|
Table |
NXCSession.queryAdHocDciSummaryTable(long baseObjectId,
List<DciSummaryTableColumn> columns,
AggregationFunction function,
Date periodStart,
Date periodEnd,
boolean multiInstance) |
Query ad-hoc DCI summary table.
|
Table |
NXCSession.queryAgentTable(long nodeId,
String name) |
Query agent's table immediately.
|
Table |
NXCSession.queryDciSummaryTable(int tableId,
long baseObjectId) |
Query DCI summary table.
|
NetworkMapPage |
NXCSession.queryInternalConnectionTopology(long nodeId) |
Query internal connection topology for node
|
NetworkMapPage |
NXCSession.queryLayer2Topology(long nodeId) |
Query layer 2 topology for node
|
List<ObjectQueryResult> |
NXCSession.queryObjectDetails(String query,
List<String> properties,
List<String> orderBy,
int limit) |
Query objects on server side and read certain object properties.
|
List<AbstractObject> |
NXCSession.queryObjects(String query) |
Query objects on server side
|
String |
NXCSession.queryParameter(long nodeId,
int origin,
String name) |
Query parameter immediately.
|
long |
NXCSession.recalculateDCIValues(long objectId,
long dciId) |
Start recalculation of DCI values using preserver raw values.
|
void |
NXCSession.recallUserAgentNotification(long id) |
Recall user agent notification
|
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.renameAgentFile(long nodeId,
String oldName,
String newFileName,
boolean overwrite) |
Rename agent's file
|
void |
NXCSession.renameNotificaiotnChannel(String name,
String newName) |
Rename notification channel
|
void |
NXCSession.renameScript(long scriptId,
String name) |
Rename script in script library.
|
File |
NXCSession.renderReport(UUID reportId,
UUID jobId,
ReportRenderFormat format) |
Render report
|
void |
NXCSession.resetServerComponent(int component) |
Reset server's internal component (defined by SERVER_COMPONENT_xxx)
|
void |
NXCSession.resolveAlarm(long alarmId) |
Resolve alarm.
|
void |
NXCSession.resolveAlarm(String helpdeskReference) |
Resolve alarm by helpdesk reference.
|
void |
NXCSession.resyncAgentDataCollectionConfiguration(long nodeId) |
Force re-synchronization of data collection configuration with agent.
|
void |
NXCSession.saveAgentConfig(ConfigContent conf) |
Saves or creates new agent's config
|
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.
|
UUID |
NXCSession.savePolicy(long templateId,
AgentPolicy currentlySelectedElement,
boolean duplicate) |
Saves new or updated policy
|
void |
NXCSession.scheduleReport(ReportingJob job,
Map<String,String> parameters) |
Schedule a report
|
void |
TcpProxy.send(byte[] data) |
Send data to destination
|
void |
NXCSession.sendEvent(long eventCode,
String[] parameters) |
Convenience wrapper for sendEvent interface.
|
void |
NXCSession.sendEvent(long eventCode,
String eventName,
long objectId,
String[] parameters,
String userTag) |
Send event to server.
|
void |
NXCSession.sendEvent(String eventName,
String[] parameters) |
Convenience wrapper for sendEvent interface.
|
protected void |
NXCSession.sendFile(long requestId,
byte[] data,
ProgressListener listener,
boolean allowStreamCompression) |
Send block of data as binary message
|
protected void |
NXCSession.sendFile(long requestId,
File file,
ProgressListener listener,
boolean allowStreamCompression) |
Send file over NXCP
|
void |
NXCSession.sendMessage(org.netxms.base.NXCPMessage msg) |
Send message to server
|
void |
NXCSession.sendNotification(String channelName,
String phoneNumber,
String subject,
String message) |
Send Notification via server.
|
void |
NXCSession.setAddressList(int listId,
List<InetAddressListElement> list) |
Set content of address list.
|
void |
NXCSession.setAlarmFlowState(int state) |
Changes state of alarm status flow.
|
void |
NXCSession.setAttributeForCurrentUser(String name,
String value) |
Set custom attribute for currently logged in user.
|
void |
NXCSession.setDefaultServerValues(List<ServerVariable> varList) |
Set server configuration variables to default
|
void |
NXCSession.setObjectACL(long objectId,
AccessListElement[] acl,
boolean inheritAccessRights) |
Change object's ACL (wrapper for modifyObject())
|
void |
NXCSession.setObjectCustomAttributes(long objectId,
Map<String,CustomAttribute> attrList) |
Change object's custom attributes (wrapper for modifyObject())
|
void |
NXCSession.setObjectMaintenanceMode(long objectId,
boolean inMaintenance) |
Set maintenance mode for object
|
void |
NXCSession.setObjectMaintenanceMode(long objectId,
boolean inMaintenance,
String comments) |
Set maintenance mode for object
|
void |
NXCSession.setObjectManaged(long objectId,
boolean isManaged) |
Set object's managed status.
|
void |
NXCSession.setObjectName(long objectId,
String name) |
Change object's name (wrapper for modifyObject())
|
void |
NXCSession.setPersistentStorageValue(String key,
String value) |
Set persistent storage value.
|
void |
NXCSession.setServerConfigClob(String name,
String value) |
Set server config CLOB
|
void |
NXCSession.setServerVariable(String name,
String value) |
Set server configuration variable
|
TcpProxy |
NXCSession.setupTcpProxy(long nodeId,
InetAddress address,
int port) |
Setup new TCP proxy channel.
|
void |
NXCSession.setUserPassword(long id,
String newPassword,
String oldPassword) |
Set password for user
|
void |
NXCSession.snmpWalk(long nodeId,
String rootOid,
SnmpWalkListener listener) |
Do SNMP walk.
|
void |
NXCSession.startManualActiveDiscovery(List<InetAddressListElement> list) |
Start active discovery for provided list manually
|
void |
NXCSession.stopServerCommand(long commandId) |
Stop server command
|
void |
NXCSession.subscribe(String channel) |
Subscribe to notification channel.
|
void |
NXCSession.subscribeToUserDBUpdates() |
Subscribe to user change notifications
|
List<String> |
NXCSession.substitureMacross(ObjectContextBase[] context,
String textToExpand,
Map<String,String> inputValues) |
Substitute macross in many constexts for one string
|
List<String> |
NXCSession.substitureMacross(ObjectContextBase context,
List<String> textsToExpand,
Map<String,String> inputValues) |
Substitute macross in may strings and one context
|
void |
NXCSession.swapAgentConfigs(long id1,
long id2) |
Swaps 2 configs sequence numbers
|
void |
NXCSession.syncAlarmCategories() |
Synchronize alarm category configuration.
|
void |
NXCSession.syncChildren(AbstractObject object) |
Sync children of given object.
|
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.syncMissingObjects(List<Long> relatedOpbjects,
boolean syncComments,
int options) |
Synchronize only those objects from given set which are not synchronized yet.
|
boolean |
NXCSession.syncMissingUsers(Long[] userList) |
Synchronize only objects that were not yet synchronized
|
void |
NXCSession.syncObjects() |
Synchronizes NetXMS objects between server and client.
|
void |
NXCSession.syncObjects(boolean syncNodeComponents) |
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() |
Synchronize user database and subscribe to user change notifications
|
void |
NXCSession.syncUserSet(Long[] userList) |
Synchronize users by id if does not exist
|
byte[] |
NXCSession.takeScreenshot(long nodeId,
String sessionName) |
Take screenshot from given node.
|
void |
NXCSession.terminateAlarm(long alarmId) |
Terminate alarm.
|
void |
NXCSession.terminateAlarm(String helpdeskReference) |
Terminate alarm by helpdesk reference.
|
TransformationTestResult |
NXCSession.testTransformationScript(long nodeId,
String script,
String inputValue,
DataCollectionObject dcObject) |
Test DCI transformation script.
|
void |
NXCSession.unbindAgentTunnel(long nodeId) |
Unbind agent tunnel to node
|
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.unlinkHelpdeskIssue(long alarmId) |
Unlink helpdesk issue from alarm.
|
void |
NXCSession.unlinkHelpdeskIssue(String helpdeskReference) |
Unlink helpdesk issue from alarm.
|
void |
NXCSession.unlockUserDatabase() |
Unlock user database
|
void |
NXCSession.unsubscribe(String channel) |
Unsubscribe from notification channel.
|
void |
NXCSession.updateAgentConfig(long nodeId,
String config,
boolean apply) |
Update agent's master configuration file.
|
void |
NXCSession.updateAlarmComment(long alarmId,
long commentId,
String text) |
Update alarm comment.
|
void |
NXCSession.updateCertificate(long id,
String comment) |
Update certificate
|
int |
NXCSession.updateMappingTable(MappingTable table) |
Create or update mapping table.
|
void |
NXCSession.updateNotificationChannel(NotificationChannel nc) |
Update notification channel
|
void |
NXCSession.updateObjectComments(long objectId,
String comments) |
Change object's comments.
|
void |
NXCSession.updatePhysicalLink(PhysicalLink link) |
Create new or update existing physical link
|
void |
NXCSession.updateScheduledTask(ScheduledTask task) |
Update existing scheduled task.
|
void |
NXCSession.updateSnmpCommunities(Map<Integer,List<String>> map) |
Update list of well-known SNMP community strings on server.
|
void |
NXCSession.updateSnmpUsmCredentials(Map<Integer,List<SnmpUsmCredential>> map) |
Update list of well-known SNMP USM credentials on server.
|
void |
NXCSession.updateZmqDataSubscription(long objectId,
long dciId,
boolean subscribe) |
Manage subscription for ZMQ data forwarder
|
void |
NXCSession.updateZmqEventSubscription(long objectId,
long dciId,
boolean subscribe) |
Manage subscription for ZMQ event forwarder
|
long |
NXCSession.uploadFileToAgent(long nodeId,
String serverFileName,
String remoteFileName,
boolean jobOnHold) |
Start file upload from server's file store to agent.
|
void |
NXCSession.uploadFileToServer(File localFile,
String serverFileName,
ProgressListener listener) |
Upload local file to server's file store
|
void |
NXCSession.uploadLocalFileToAgent(long nodeId,
File localFile,
String remoteFileName,
boolean overwrite,
ProgressListener listener) |
Upload local file to remote node via agent.
|
boolean |
NXCSession.validateUserPassword(String password) |
Validate password for currently logged in user
|
org.netxms.base.NXCPMessage |
NXCSession.waitForMessage(int code,
long id) |
Wait for message with specific code and id.
|
org.netxms.base.NXCPMessage |
NXCSession.waitForMessage(int code,
long id,
int timeout) |
Wait for message with specific code and id.
|
org.netxms.base.NXCPMessage |
NXCSession.waitForRCC(long id) |
Wait for CMD_REQUEST_COMPLETED message with given id using default timeout
|
org.netxms.base.NXCPMessage |
NXCSession.waitForRCC(long id,
int timeout) |
Wait for CMD_REQUEST_COMPLETED message with given id
|
void |
NXCSession.wakeupNode(long objectId) |
Wakeup node by sending wake-on-LAN magic packet.
|