cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
91
Views
2
Helpful
2
Replies

vManage Webhook Example for CPU and Memory

youngj
Level 1
Level 1

Does anyone have an example vManage Webhook Alert for the 'CPU Usage' and 'Memory Usage'?  Specifically, I need to know key/value for 'eventname', 'type' and 'component'.

1 Accepted Solution

Accepted Solutions

Not sur this is 10% correct, scraped this from the api doc https://developer.cisco.com/docs/sdwan/overview/ - you might need to work with this data littel to get the results

{
  "eventname": "cpu-usage",
  "type": "alarm",
  "component": "System",
  "severity": "Critical",
  "entry_time": 1640995200000,
  "statcycletime": 1640995200000,
  "message": "CPU usage crossed threshold",
  "system_ip": "10.1.1.1",
  "host_name": "vedge-01",
  "site_id": "100",
  "device_model": "vedge-cloud",
  "peer_type": "vedge",
  "rule_name_display": "CPU_Usage_High",
  "component_name": "CPU",
  "threshold": "80",
  "current_value": "85.5",
  "uuid": "C8K-12345678-1234-1234-1234-123456789012"
}
{
  "eventname": "memory-usage",
  "type": "alarm",
  "component": "System",
  "severity": "Major",
  "entry_time": 1640995200000,
  "statcycletime": 1640995200000,
  "message": "Memory usage crossed threshold",
  "system_ip": "10.1.1.1",
  "host_name": "vedge-01",
  "site_id": "100",
  "device_model": "vedge-cloud",
  "peer_type": "vedge",
  "rule_name_display": "Memory_Usage_High",
  "component_name": "Memory",
  "threshold": "90",
  "current_value": "92.3",
  "uuid": "C8K-12345678-1234-1234-1234-123456789012"
}

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

2 Replies 2

Not sur this is 10% correct, scraped this from the api doc https://developer.cisco.com/docs/sdwan/overview/ - you might need to work with this data littel to get the results

{
  "eventname": "cpu-usage",
  "type": "alarm",
  "component": "System",
  "severity": "Critical",
  "entry_time": 1640995200000,
  "statcycletime": 1640995200000,
  "message": "CPU usage crossed threshold",
  "system_ip": "10.1.1.1",
  "host_name": "vedge-01",
  "site_id": "100",
  "device_model": "vedge-cloud",
  "peer_type": "vedge",
  "rule_name_display": "CPU_Usage_High",
  "component_name": "CPU",
  "threshold": "80",
  "current_value": "85.5",
  "uuid": "C8K-12345678-1234-1234-1234-123456789012"
}
{
  "eventname": "memory-usage",
  "type": "alarm",
  "component": "System",
  "severity": "Major",
  "entry_time": 1640995200000,
  "statcycletime": 1640995200000,
  "message": "Memory usage crossed threshold",
  "system_ip": "10.1.1.1",
  "host_name": "vedge-01",
  "site_id": "100",
  "device_model": "vedge-cloud",
  "peer_type": "vedge",
  "rule_name_display": "Memory_Usage_High",
  "component_name": "Memory",
  "threshold": "90",
  "current_value": "92.3",
  "uuid": "C8K-12345678-1234-1234-1234-123456789012"
}

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Awesome, thanks!  Just what I was looking for.