SysUpTime Public API

The SysUpTime Application Programming Interface (API) is available for third-party development of tools interfacing with the SysUpTime service.

The SysUpTime API is platform-independent and is based on open standards. It can be used from any programming language on any platform as long as it supports sending and receiving HTTP requests.

Here is an example of getting the historical performance data for a monitor named "local cpu-Intel". The request sent to the SysUpTime server is:

https://localhost:9501/server/com/sysuptime/web/performance/MonitorData?monitorName=local%20cpu-Intel&from=1219113183484&to=1229127583484

And the response is an XML string:

  <response>
      <monitor>
          <name>local cpu-Intel</name> 
          <from>1220846151125</from> 
          <to>1220860551125</to> 
          <hosts>
            <item value="localhost">localhost</item> 
          </hosts>
          <metrics>
            <item value="0">Query Result</item> 
          </metrics>
          <condition>0</condition> 
          <threshold>70</threshold> 
          <scheduleHostID>4</scheduleHostID> 
      </monitor>
      <list>
          <result time="1220846154546" typeID="20101" value="5.0" 
            thresholdState="N" errorCode="N" /> 
          <result time="1220846214546" typeID="20101" value="7.0" 
            thresholdState="N" errorCode="N" /> 
          <result time="1220846274546" typeID="20101" value="6.0"
            thresholdState="N" errorCode="N" /> 
          <result time="1220846334546" typeID="20101" value="6.0" 
            thresholdState="N" errorCode="N" /> 
          <result time="1220846394546" typeID="20101" value="7.0" 
            thresholdState="N" errorCode="N" /> 
          <result time="1220846454546" typeID="20101" value="7.0"
            thresholdState="N" errorCode="N" /> 
          <result time="1220846514546" typeID="20101" value="6.0" 
            thresholdState="N" errorCode="N" /> 
          <result time="1220846574546" typeID="20101" value="7.0" 
            thresholdState="N" errorCode="N" /> 
          <result time="1220846634546" typeID="20101" value="8.0"
            thresholdState="N" errorCode="N" /> 
      </list>
  </response>

Please contact support@ireasoning.com for more information.