I have an LLD discovery rule that sometimes returns values that contains "@" symbol as part of the JSON. example below
[
{
"Binary": "cinder-volume",
"Host": "servername@storage",
"Zone": "default",
"Status": "enabled",
"State": "up",
"Updated At": "2022-01-13T11:49:56.000000"
}
]
Is there any way to escape the "@" symbol so it can be used in item prototypes as I'm currently getting 'Character "@" is not allowed'?
[
{
"Binary": "cinder-volume",
"Host": "servername@storage",
"Zone": "default",
"Status": "enabled",
"State": "up",
"Updated At": "2022-01-13T11:49:56.000000"
}
]
Is there any way to escape the "@" symbol so it can be used in item prototypes as I'm currently getting 'Character "@" is not allowed'?
(Allow all characters to be passed in arguments to user-defined parameters).
Comment