Validation oversight when addding channel
I tried adding a channel as such and PRTG returned a bad request response since the kind was custom but the customunit wasn't defined.
Code that doesn't work
s3_bucket_data.add_channel(name="Total Buckets", mode="integer", kind="Custom", value=i)
Code that does work
s3_bucket_data.add_channel(
name="Total Buckets", mode="integer", kind="Custom", customunit="buckets", value=i
)
Edited by Greg Campion