File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments