Live Monitoring
Description |
Creates and saves live monitoring sessions |
|||||||||||
Request URL |
/neo/app/monitoring/live |
|||||||||||
Main Operations |
|
Description |
Starts a session of live monitoring. The session ID will be returned in the response |
|
Request URL |
POST /neo/app/monitoring/live |
|
Restrictions |
|
|
Response |
{ |
|
Status Codes |
Note: Status code 409 CONFLICT means that session is already running and that the previous session needs to be DELETED. Status code 503 SERVICE UNAVAILABLE Monitor Provider is down |
Request Data:
{
"interval"
: 20
,
"global_counters"
:[ "counter name"
,…..]
"device ip 1 "
:
{
"interfaces"
: {
"interface name"
:{
"counters"
: ["counter name"
,…..]
}
},
"general_statistics"
: ["general statistic item"
,…]
},
" device ip 2"
:{….},
……..
}
}
Description |
Gets the results of a live monitoring session. This rest call should run every interval time |
|
Request URL |
GET /neo/app/monitoring/live/<session_id> Example: GET /neo/app/monitoring/live/2 |
|
Attributes |
|
|
Request Data |
N/A |
Response:
{
"2016-04-17 19:08:39"
: {
"devices"
: {
"10.209.36.224"
: {
"general_statistics"
: {
"MemoryTotal"
: 2027
}
}
}
}
}
When sending "from" attribute the response will include the whole samples from the "from" timestamp until current timestamp.
Description |
Saves the current session of live monitoring |
|
Request URL |
POST /neo/app/monitoring/live/session_id/save Exmaple: POST /neo/app/monitoring/live/2/save |
|
Attributes |
&tz=<time_zone> (Asia/Jerusalem ….. (default UTC)) |
|
Response |
N/A |
|
Request Data |
{ "title" : <Live_monitor_title> "description" : <Live_monitor_description> } |
Description |
Deletes a current session of live monitoring |
|
Request URL |
DELETE /neo/app/monitoring/live/session_id Example: DELETE /neo/app/monitoring/live/2 |
|
Attributes |
&tz=<time_zone> (Asia/Jerusalem ….. (default UTC)) |
|
Data Request |
{ "title" : <live_monitor_title> "description" : <live_monitor_description> } |
|
Response |
N/A |