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):
271271def discovery_unifi_device (section ):
272272 yield Service (item = "Device Status" )
273273 yield Service (item = "Unifi Device" )
274- yield Service (item = "Uptime" )
274+ yield Service (item = "Unifi Device Uptime" )
275275 yield Service (item = "Active-User" )
276276 if section .type != "uap" : # kein satisfaction bei ap .. radio/ssid haben schon
277277 yield Service (item = "Satisfaction" )
@@ -317,7 +317,7 @@ def check_unifi_device(item,section):
317317 )
318318 yield Metric ("user_sta" ,_active_user )
319319 yield Metric ("guest_sta" ,_safe_int (section .guest_num_sta ))
320- if item == "Uptime" :
320+ if item == "Unifi Device Uptime" :
321321 _uptime = int (section .uptime ) if section .uptime else - 1
322322 if _uptime > 0 :
323323 yield Result (
You can’t perform that action at this time.
0 commit comments