Uses of Class
org.netxms.client.NXCException
Packages that use NXCException
Package
Description
- 
Uses of NXCException in org.netxms.clientMethods in org.netxms.client that throw NXCExceptionModifier and TypeMethodDescriptionvoidNXCSession.acknowledgeAlarm(long alarmId) Acknowledge alarm.voidNXCSession.acknowledgeAlarm(long alarmId, boolean sticky, int time) Acknowledge alarm.voidNXCSession.acknowledgeAlarm(String helpdeskReference) Acknowledge alarm by helpdesk reference.voidNXCSession.addClusterNode(long clusterId, long nodeId) Add node to cluster.voidNXCSession.addRepository(Repository r) Add repository.voidNXCSession.addScheduledTask(ScheduledTask task) Add new scheduled taskvoidNXCSession.addWirelessDomainController(long wirelessDomainId, long nodeId) Add controller node to wireless domain.voidNXCSession.applyTemplate(long templateId, long nodeId) Apply data collection template to node.voidNXCSession.autoLinkNetworkMapNodes(long mapId, Collection<Long> nodes) Auto link nodes based on L2 topology informationvoidNXCSession.bindAgentTunnel(int tunnelId, long nodeId) Bind agent tunnel to nodevoidNXCSession.bindObject(long parentId, long childId) Bind object.NXCSession.bulkResolveAlarms(List<Long> alarmIds) Bulk terminate alarms.NXCSession.bulkTerminateAlarms(List<Long> alarmIds) Bulk terminate alarms.NXCSession.callAiAssistantFunction(String name, String arguments) Call AI assistant function.voidNXCSession.cancelFileMonitoring(UUID monitorId) Cancel file monitoringvoidNXCSession.cancelPackageDeploymentJob(long jobId) long[]NXCSession.changeDCIStatus(long ownerId, long[] items, DataCollectionObjectStatus status) Change data collection objects status without opening data collection configuration.voidNXCSession.changeObjectZone(long objectId, int zoneUIN) Move object to different zone.voidNXCSession.clearAgentDataCollectionConfiguration(long nodeId) Clear data collection configuration on agent.voidNXCSession.clearAiAssistantChat()Clear AI assistant chat history.voidNXCSession.clearCollectedData(long nodeId, long dciId) Clear collected data for given DCIvoidNXCSession.clearInterfacePeer(long interfaceId) Clear peer interface information.voidNXCSession.cloneNetworkMap(long mapId, String newObjectName, String alias) Create network map clonevoidNXCSession.closeConsole()Close server console.voidNXCSession.closeEventProcessingPolicy()Close event processing policy.voidNXCSession.compileMibs(Consumer<MibCompilationLogEntry> outputCallback) Compile MIBsNXCSession.compileScript(String source, boolean serialize) Compile NXSL script on server.voidNXCSession.connect()Connect to NetMS server.voidNXCSession.connect(int[] componentVersions) Connect to NetMS server.voidNXCSession.copyAgentFile(long nodeId, String oldName, String newFileName, boolean overwrite) Copy file from agentlongNXCSession.createAction(String name) Create new server action.voidNXCSession.createAlarmComment(long alarmId, String text) Create alarm comment.voidNXCSession.createAlarmComment(String helpdeskReference, String text) Create alarm comment by helpdesk reference.voidNXCSession.createAssetAttribute(AssetAttribute attribute) Create asset attribute (definition in asset management schema)..voidNXCSession.createFolderOnAgent(long nodeId, String folder) Create folder on remote system via agentNXCSession.createImage(LibraryImage image, ProgressListener listener) Create an imagevoidNXCSession.createMaintenanceEntry(long objectId, String description) Create new maintenance journal entry for specified objectintNXCSession.createMappingTable(String name, String description, int flags) Create new mapping table.voidNXCSession.createNotificationChannel(NotificationChannel nc) Create notification channellongNXCSession.createObject(NXCObjectCreationData data) Create new NetXMS object.longNXCSession.createObject(NXCObjectCreationData data, Object userData) Create new NetXMS object.longNXCSession.createObjectAsync(NXCObjectCreationData data, ObjectCreationListener callback) Create new NetXMS object and run callback once it's created.NXCSession.createObjectSync(NXCObjectCreationData data) Create new NetXMS object in synchronous mode.longNXCSession.createSnmpTrapConfiguration()Create new trap configuration record.intNXCSession.createUser(String name) Create user on servervoidNXCSession.createUserAgentNotification(String message, long[] objects, Date startTime, Date endTime, boolean onStartup) Create new user support application notificationsvoidNXCSession.createUserAgentNotification(String message, Collection<Long> objects, Date startTime, Date endTime, boolean onStartup) Create new user support application notificationsintNXCSession.createUserGroup(String name) Create user group on serverNXCSession.dciIdsToNames(Collection<? extends NodeItemPair> itemList) Get names for given DCI listNXCSession.dciIdsToNames(List<Long> nodeIds, List<Long> dciIds) Get names for given DCI listlongNXCSession.dciNameToId(long nodeId, String dciName) Get DCI ID for given DCI namevoidNXCSession.delete2FAMethod(String name) Delete two-factor authentication method.voidNXCSession.deleteAction(long actionId) Delete server actionvoidNXCSession.deleteAgentConfig(long id) Delete server side agent configuration.voidNXCSession.deleteAgentFile(long nodeId, String fileName) Delete file from agentvoidNXCSession.deleteAlarm(long alarmId) Delete alarm.voidNXCSession.deleteAlarmCategory(long id) Delete alarm category in DBvoidNXCSession.deleteAlarmComment(long alarmId, long commentId) Delete alarm comment.voidNXCSession.deleteAssetAttribute(String name) Delete asset attribute (definition in asset management schema).voidNXCSession.deleteAssetProperty(long objectId, String name) Delete asset property.voidNXCSession.deleteBusinessServiceCheck(long businessServiceid, long checkId) Delete check form businsess servicevoidNXCSession.deleteDciEntry(long nodeId, long dciId, long timestamp) Delete collected data entry for given DCIvoidNXCSession.deleteDciSummaryTable(int id) Delete DCI summary table.voidNXCSession.deleteEventTemplate(long eventCode) Delete event template.voidNXCSession.deleteGeoArea(int areaId, boolean forceDelete) Delete geographical area.voidNXCSession.deleteImage(UUID guid) Delete an imagevoidNXCSession.deleteImage(LibraryImage image) Delete an imagevoidNXCSession.deleteMappingTable(int id) Delete mapping tablevoidNXCSession.deleteMibFile(String serverFileName) Delete custom MIB file from server's file storevoidNXCSession.deleteNotificationChannel(String name) Delete notification channelvoidNXCSession.deleteObject(long objectId) Delete objectvoidNXCSession.deleteObjectCategory(int categoryId, boolean forceDelete) Delete object category.voidNXCSession.deleteObjectQuery(int queryId) Delete predefined object query.voidNXCSession.deleteObjectTool(long toolId) Delete object tool.voidNXCSession.deletePersistentStorageValue(String key) Delete persistent storage valuevoidNXCSession.deletePhysicalLink(long linkId) Delete physical link.voidNXCSession.deletePolicy(long templateId, UUID guid) Delete policyvoidNXCSession.deletePredefinedGraph(long graphId) Delete predefined graph.voidNXCSession.deleteReportResult(UUID reportId, UUID jobId) Delete report resultvoidNXCSession.deleteRepository(int id) Delete repository.voidNXCSession.deleteScheduledTask(long taskId) Delete scheduled task.voidNXCSession.deleteScript(long scriptId) Delete script from libraryvoidNXCSession.deleteServerFile(String serverFileName) Delete file from server's file storevoidNXCSession.deleteServerVariable(String name) Delete server configuration variablevoidNXCSession.deleteSnmpTrapConfiguration(long trapId) Delete SNMP trap configuration record from server.voidNXCSession.deleteSshKey(int id, boolean force) Delete SSH key.voidNXCSession.deleteUserDBObject(int id) Delete user or group on servervoidNXCSession.deleteWebServiceDefinition(int id) Delete web service definition.voidNXCSession.deployAgentPolicy(long policyId, long nodeId) Deploy policy on agentvoidNXCSession.deployPackage(long packageId, Collection<Long> nodeList) Deploy agent packages onto given nodesvoidNXCSession.detachUserFromLdap(int userId) Detach user from LDAPNXCSession.downloadFileFromAgent(long nodeId, String remoteFileName, boolean expandMacros, long alarmId, Map<String, String> inputValues, long maxFileSize, boolean follow, ProgressListener listener) Download file from remote host via agent.NXCSession.downloadFileFromAgent(long nodeId, String remoteFileName, long maxFileSize, boolean follow, ProgressListener listener) Download file from remote host via agent.NXCSession.downloadFileFromServer(String remoteFileName) Download file from server file storage.NXCSession.downloadMibFile()Download MIB file from server.voidNXCSession.editMaintenanceEntry(long objectId, long entryId, String description) Edit specified maintenance journal entry for specified objectNXCSession.enableAnonymousObjectAccess(long objectId) Enable anonymous access to object.voidNXCSession.enableObjectTool(long toolId, boolean enable) Enable or disable object tool/voidNXCSession.executeAction(long nodeId, String action, String[] args) Execute action on remote agentvoidNXCSession.executeAction(long nodeId, String action, String[] args, boolean receiveOutput, TextOutputListener listener, Writer writer) Execute action on remote agentNXCSession.executeActionWithExpansion(long nodeId, long alarmId, String action, boolean receiveOutput, Map<String, String> inputValues, List<String> maskedFields, TextOutputListener listener, Writer writer) Execute action on remote agentNXCSession.executeActionWithExpansion(long nodeId, long alarmId, String action, Map<String, String> inputValues, List<String> maskedFields) Execute action on remote agentvoidNXCSession.executeLibraryScript(long objectId, long alarmId, String script, Map<String, String> inputFields, List<String> maskedFields, TextOutputListener listener) Execute library script on object.voidNXCSession.executeLibraryScript(long nodeId, String script, Map<String, String> inputFields, List<String> maskedFields, TextOutputListener listener) Execute library script on object.NXCSession.executeReport(ReportingJobConfiguration jobConfiguration) Execute a reportvoidNXCSession.executeScript(long objectId, String script, String parameters, TextOutputListener listener) Execute script.voidNXCSession.executeScript(long objectId, String script, String parameters, TextOutputListener listener, boolean developmentMode) Execute script.voidNXCSession.executeScript(long objectId, String script, List<String> parameterList, TextOutputListener listener) Execute script.voidNXCSession.executeScript(long objectId, String script, List<String> parameterList, TextOutputListener listener, boolean developmentMode) Execute script.NXCSession.executeScriptedComparisonChartElement(long dashboardId, long elementId, long objectId) Execute dashboard script and get return value as map.voidNXCSession.executeServerCommand(long objectId, long alarmId, String command, Map<String, String> inputFields, List<String> maskedFields) Execute server command related to given object (usually defined as object tool)voidNXCSession.executeServerCommand(long objectId, long alarmId, String command, Map<String, String> inputFields, List<String> maskedFields, boolean receiveOutput, TextOutputListener listener, Writer writer) Execute server command related to given object (usually defined as object tool)protected voidNXCSession.executeSimpleCommand(int command) Execute simple commands (without arguments and only returning RCC)voidNXCSession.executeSshCommand(long nodeId, long alarmId, String command, Map<String, String> inputFields, List<String> maskedFields, boolean receiveOutput, TextOutputListener listener, Writer writer) Execute SSH command on remote agentNXCSession.executeTableTool(long toolId, long nodeId) Execute object tool of "table" type against given node.NXCSession.exportConfiguration(String description, long[] events, long[] traps, long[] templates, UUID[] rules, long[] scripts, long[] objectTools, long[] dciSummaryTables, long[] actions, long[] webServices, String[] assetAttributes) Export server configuration.NXCSession.findConnectionPoint(int zoneId, InetAddress ipAddr) Find connection point (either directly connected or most close known interface on a switch) for given IP address.NXCSession.findConnectionPoint(long objectId) Find connection point (either directly connected or most close known interface on a switch) for given node or interface object.NXCSession.findConnectionPoint(MacAddress macAddr) Find node and/or connection point (either directly connected or most close known interface on a switch) for given MAC address.NXCSession.findConnectionPoints(byte[] pattern, int searchLimit) Find nodes and/or connection points (either directly connected or most close known interface on a switch) for all MAC addresses that match given MAC address pattern.DciValue[]Send request for last values using prepared messageNXCSession.findMatchingDCI(long objectId, String objectName, String dciName, int flags) Find all DCIs matching given creteria.NXCSession.findNodesByHostname(int zoneId, String hostname) Find all nodes that contain the primary hostnamelongNXCSession.findProxyForNode(long nodeId) Find suitable proxy for given node.voidNXCSession.forceDCIPoll(long nodeId, long dciId) Force DCI poll for given DCIvoidNXCSession.forcePolicyInstallation(long templateId) Force policy installation on all nodes where template is appliedlongNXCSession.generateEventCode()Generate code for new event template.longNXCSession.generateObjectToolId()Generate unique ID for new object tool.voidNXCSession.generateSshKeys(String name) Generate new SSH keys .NXCSession.get2FADrivers()Get list of available two-factor authentication drivers.NXCSession.get2FAMethods()Get list of configured two-factor authentication methods.NXCSession.getActions()Get list of configured actions from serverNXCSession.getActiveThresholds(List<MapDataSource> dciConfig) Get active thresholdsNXCSession.getAddressList(int listId) Get address list.NXCSession.getAgentConfiguration(long id) Get server side agent configurationNXCSession.getAgentConfigurations()Gets the list of configuration files.(Config id, name and sequence number)NXCSession.getAgentFileFingerprint(long nodeId, String remoteFileName) Get file fingerprint from remote host via agent.NXCSession.getAgentFileInfo(AgentFile file) Return information about agent fileNXCSession.getAgentPolicy(long templateId, UUID policyGUID) Get agent policy by template id and GUIDNXCSession.getAgentPolicyList(long templateId) Returns agent policy listNXCSession.getAgentSharedSecrets()Get agent shared secret list (global and all zones).NXCSession.getAgentSharedSecrets(int zoneUIN) Get agent shared secret list for specific zone.NXCSession.getAgentTunnels()Get list of agent tunnelsNXCSession.getAiAssistantFunctions()Get list of available AI assistant functions.NXCSession.getAlarm(long alarmId) Get information about single active alarm.NXCSession.getAlarmCategories()Get alarm categories from serverNXCSession.getAlarmComments(long alarmId) Get list of comments for given alarm.NXCSession.getAlarmEvents(long alarmId) Get information about events related to single active alarm.NXCSession.getAlarms()Get list of active alarms.NXCSession.getAllMaintenanceEntries(long objectId, int maxEntries) Get list of maintenance journal entries for specified object and it's child objectsNXCSession.getArpCache(long nodeId, boolean forceRead) Get ARP cache from nodeNXCSession.getAttributeForCurrentUser(String name) Get custom attribute for currently logged in user.NXCSession.getAuthenticationTokens(int userId) Get list of active authentication tokens for given user.NXCSession.getBackgroundTaskState(long taskId) Get state of background task.doubleNXCSession.getBusinessServiceAvailablity(long businessServiceid, TimePeriod timePeriod) Get business service availabilityNXCSession.getBusinessServiceChecks(long serviceId) Get list business service checksNXCSession.getBusinessServiceTickets(long businessServiceid, TimePeriod timePeriod) Get business service ticketsNXCSession.getCollectedData(long nodeId, long dciId, Date from, Date to, int maxRows, HistoricalDataType valueType) Get collected DCI data from server.NXCSession.getCollectedData(long nodeId, long dciId, Date from, Date to, int maxRows, HistoricalDataType valueType, long delegateReadObject) Get collected DCI data from server.NXCSession.getCollectedTableData(long nodeId, long dciId, String instance, String dataColumn, Date from, Date to, int maxRows) Get collected table DCI data from server.NXCSession.getCollectedTableData(long nodeId, long dciId, String instance, String dataColumn, Date from, Date to, int maxRows, long delegateReadObject) Get collected table DCI data from server.NXCSession.getDataCollectionObject(long objectId, long dciId) Get data collection object without opening data collection configuration.NXCSession.getDataCollectionScripts(long objectId) Get names of all scripts used in data collection by given node, cluster, or template object.DciValue[]NXCSession.getDataCollectionSummary(long nodeId, boolean objectTooltipOnly, boolean overviewOnly, boolean includeNoValueObjects) Get DCI summary for given nodeDciValue[]NXCSession.getDataCollectionSummary(long nodeId, long mapId, boolean objectTooltipOnly, boolean overviewOnly, boolean includeNoValueObjects) Get DCI summary for given node and mapNXCSession.getDciLastValue(long nodeId, long dciId) Get last value for given table or single valued DCI on given nodeNXCSession.getDciSummaryTable(int id) Get DCI summary table configuration.NXCSession.getDependentNodes(long nodeId) Get list of dependent nodes for given node.NXCSession.getDeviceView(long nodeId) Get device view for node.intNXCSession.getEffectiveRights(long objectId) Get effective rights of currently logged in user to given object.NXCSession.getEventProcessingPolicy()Get read-only copy of event processing policy.NXCSession.getEventReferences(long eventCode) Get list of objects that are using specified eventNXCSession.getEventTemplates()Get event objects from serverNXCSession.getGeoAreas()Get configured geographical areasNXCSession.getHelpdeskIssueUrl(long alarmId) Get URL for helpdesk issue associated with given alarmGet an image from the libraryNXCSession.getImageLibrary()Get the whole image libraryNXCSession.getImageLibrary(String category) Get the image library of specific categoryNXCSession.getInstalledPackages()Get list of installed packagesNXCSession.getInterfaceTrafficDcis(long interfaceId) Get interface traffic DCIsDciValue[]NXCSession.getLastValues(long nodeId) Get last DCI values for given nodeDciValue[]NXCSession.getLastValues(List<? extends MapDataSource> dciConfig) Get last DCI values for given Single Dci Config listDciValue[]NXCSession.getLastValues(Set<MapDCIInstance> mapDcis) Get last DCI values for given Map DCI Instance listNXCSession.getLocationHistory(long objectId, Date from, Date to) Get location history for given object.NXCSession.getMappingTable(int id) Get list of specific mapping tableNXCSession.getMibFileTimestamp()Get timestamp of server's MIB file.NXCSession.getNetworkPath(long node1, long node2) Get IPv4 network path between two nodes.NXCSession.getNodeHardwareComponents(long nodeId) Get list of hardware components as reported by agent.NXCSession.getNodePhysicalComponents(long nodeId) Get node's physical components (obtained from ENTITY-MIB).NXCSession.getNodeSoftwarePackages(long nodeId) Get list of software packages installed on node.NXCSession.getNodeWinPerfObjects(long nodeId) Get list of available Windows performance objects.NXCSession.getNotificationChannels()Get server notification channelsNXCSession.getNotificationDrivers()Get list of available notification channel drivers.NXCSession.getObjectQueries()Get list of configured object queries.NXCSession.getObjectToolDetails(long toolId) Get object tool detailsNXCSession.getObjectTools()Get list of configured object toolsNXCSession.getObjectToolsAsTree()NXCSession.getOSPFInfo(long nodeId) Get OSPF information for given node.NXCSession.getPackageDeploymentJobs()Get list of package deployment jobsNXCSession.getPerfTabItems(long nodeId) Get list of DCIs configured to be shown on performance tab in console for given node.NXCSession.getPersistentStorageList()Get list of all values in persistent storageNXCSession.getPhysicalLinks(long objectId, long patchPanelId) Get list of physical links filtered by provided optionsNXCSession.getPredefinedGraph(long graphId) Get predefined graph information by graph idNXCSession.getPredefinedGraphs(boolean graphTemplates) Get list of predefined graphs or graph templatesNXCSession.getPredefinedGraphsAsTree()NXCSession.getPredictedData(long nodeId, long dciId, Date from, Date to) Get predicted DCI data from server.NXCSession.getPredictionEngines()Get list of registered prediction enginesNXCSession.getPublicServerVariable(String name) Get server public configuration variablebooleanNXCSession.getPublicServerVariableAsBoolean(String name) Get server public configuration variable as boolen valueintNXCSession.getPublicServerVariableAsInt(String name) Get server public configuration variable as a intint[]NXCSession.getRelatedEvents(long objectId) Get all events used in data collection by given node, cluster, or template object.NXCSession.getReportDefinition(UUID reportId) Get the report definitionNXCSession.getReportResults(UUID reportId) List report resultsNXCSession.getRepositories()Get list of configured repositoriesNXCSession.getRoutingTable(long nodeId) Get routing table from nodeNXCSession.getScheduledReportingJobs(UUID reportId) List scheduled jobsNXCSession.getScheduledTaskHandlers()Get list of available scheduled task handlers.NXCSession.getScheduledTasks()Get list of scheduled tasks.NXCSession.getScript(long scriptId) Get script from libraryNXCSession.getScriptLibrary()Get list of all scripts in script library.NXCSession.getServerConfigClob(String name) Get server config CLOBNXCSession.getServerStats()Get server stats.NXCSession.getServerVariables()Get server configuration variablesNXCSession.getSmclpSupportedProperties(long nodeId) Get list of SM-CLP properties supported on given node.NXCSession.getSnmpCommunities()Get list of well-known SNMP communities configured on server.NXCSession.getSnmpCommunities(int zoneUIN) Get list of well-known SNMP communities configured on server.NXCSession.getSnmpTrapsConfiguration()Get list of configured SNMP trapsNXCSession.getSnmpTrapsConfigurationSummary()Get summary of SNMP trap mapping.NXCSession.getSnmpUsmCredentials()Get list of well-known SNMP USM (user security model) credentials configured on server.NXCSession.getSnmpUsmCredentials(int zoneUIN) Get list of well-known SNMP USM (user security model) credentials configured on server.NXCSession.getSshCredentials()Get SSH credentials for all zones.NXCSession.getSshCredentials(int zoneUIN) Get SSH credentials for specific zone.NXCSession.getSshKeys(boolean withPublicKey) Get list of SSH keylong[]NXCSession.getSubnetAddressMap(long subnetId) Get address map for subnet.NXCSession.getSupportedParameters(long nodeId) Get list of parameters supported by agent running on given node.NXCSession.getSupportedParameters(long nodeId, DataOrigin origin) Get list of parameters supported by entity defined by origin on given node.NXCSession.getSupportedTables(long nodeId) Get list of tables supported by agent running on given node.NXCSession.getSwitchForwardingDatabase(long nodeId) Get switch forwarding database (MAC address table) from nodeNXCSession.getTableLastValues(long nodeId, long dciId) Get last value for given table DCI on given nodeNXCSession.getThresholds(long nodeId, long dciId) Get list of thresholds configured for given DCINXCSession.getThresholds(long nodeId, long dciId, long delegateReadObject) Get list of thresholds configured for given DCINXCSession.getThresholdSummary(long objectId) Get threshold violation summary for all nodes under given parent object.NXCSession.getTooltipLastValues(Set<Long> nodeList) Get tooltip last values for all objectsNXCSession.getUserAgentNotifications()Get user support application notifications listNXCSession.getUserSessions(long nodeId) Get list of user sessions on given node as reported by agent.NXCSession.getVendorByMac(Set<MacAddress> macList) Get vendor names by OUI part of provided MAC addresses.NXCSession.getVlans(long nodeId) Get list of VLANs configured on given nodeNXCSession.getWebServiceDefinitions()Get configured web service definitions.NXCSession.getWellKnownPorts(int zoneUIN, String tag) Get list of well-known ports for given zone.NXCSession.getWellKnownPorts(String tag) Get list of well-known ports (global and all zones).NXCSession.getWirelessStations(long objectId) Get list of wireless stations registered at given wireless controller or access point.NXCSession.importConfiguration(File configFile, int flags) Import server configuration (events, traps, thresholds) from XML file.voidNXCSession.importConfiguration(String config, int flags) Import server configuration (events, traps, thresholds) from XML document.longNXCSession.installPackage(PackageInfo info, File pkgFile, ProgressListener listener) Install (upload) package on servervoidNXCSession.linkAsset(long assetId, long objectId, boolean updateIdentification) Link asset object to given object.NXCSession.listAgentFiles(AgentFile file, String fullPath, long objectId) List files on agent file store.NXCSession.listDciSummaryTables()Get list of all configured DCI summary tablesNXCSession.listMappingTables()Get list of all configured mapping tables.NXCSession.listMibFiles()List custom MIB files in server's file store.NXCSession.listReports()List reportsNXCSession.listServerFiles()List files in server's file store.NXCSession.listServerFiles(String[] filter) List files in server's file store.voidLogin to server using authentication token.voidLogin to server using login name and password.voidNXCSession.login(String login, Certificate certificate, Signature signature) Login to server using certificate.voidNXCSession.login(AuthenticationType authType, String login, String password, Certificate certificate, Signature signature, TwoFactorAuthenticationCallback twoFactorAuthenticationCallback) Login to server.voidNXCSession.modify2FAMethod(TwoFactorAuthenticationMethod method) Modify existing two-factor authentication method or create new one.voidNXCSession.modifyAction(ServerAction action) Modify server actionlongNXCSession.modifyAlarmCategory(AlarmCategory object) Add or update alarm category in DBvoidNXCSession.modifyBusinessServiceCheck(long businessServiceid, BusinessServiceCheck check) Modify check form businsess servicelongNXCSession.modifyDataCollectionObject(DataCollectionObject dcObject) Modify data collection object without opening data collection configuration.intNXCSession.modifyDciSummaryTable(DciSummaryTable table) Modify DCI summary table configuration.voidNXCSession.modifyEventObject(EventTemplate tmpl) Modify event template.intNXCSession.modifyGeoArea(GeoArea area) Modify geographical area.voidNXCSession.modifyImage(LibraryImage image, ProgressListener listener) Modify an imagevoidNXCSession.modifyObject(NXCObjectModificationData data) Modify object (generic interface, in most cases wrapper functions should be used instead).voidNXCSession.modifyObject(NXCObjectModificationData data, Object userData) Modify object (generic interface, in most cases wrapper functions should be used instead).intNXCSession.modifyObjectCategory(MutableObjectCategory category) Modify object category.intNXCSession.modifyObjectQuery(ObjectQuery query) Modify object query.voidNXCSession.modifyObjectTool(ObjectToolDetails tool) Modify object tool.voidNXCSession.modifyRepository(Repository r) Modify repository.longNXCSession.modifyScript(long scriptId, String name, String source) Modify script.voidNXCSession.modifySnmpTrapConfiguration(SnmpTrap trap) Modify SNMP trap configuration record.voidNXCSession.modifyUserDBObject(AbstractUserObject object) Modify user database objectvoidNXCSession.modifyUserDBObject(AbstractUserObject object, int fields) Modify user database objectintNXCSession.modifyWebServiceDefinition(WebServiceDefinition definition) Modify (or create new) web service definition.voidNXCSession.moveAgentFile(long nodeId, String oldName, String newFileName, boolean overwrite) Move file from agentvoidNXCSession.onPolicyEditorClose(long templateId) Command sent on policyEditor close to send updates to all applied nodesvoidNXCSession.openConsole()Open server console.NXCSession.openDataCollectionConfiguration(long nodeId) Open data collection configuration for given node.NXCSession.openDataCollectionConfiguration(long nodeId, RemoteChangeListener changeListener) Open data collection configuration for given node.NXCSession.openEventProcessingPolicy()Open event processing policy for editing.NXCSession.openHelpdeskIssue(long alarmId) Open issue in helpdesk system from given alarmNXCSession.openServerLog(String logName) Open server log by name.voidNXCSession.pollObject(long objectId, ObjectPollType pollType, TextOutputListener listener) Perform a forced object poll.booleanNXCSession.processConsoleCommand(String command) Process console command on server.voidNXCSession.pushDciData(long nodeId, long dciId, String value) Push value for single DCI.voidNXCSession.pushDciData(String nodeName, String dciName, String value) Push value for single DCI.voidNXCSession.pushDciData(DciPushData[] data) Push data to server.NXCSession.queryAdHocDciSummaryTable(long baseObjectId, List<DciSummaryTableColumn> columns, AggregationFunction function, Date periodStart, Date periodEnd, boolean multiInstance) Query ad-hoc DCI summary table.NXCSession.queryAgentTable(long nodeId, String name) Query agent's table immediately.NXCSession.queryAiAssistant(String prompt) Send query to AI assistant.NXCSession.queryDciSummaryTable(int tableId, long baseObjectId) Query DCI summary table.NXCSession.queryInternalConnectionTopology(long nodeId) Query internal connection topology for nodeNXCSession.queryIPTopology(long nodeId, int discoveryRadius) Query IP topology for nodeNXCSession.queryLayer2Topology(long nodeId, int discoveryRadius, boolean useL1Topology) Query layer 2 topology for nodeNXCSession.queryMetric(long nodeId, DataOrigin origin, String name) Query metric immediately.NXCSession.queryObjectDetails(String query, long rootObjectId, List<String> properties, List<String> orderBy, Map<String, String> inputFields, long contextObjectId, boolean readAllComputedProperties, int limit, Consumer<Integer> progressCallback) Query objects on server side and read certain object properties.NXCSession.queryObjects(String query, long rootObjectId, Consumer<Integer> progressCallback) Query objects on server side, optionally only those located below given root object.NXCSession.queryObjects(String query, Consumer<Integer> progressCallback) Query objects on server side.NXCSession.queryOSPFTopology(long nodeId) Query OSPF topology for nodeNXCSession.queryScript(long nodeId, String script, List<String> parameterList, TextOutputListener listener) Execute script and get return value as map.NXCSession.queryTable(long nodeId, DataOrigin origin, String name) Query table immediately.NXCSession.readAgentConfigurationFile(long nodeId) Get agent's master configuration file.voidNXCSession.recalculateDCIValues(long objectId, long dciId) Start background recalculation of DCI values using preserved raw values.voidNXCSession.recallUserAgentNotification(long id) Recall user support application notificationNXCSession.receiveTable(long requestId, int msgCode) Receive table from server.voidNXCSession.removeClusterNode(long clusterId, long nodeId) Remove node from cluster.voidNXCSession.removePackage(long packageId) Remove agent package from servervoidNXCSession.removeTemplate(long templateId, long nodeId, boolean removeDci) Remove data collection template from node.voidNXCSession.removeWirelessDomainController(long wirelessDomainId, long nodeId) Remove controller node from wireless domain.voidNXCSession.rename2FAMethod(String oldName, String newName) Rename two-factor authentication methodvoidNXCSession.renameAgentFile(long nodeId, String oldName, String newFileName, boolean overwrite) Rename agent's filevoidNXCSession.renameNotificationChannel(String oldName, String newName) Rename notification channelvoidNXCSession.renameScript(long scriptId, String name) Rename script in script library.voidNXCSession.renameServerFile(String oldFileName, String newFileName) Rename file in server's file storeNXCSession.renderReport(UUID reportId, UUID jobId, ReportRenderFormat format) Render reportNXCSession.requestAiAssistantComment(long alarmId) Request AI assistant comment for given alarm.voidNXCSession.requestAuthenticationToken()Request new ephemetral authentication token for this session from server.NXCSession.requestAuthenticationToken(boolean persistent, int validFor, String description, int userId) Request new authentication token from server.voidNXCSession.resetServerComponent(int component) Reset server's internal component (defined by SERVER_COMPONENT_xxx)voidNXCSession.resolveAlarm(long alarmId) Resolve alarm.voidNXCSession.resolveAlarm(String helpdeskReference) Resolve alarm by helpdesk reference.voidNXCSession.resyncAgentDataCollectionConfiguration(long nodeId) Force re-synchronization of data collection configuration with agent.voidNXCSession.revokeAuthenticationToken(int tokenId) Revoke persistent auithentication token.longNXCSession.saveAgentConfig(AgentConfiguration configuration) Update server side agent configurationvoidNXCSession.saveEventProcessingPolicy(EventProcessingPolicy epp) Save event processing policy.longNXCSession.saveGraph(GraphDefinition graph, boolean overwrite) Checks if graph with specified name can be created/overwritten and creates/overwrites it in DB.NXCSession.savePolicy(long templateId, AgentPolicy policy, boolean duplicate) Saves new or updated policyvoidTcpProxy.send(byte[] data) Send data to destinationvoidConvenience wrapper for sendEvent interface.voidNXCSession.sendEvent(long eventCode, String eventName, long objectId, String[] parameters, String[] paramerNames, String userTag, Date originTimestamp) Send event to server.voidConvenience wrapper for sendEvent interface.protected voidNXCSession.sendFile(long requestId, byte[] data, ProgressListener listener, boolean allowStreamCompression) Send block of data as binary messageprotected voidNXCSession.sendFile(long requestId, File file, ProgressListener listener, boolean allowStreamCompression, long offset) Send file over NXCPvoidNXCSession.sendMessage(NXCPMessage msg) Send message to servervoidNXCSession.sendNotification(String channelName, String phoneNumber, String subject, String message) Send Notification via server.voidNXCSession.setAddressList(int listId, List<InetAddressListElement> list) Set content of address list.voidNXCSession.setAlarmFlowState(int state) Changes state of alarm status flow.voidNXCSession.setAssetProperty(long objectId, String name, String value) Set asset property value.voidNXCSession.setAttributeForCurrentUser(String name, String value) Set custom attribute for currently logged in user.voidNXCSession.setDefaultServerValues(List<ServerVariable> varList) Set server configuration variables to defaultvoidNXCSession.setInterfacePeer(long localInterfaceId, long peerInterfaceId) Set peer interface for given interface.voidNXCSession.setObjectACL(long objectId, Collection<AccessListElement> acl, boolean inheritAccessRights) Change object's ACL (wrapper for modifyObject())voidNXCSession.setObjectCustomAttributes(long objectId, Map<String, CustomAttribute> attrList) Change object's custom attributes (wrapper for modifyObject())voidNXCSession.setObjectMaintenanceMode(long objectId, boolean inMaintenance) Set maintenance mode for objectvoidNXCSession.setObjectMaintenanceMode(long objectId, boolean inMaintenance, String comments) Set maintenance mode for objectvoidNXCSession.setObjectManaged(long objectId, boolean isManaged) Set object's managed status.voidNXCSession.setObjectName(long objectId, String name) Change object's name (wrapper for modifyObject())voidNXCSession.setPersistentStorageValue(String key, String value) Set persistent storage value.voidNXCSession.setServerConfigClob(String name, String value) Set server config CLOBvoidNXCSession.setServerVariable(String name, String value) Set server configuration variableNXCSession.setupTcpProxy(long nodeId, int port) Setup new TCP proxy channel to given node.NXCSession.setupTcpProxy(long proxyId, InetAddress address, int port) Setup new TCP proxy channel.voidNXCSession.setUserPassword(int id, String newPassword, String oldPassword) Set password for uservoidNXCSession.snmpWalk(long nodeId, String rootOid, SnmpWalkListener listener) Do SNMP walk.voidNXCSession.snmpWalk(long nodeId, SnmpObjectId rootOid, SnmpWalkListener listener) Do SNMP walk.voidNXCSession.startManualActiveDiscovery(List<InetAddressListElement> ranges) Start active discovery for provided list manuallyvoidNXCSession.stopScript(long vmId) Stop running NXSL script.voidNXCSession.stopServerCommand(long commandId) Stop server commandvoidSubscribe to notification channel.voidNXCSession.subscribeToUserDBUpdates()Subscribe to user change notificationsNXCSession.substituteMacros(ObjectContextBase[] context, String textToExpand, Map<String, String> inputValues) Substitute macros in one string within multiple contexts.NXCSession.substituteMacros(ObjectContextBase context, List<String> textsToExpand, Map<String, String> inputValues) Substitute macros in multiple strings within one context.voidNXCSession.swapAgentConfigs(long id1, long id2) Swap sequence numbers of two server side agent configurations.voidNXCSession.syncAlarmCategories()Synchronize alarm category configuration.voidNXCSession.syncAssetManagementSchema()Synchronize asset management schema.voidNXCSession.syncChildren(AbstractObject object) Sync children of given object.voidNXCSession.syncEventTemplates()Synchronize event templates configuration.voidNXCSession.syncMissingObjects(long[] objects) Synchronize only those objects from given set which are not synchronized yet.voidNXCSession.syncMissingObjects(long[] objects, int options) Synchronize only those objects from given set which are not synchronized yet.voidNXCSession.syncMissingObjects(long[] objects, long mapId, int options) Synchronize only those objects from given set which are not synchronized yet.voidNXCSession.syncMissingObjects(Collection<Long> objects, int options) Synchronize only those objects from given set which are not synchronized yet.voidNXCSession.syncMissingObjects(Collection<Long> objects, long mapId, int options) Synchronize only those objects from given set which are not synchronized yet.booleanNXCSession.syncMissingUsers(Collection<Integer> users) Synchronize only objects that were not yet synchronizedvoidNXCSession.syncObjectCategories()Synchronize object categoriesvoidNXCSession.syncObjects()Synchronizes NetXMS objects between server and client.voidNXCSession.syncObjects(boolean syncNodeComponents) Synchronizes NetXMS objects between server and client.voidNXCSession.syncObjectSet(long[] objects) Synchronizes selected object set with the server.voidNXCSession.syncObjectSet(long[] objects, int options) Synchronizes selected object set with the server.voidNXCSession.syncObjectSet(long[] objects, long mapId, int options) Synchronizes selected object set with the server.voidNXCSession.syncObjectSet(Collection<Long> objects, long mapId, int options) Synchronizes selected object set with the server.voidNXCSession.syncUserDatabase()Synchronize user database and subscribe to user change notificationsvoidNXCSession.syncUserSet(Collection<Integer> users) Synchronize users by id if does not existbyte[]NXCSession.takeScreenshot(long nodeId, String sessionName) Take screenshot from given node.voidNXCSession.terminateAlarm(long alarmId) Terminate alarm.voidNXCSession.terminateAlarm(String helpdeskReference) Terminate alarm by helpdesk reference.NXCSession.testTransformationScript(long nodeId, String script, String inputValue, DataCollectionObject dcObject) Test DCI transformation script.voidNXCSession.unbindAgentTunnel(long nodeId) Unbind agent tunnel to nodevoidNXCSession.unbindObject(long parentId, long childId) Unbind object.voidNXCSession.uninstallAgentPolicy(long policyId, long nodeId) Uninstall policy from agentvoidNXCSession.unlinkAsset(long assetId) Unlink asset from object it is currently linked to.voidNXCSession.unlinkHelpdeskIssue(long alarmId) Unlink helpdesk issue from alarm.voidNXCSession.unlinkHelpdeskIssue(String helpdeskReference) Unlink helpdesk issue from alarm.voidNXCSession.unsubscribe(String channel) Unsubscribe from notification channel.voidNXCSession.updateAgentSharedSecrets(int zoneUIN, List<String> sharedSecrets) Update agent shared secret list on server.voidNXCSession.updateAlarmComment(long alarmId, long commentId, String text) Update alarm comment.voidNXCSession.updateAssetAttribute(AssetAttribute attribute) Update asset attribute (definition in asset management schema).intNXCSession.updateMappingTable(MappingTable table) Create or update mapping table.voidNXCSession.updateNetworkMapElementPosition(long mapId, Set<NetworkMapElement> elements, Set<NetworkMapLink> links) Update network map object locationvoidNXCSession.updateNotificationChannel(NotificationChannel nc) Update notification channelvoidNXCSession.updateObjectComments(long objectId, String comments) Change object's comments.voidNXCSession.updatePackageMetadata(PackageInfo info) Update metadata for existing package.voidNXCSession.updatePhysicalLink(PhysicalLink link) Create new or update existing physical linkvoidNXCSession.updateResponsibleUsers(long objectId, List<ResponsibleUser> users) Update list of responsible users for given object.voidNXCSession.updateScheduledTask(ScheduledTask task) Update existing scheduled task.voidNXCSession.updateSnmpCommunities(int zoneUIN, List<String> communityStrings) Update list of well-known SNMP community strings on server.voidNXCSession.updateSnmpUsmCredentials(int zoneUIN, List<SnmpUsmCredential> usmCredentials) Update list of well-known SNMP USM credentials on server.voidNXCSession.updateSshCredentials(int zoneUIN, List<SSHCredentials> sshCredentials) Update list of well-known SSH credentials on the server.voidNXCSession.updateSshKey(SshKeyPair sshCertificateData) Update or import new SSH keysvoidNXCSession.updateWellKnownPorts(int zoneUIN, String tag, List<Integer> ports) Update list of well-known ports.longNXCSession.uploadFileToAgent(long nodeId, String serverFileName, String remoteFileName) Start file upload from server's file store to agent.voidNXCSession.uploadFileToServer(File localFile, String serverFileName, ProgressListener listener) Upload local file to server's file storevoidNXCSession.uploadLocalFileToAgent(long nodeId, File localFile, String remoteFileName, boolean overwrite, ProgressListener listener) Upload local file to remote node via agent.voidNXCSession.uploadMibFile(File localFile, String serverFileName, ProgressListener listener) Upload custom MIB file to server's file storebooleanNXCSession.validateUserPassword(String password) Validate password for currently logged in userNXCSession.waitForMessage(int code, long id) Wait for message with specific code and id.NXCSession.waitForMessage(int code, long id, int timeout) Wait for message with specific code and id.NXCSession.waitForRCC(long id) Wait for CMD_REQUEST_COMPLETED message with given id using default timeoutNXCSession.waitForRCC(long id, int timeout) Wait for CMD_REQUEST_COMPLETED message with given idvoidNXCSession.wakeupNode(long objectId) Wakeup node by sending wake-on-LAN magic packet.voidNXCSession.writeAgentConfigurationFile(long nodeId, String config, boolean apply) Update agent's master configuration file.
- 
Uses of NXCException in org.netxms.client.datacollectionMethods in org.netxms.client.datacollection that throw NXCExceptionModifier and TypeMethodDescriptionvoidDataCollectionConfiguration.bulkUpdateDCIs(Collection<Long> idList, Collection<? extends BulkDciUpdateElement> fields) voidDataCollectionConfiguration.clearCollectedData(long itemId) Clear collected data for given DCI.voidDataCollectionConfiguration.commit()Apply user changesvoidDataCollectionConfiguration.copyObjects(long destNodeId, long[] items) Copy data collection objects.longDataCollectionConfiguration.createItem(DataCollectionObject object) Deprecated.longDataCollectionConfiguration.createTable(DataCollectionObject object) Deprecated.voidDataCollectionConfiguration.deleteObject(long itemId) Delete data collection object.voidDataCollectionConfiguration.modifyObject(long dcObjectId) Modify data collection object.longDataCollectionConfiguration.modifyObject(DataCollectionObject dco) Modify data collection object.voidDataCollectionConfiguration.moveObjects(long destNodeId, long[] items) Move data collection objects.voidDataCollectionConfiguration.open(RemoteChangeListener changeListener) Open data collection configuration.voidDataCollectionConfiguration.refreshDataCollectionList()Force refresh DCI listvoidDataCollectionConfiguration.setObjectStatus(long[] items, DataCollectionObjectStatus status) Set status of data collection objects.
- 
Uses of NXCException in org.netxms.client.logMethods in org.netxms.client.log that throw NXCExceptionModifier and TypeMethodDescriptionvoidLog.close()Close logLog.getRecordDetails(long recordId) Get details for specific log record.voidSend query to serverLog.retrieveData(long startRow, long rowCount) Retrieve log data from server.Log.retrieveData(long startRow, long rowCount, boolean refresh) Retrieve log data from server.
- 
Uses of NXCException in org.netxms.client.reportingMethods in org.netxms.client.reporting that throw NXCExceptionModifier and TypeMethodDescriptionvoidReportingJob.fillMessage(NXCPMessage msg) Fill NXCP message with job data.
- 
Uses of NXCException in org.netxms.client.snmpConstructors in org.netxms.client.snmp that throw NXCExceptionModifierConstructorDescriptionprotectedMibObject(NXCPDataInputStream in, MibObject parent) Read MIB object from compiled MIB file.Create MIB tree from compiled MIB file.