Skip to content

Commit 8c26c16

Browse files
add device-type management
1 parent d423c81 commit 8c26c16

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

check-plugins/librenms-health/librenms-health

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ def parse_args():
9696
help='Filter by LibreNMS Device Type (repeating).',
9797
dest='DEVICE_TYPE',
9898
action='append',
99-
choices=[ # taken from the librenms source file misc/config_definitions.json
99+
choices=[ # taken from the librenms source file resources/definitions/config_definitions.json
100100
'appliance',
101101
'collaboration',
102102
'environment',
103103
'firewall',
104+
'management'
104105
'loadbalancer',
105106
'network',
106107
'power',
@@ -159,7 +160,7 @@ def main():
159160

160161
# fetch data
161162
sql = '''
162-
SELECT
163+
SELECT
163164
d.hostname,
164165
d.sysName,
165166
d.sysDescr,

0 commit comments

Comments
 (0)