XML-RPC API - Monitoring

Monitoring
S
Written by Sergiiy
Updated 11 months ago

getMonitoringGraph()

Get monitoring graph. This call supports trusted mode.

Parameters:

  • type - what graph to get. String. Required. Allowed values are:
    • bandwidth_in_use
    • throughput
    • cpu_load
    • disk_load
    • call_processing_time
    • calls_in_progress
    • calls_per_second
  • start_date - start date of the graph, format is '%H:%M:%S.000 GMT %a %b %d %Y' (e.g. 09:57:29.000 GMT Wed Nov 18 2009). String. Optional. Default is 12 hours ago.
  • interval - graph interval in seconds. Integer. Optional. Default is 12 hours.
  • width - width of the graph in pixels. Integer. Optional. Default is 330.
  • height - height of the graph in pixels. Integer. Optional. Default is 120.
  • timezone - what timezone use on graph. String. Optional.

Returns:

  • result - OK means that operation successful. String.
  • graph - base64 encoded graph in PNG format. String.
  • XMLRPC fault in case of any error.
Did this answer your question?