File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/check_mk/base/plugins/agent_based Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ def inventory_unifi_device_shortlist(section):
271
271
def discovery_unifi_device (section ):
272
272
yield Service (item = "Device Status" )
273
273
yield Service (item = "Unifi Device" )
274
- yield Service (item = "Uptime" )
274
+ yield Service (item = "Unifi Device Uptime" )
275
275
yield Service (item = "Active-User" )
276
276
if section .type != "uap" : # kein satisfaction bei ap .. radio/ssid haben schon
277
277
yield Service (item = "Satisfaction" )
@@ -317,7 +317,7 @@ def check_unifi_device(item,section):
317
317
)
318
318
yield Metric ("user_sta" ,_active_user )
319
319
yield Metric ("guest_sta" ,_safe_int (section .guest_num_sta ))
320
- if item == "Uptime" :
320
+ if item == "Unifi Device Uptime" :
321
321
_uptime = int (section .uptime ) if section .uptime else - 1
322
322
if _uptime > 0 :
323
323
yield Result (
You can’t perform that action at this time.
0 commit comments