On Wednesday, 14 October 2020 08:18:00 UTC+1, Justin Counsell wrote:
>
> I have run this through a yaml formatting test with no issues. i'm not
> getting yaml formatting errors.
>
That's because
modules:
fortigate_snmp:
walk:
...
is syntactically valid yaml: it's an object with three keys. But it's not
semantically valid to the generator, which doesn't expect to see top-level
keys "fortigate_snmp" or "walk".
If you think of it as JSON, it's like the difference between
{
"modules":null,
"fortigate_snmp":null,
"walk": {...}
}
and
{
"modules": {
"fortigate_snmp": {
"walk: {...}
}
}
}
The first is not understood by the generator, the second is.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/8bbd301b-37a8-4c72-af87-afe8e12a3bb4o%40googlegroups.com.