Answer the question
In order to leave comments, you need to log in
How to "trim" a string in JSON in Zabbix in preprocessing using JavaScript?
Good afternoon. In zabbix using low-level discovery I get JSON
[
{
"AllocatedSpace":"4500504576",
"DiffVolume":"Win32_Volume.DeviceID=\\\"\\\\\\\\\\\\\\\\?\\\\\\\\Volume{7070e300-8301-11e9-80b5-8010667d187a}\\\\\\\\\\\"",
"MaxSpace":"11810111488",
"UsedSpace":"3965501440",
"Volume":"Win32_Volume.DeviceID=\\\"\\\\\\\\\\\\\\\\?\\\\\\\\Volume{7070e300-8301-11e9-80b5-8010667d187a}\\\\\\\\\\\""
},
{
"AllocatedSpace":"3411214336",
"DiffVolume":"Win32_Volume.DeviceID=\\\"\\\\\\\\\\\\\\\\?\\\\\\\\Volume{7060e484-82e1-11e9-80b3-806e6f6e6963}\\\\\\\\\\\"",
"MaxSpace":"5330960384",
"UsedSpace":"3098034176",
"Volume":"Win32_Volume.DeviceID=\\\"\\\\\\\\\\\\\\\\?\\\\\\\\Volume{7060e484-82e1-11e9-80b3-806e6f6e6963}\\\\\\\\\\\""
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question