hanz
1
Here’s my code:
label: “‘Optical Power’”
slices:
1_normal:
color: “‘#e8702a’”
filter: VirtualParameters.OpticalPower >= -15
label: “‘Normal’”
2_warning:
color: “‘#0c457d’”
filter: VirtualParameters.OpticalPower < -15 And VirtualParameters.OpticalPower
> -30
label: “‘Warning’”
3_critical:
color: “‘#0ea7b5’”
filter: VirtualParameters.OpticalPower <= -30
label: “‘Critical’”
dustin
2
Was this entered in Admin > Config > Edit Charts?
Did you update Admin > Config > Edit Overview?
Figaro
3
Hi, on “edit overview”:
online:
label: "''"
charts:
- '"online"'
- '"potenciasONT"'
then, on “edit charts”:
online:
label: "'Online status'"
slices:
1_onlineNow:
color: "'#31a354'"
filter: Events.Inform > NOW() - 90 * 60 * 1000
label: '"Online(90min)"'
2_past24:
color: "'#a1d99b'"
filter: Events.Inform > NOW() - 90 * 60 * 1000 - 24 * 60 * 60 * 1000 AND
Events.Inform < NOW() - 90 * 60 * 1000
label: '"Offline < 24hs"'
3_others:
color: "'#e5f5e0'"
filter: Events.Inform < NOW() - 90 * 60 * 1000 - 24 * 60 * 60 * 1000
label: '"Offline > 24hs"'
potenciasONT:
label: "'POTENCIAS'"
slices:
1_normal:
color: '"#77dd77"'
filter: InternetGatewayDevice.WANDevice.1.X_GponInterafceConfig.RXPower >= -26
AND InternetGatewayDevice.WANDevice.1.X_GponInterafceConfig.RXPower <
-15
label: '"POTENCIA OK"'
2_alta:
color: '"#FF7F14"'
filter: InternetGatewayDevice.WANDevice.1.X_GponInterafceConfig.RXPower < -12
AND InternetGatewayDevice.WANDevice.1.X_GponInterafceConfig.RXPower >=
-15
label: "'POTENCIA ALTA'"
3_baja:
color: '"#FF7624"'
filter: InternetGatewayDevice.WANDevice.1.X_GponInterafceConfig.RXPower > -28
AND InternetGatewayDevice.WANDevice.1.X_GponInterafceConfig.RXPower <
-26
label: "'POTENCIA BAJA'"
3_fueraDeRango:
color: '"#F72D0D"'
filter: InternetGatewayDevice.WANDevice.1.X_GponInterafceConfig.RXPower <= -28
OR InternetGatewayDevice.WANDevice.1.X_GponInterafceConfig.RXPower >=
-12
label: "'FUERA DE RANGO'"
This is working on Huawei ONTs, probably you will have to change parameters