Hello there,
thank you for your inquiry.
I encourage you to ask the PRTG administrator for a copy of the following folder:
C:\Program Files (x86)\PRTG Network Monitor\lookups\ |
That will give you a good idea of what's 'available'. This is a valid JSON Example of output:
{
"prtg": {
"result": [
{
"channel": "Channel 1 (float)",
"value": "12.3456",
"float": "1",
"unit": "custom",
"customunit": "celsius"
},
{
"channel": "Channel 3 (lookup)",
"value": "1",
"valuelookup": "prtg.standardlookups.exchangedag.yesno.stateyesok"
}
],
"text": "The sensor's message"
}
}
Note that valuelookup has the value of prtg.standardlookups.exchangedag.yesno.stateyesok. This matches a *.ovl file within the lookups folder. In this particular case, this one:
prtg.standardlookups.exchangedag.yesno.stateyesok.ovl
<?xml version="1.0" encoding="UTF-8"?>
<ValueLookup id="prtg.standardlookups.exchangedag.yesno.stateyesok" desiredValue="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PaeValueLookup.xsd">
<Lookups>
<SingleInt state="Ok" value="1">Yes</SingleInt>
<SingleInt state="Error" value="0">No</SingleInt>
</Lookups>
</ValueLookup>
The name of the valuelookup must match the id= within one of the lookups loaded in PRTG. Checking the contents of the aforementioned folder is the best way to find "what lookups are available"(and what values they support).
Please let me know if this clarifies the situation. Please just keep in mind that lookups are stored on the PRTG Core Server, not on the Probe (because the evaluation of results is handled by the Core, not Probes)
Best Regards,
Luciano Lingnau [Paessler Support]
Add comment