Some small improvements and refactoring.

This commit is contained in:
Johannes Findeisen 2023-02-22 16:55:06 +01:00
commit 7360ab1936
5 changed files with 11 additions and 36 deletions

View file

@ -1,7 +1,7 @@
[monitor]
title = Uplink Status
description = Cable Provider Uplink Status
service = net.fritzboxuplink
service = vendor.avm.is_connected
; this is obsolete because the host will become part of the args but removing it now will break the code. linspector
; should be for checking local or remote stuff so a host is optional.
hosts = 192.168.1.1

View file

@ -1,7 +1,7 @@
[monitor]
title = Uplink Status
description = DSL Provider Uplink Status
service = net.fritzboxuplink
service = vendor.avm.is_connected
hosts = 192.168.2.1
[args]