Sample Exchange

 View Only

Host vmnic down Alert and Supermetric 

Aug 18, 2020 12:10 AM

Use Case 

To be able to get information on which vmnic is down rather than generic vmnic down alert. 

 

Solution: 
We can create super metrics for each vmnic on the host such that if the vmnic is down then the value of this super metric is 1. 
We can now create symptoms for each vmnic if they are down. then create an alert with these symptoms with OR condition. This alert will be triggered if any vmnic is down with the name of the vmnic. 
Then, you may disable the original alert for vmnic monitoring in policy which is creating  alerts without actual vmnic names. 
Example of super metric: 
This SM will be 1 if vmnic4 is down and 0 if it's either up or doesn't exist: 
count(${this, metric=net:vmnic4|nicDriver}) && !count(${this, metric=net:vmnic4|speed}) 

Now the question is how many super metrics to create on each host. one idea is to create report to see the maximum count of vmnic used in any host and use that many SMs on each host just so that we don't miss on any vmnic on any host


#Alerts
#vRealizeOpsSuperMetrics
#vROPS
#Supermetrics
#vRealizeOperationsManager
#Apache2.0

Statistics
0 Favorited
2 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
zip file
Host-vmnic-down-Alert-and-Supermetric-master.zip   3 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.