Skip to content

Commit ba6df9a

Browse files
author
Anze
committed
Improve comment
1 parent 9854ba7 commit ba6df9a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

snmpbot.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ class SNMPBot(Collector):
199199
def do_snmp(*args, **job_info):
200200
"""
201201
{
202+
"backend_url": "...",
203+
"bot_token: "...",
204+
"account_id": 123,
202205
"entity_id": 1348300224,
203206
"name": "localhost",
204207
"entity_type": "device",
@@ -221,6 +224,7 @@ def do_snmp(*args, **job_info):
221224
"expression": "$1",
222225
"output_path": "lm-sensors"
223226
},
227+
"sensor_id": ...,
224228
"interval": 30
225229
},
226230
{
@@ -234,10 +238,10 @@ def do_snmp(*args, **job_info):
234238
"expression": "$1",
235239
"output_path": "lmsensorscore3"
236240
},
241+
"sensor_id": ...,
237242
"interval": 20
238243
}
239-
],
240-
"account_id": 1
244+
]
241245
}
242246
"""
243247
log.info("Running job for account [{account_id}], IP [{ipv4}]".format(

0 commit comments

Comments
 (0)