How to use SWQL for create KPI Widgets

How to use SWQL for create KPI Widgets

1. Count All Interface node A,B,C

2. Count All Interface node A,B,C Status Up

3. Count All Interface node A,B,C Status Down

 

Example