-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I want to automatically deploy all necessary monitors and groups to monitor my Proxmox instances.
So using this snippet:
api.add_monitor(type=MonitorType.JSON_QUERY,
name='Wearout',
url=f'https://192.168.178.241:8006/api2/json/nodes/server/disks/list',
jsonPath=f"$.data[devpath='{disk_name}'].wearout",
jsonPathOperator='>=',
expectedValue='99',
parent=disk_group,
ignoreTls=True)
```
throws an error stating that jsonPathOperator is not supported.
Metadata
Metadata
Assignees
Labels
No labels