Uses of Class
org.netxms.client.NXCException

Packages that use NXCException
org.netxms.client   
org.netxms.client.datacollection   
org.netxms.client.log   
org.netxms.client.snmp   
 

Uses of NXCException in org.netxms.client
 

Methods in org.netxms.client that throw NXCException
 void NXCSession.acknowledgeAlarm(long alarmId)
          Acknowledge alarm.
 void NXCSession.addClusterNode(long clusterId, long nodeId)
          Add node to cluster.
 void NXCSession.bindObject(long parentId, long childId)
          Bind object.
 void NXCSession.cancelServerJob(long jobId)
          Cancel server job
 void NXCSession.changeNodeIpAddress(long nodeId, java.net.InetAddress addr)
          Change primary IP address of a node.
 void NXCSession.checkConnection()
          
 void NXCSession.closeAlarm(long alarmId)
          Set alarm's helpdesk state to "Closed".
 void NXCSession.closeEventProcessingPolicy()
          Close event processing policy.
 long NXCSession.createAction(java.lang.String name)
          Create new server action.
 LibraryImage NXCSession.createImage(LibraryImage image)
           
 long NXCSession.createObject(NXCObjectCreationData data)
          Create 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.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.deleteScript(long scriptId)
           
 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
 java.io.File NXCSession.downloadMibFile()
          Download MIB file from server.
 void NXCSession.executeAction(long nodeId, java.lang.String action)
          Execute action on remote agent
 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)
          Export server configuration.
 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.lang.String NXCSession.getAgentConfig(long nodeId)
          Get agent's master configuration file.
 java.util.HashMap<java.lang.Long,Alarm> NXCSession.getAlarms(boolean getTerminated)
          Get alarm list.
 java.lang.String NXCSession.getAttributeForCurrentUser(java.lang.String name)
           
 DciData NXCSession.getCollectedData(long nodeId, long dciId, java.util.Date from, java.util.Date to, int maxRows)
          Get collected DCI data from server.
 java.util.List<EventTemplate> NXCSession.getEventTemplates()
          Get event templates from server
 LibraryImage NXCSession.getImage(java.lang.String guid)
           
 java.util.List<LibraryImage> NXCSession.getImageLibrary()
           
 java.util.List<LibraryImage> NXCSession.getImageLibrary(java.lang.String category)
           
 DciValue[] NXCSession.getLastValues(long nodeId)
          Get last DCI values for given node
 java.util.Date NXCSession.getMibFileTimestamp()
          Get timestamp of server's MIB file.
 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()
           
 NXCServerJob[] 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<SnmpUsmCredential> NXCSession.getSnmpUsmCredentials()
          Get list of well-known SNMP USM (user security model) credentials configured on server.
 java.util.List<AgentParameter> NXCSession.getSupportedParameters(long nodeId)
          Get list of parameters supported by agent running on given node.
 Threshold[] NXCSession.getThresholds(long nodeId, long dciId)
          Get list of thresholds configured for given DCI
 void NXCSession.importConfiguration(java.lang.String config, int flags)
          Import server configuration (events, traps, thresholds) from XML
 void NXCSession.lockUserDatabase()
           
 void NXCSession.modifyAction(ServerAction action)
          Modify server action
 void NXCSession.modifyEventTemplate(EventTemplate evt)
          Modify event template.
 void NXCSession.modifyImage(LibraryImage image)
           
 void NXCSession.modifyObject(NXCObjectModificationData data)
          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".
 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.
 NetworkMapPage NXCSession.queryLayer2Topology(long nodeId)
          Query layer 2 topology for node
 Table NXCSession.receiveTable(long requestId, int msgCode)
          Receive table from server.
 void NXCSession.removeClusterNode(long clusterId, long nodeId)
          Remove node from cluster.
 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.saveEventProcessingPolicy(EventProcessingPolicy epp)
          Save event processing policy.
 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.setServerVariable(java.lang.String name, java.lang.String value)
           
 void NXCSession.setUserPassword(long id, java.lang.String newPassword, java.lang.String oldPassword)
           
 void NXCSession.subscribe(int channels)
          Subscribe to notification channel(s)
 void NXCSession.syncEventTemplates()
          Synchronize event templates configuration.
 void NXCSession.syncObjects()
          Synchronizes NetXMS objects between server and client.
 void NXCSession.syncUserDatabase()
           
 void NXCSession.terminateAlarm(long alarmId)
          Terminate alarm.
 void NXCSession.unbindObject(long parentId, long childId)
          Unbind object.
 void NXCSession.uninstallAgentPolicy(long policyId, long nodeId)
          Uninstall policy from agent
 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.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.
 NXCPMessage NXCSession.waitForMessage(int code, long id)
           
 NXCPMessage NXCSession.waitForMessage(int code, long id, int timeout)
           
 NXCPMessage NXCSession.waitForRCC(long id)
           
 void NXCSession.wakeupNode(long objectId)
          Wakeup node by sending wake-on-LAN magic packet.
 

Uses of NXCException in org.netxms.client.datacollection
 

Methods in org.netxms.client.datacollection that throw NXCException
 void DataCollectionConfiguration.clearCollectedData(long itemId)
          Clear collected data for given DCI.
 void DataCollectionConfiguration.close()
          Close data collection configuration.
 void DataCollectionConfiguration.copyItems(long destNodeId, long[] items)
          Copy data collection items.
 long DataCollectionConfiguration.createItem()
          Create new data collection item.
 void DataCollectionConfiguration.deleteItem(long itemId)
          Delete data collection item.
 void DataCollectionConfiguration.modifyItem(DataCollectionItem item)
          Modify data collection item.
 void DataCollectionConfiguration.modifyItem(long itemId)
          Modify data collection item.
 void DataCollectionConfiguration.moveItems(long destNodeId, long[] items)
          Move data collection items.
 void DataCollectionConfiguration.open()
          Open data collection configuration.
 void DataCollectionConfiguration.setItemStatus(long[] items, int status)
          Set status of data collection items.
 

Uses of NXCException in org.netxms.client.log
 

Methods in org.netxms.client.log that throw NXCException
 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.
 

Uses of NXCException in org.netxms.client.snmp
 

Constructors in org.netxms.client.snmp that throw NXCException
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 © 2011. All Rights Reserved.