JSON API for YateSTP Control – Signal Transfer Point

Request: query_stats

Retrieve node statistics for the equipment.
It is mandatory to provide the desired node type.

Request

{ “request”:”query_stats”, “node”:”stp” }

Response example

{ “code”:0,
  “stats”:{
    “engine”:{
      “version”:”5.5.1″,”revision”:1830,”nodename”:”blanked-as-ordered”,”plugins”:9,”inuse”:1,”handlers”:78,”hooks”:4,
      “messages”:0,”maxqueue”:2,”messagerate”:15,”maxmsgrate”:464,”enqueued”:673800,”dequeued”:673800,”dispatched”:28544331,
      “supervised”:true,”runattempt”:1,”lastsignal”:0,”threads”:15,”workers”:1,”mutexes”:247,”semaphores”:0,”acceptcalls”:”accept”,”congestion”:0
    },
    “uptime”:{
      “wall”:578751,
      “user”:26428,
      “kernel”:13885
   },
    “stp_gtt”:{
      “attempts”:15308810,
      “failed”:8234,
      “updates”:0
   },
   “stp_ported”:{
     “queries”:12561650,
     “ported”:105743,
     “series”:0
   },
   “sig_routers”:{
     “count”:2,
     “operational”:2
   },
   “sig_links”:{
     “count”:2,
     “operational”:2
   },
   “sig_sccp”:{
     “sent”:0,
     “received”:16,
     “translations”:16,
     “errors”:0
   }
 }
}

Our solutions