I have a custom SNMP sensor that shows integer values ??(100, 101, 102 and 103) but the PRTG shows the graphs with the vertical axis in percentage (%). I have already adjusted the manual vertical scale with the value 100 as minimum and 103 as maximum, but the problem continues, the percentage continues to appear. What I want is for the vertical axis scale to show me the values ??in the same format that the sensor receives, I do not want them in percentage. What could I do?.

Additionally, for this sensor I am using the following Lookups file:

<? xml version = "1.0" encoding = "UTF-8"?>
<ValueLookup id = "StateOfBodies" desiredValue = "1" undefinedState = "Warning" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation = "PaeValueLookup.xsd">
 <Lookups>
         <SingleInt state = "Ok" value = "100"> Float </ SingleInt>
         <SingleInt state = "Ok" value = "101"> Download </ SingleInt>
         <SingleInt state = "Ok" value = "102"> Load </ SingleInt>
         <SingleInt state = "Ok" value = "103"> Not Available </ SingleInt>
 </ Lookups>
</ ValueLookup>

Article Comments

Hi there,

Please upload a screenshot of the graph site which displays the value in percent so we can analyze the issue further. You can upload the screenshot to any free image hoster or your own webserver.

Best regards.


Nov, 2017 - Permalink

When I select the option to see the data live, if it is possible to visualize how I want it.
This is how I really want it to look:
https://ibb.co/iQOLTG
https://ibb.co/cyCKNb

This is how it appears when accessing the data tab in 2 days, 30 days or 365 days:
https://ibb.co/cKV62b
https://ibb.co/khYR2b


Nov, 2017 - Permalink

Hi Fernando,

Unfortunately, that is not possible as the graphs, that show a bigger timeframe than the live graph, are averaged. So unfortunately, it is not possible to average string values. Therefore you only see the percentage when the desired value was present during the scans. This would result in the following data:
Scan 1: DesiredValue
Scan 2: DesiredValue
Scan 3: NotDesiredValue
Scan 4: DesiredValue
Scan 5: DesiredValue
Average of the scans: 80% Desired Value.

Best regards.


Nov, 2017 - Permalink

If I change the Lookups file to return a number, can the PRTG graph that return value? I understand that it is not possible to graph String, but can you graph that whole value returned by the Lookups file?

<? xml version = "1.0" encoding = "UTF-8"?> <ValueLookup id = "StateOfBodies" desiredValue = "1" undefinedState = "Warning" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation = "PaeValueLookup.xsd"> <Lookups> <SingleInt state = "Ok" value = "100"> 0 </ SingleInt> <SingleInt state = "Ok" value = "101"> 1 </ SingleInt> <SingleInt state = "Ok" value = "102"> 2 </ SingleInt> <SingleInt state = "Ok" value = "103"> 3 </ SingleInt> </ Lookups> </ ValueLookup>


Nov, 2017 - Permalink

Hi Fernando,

I tested this in our testing-environment and it doesn't work either. After discussing this with a developer, there is no way currently to graph lookup values in the higher data tabs, only in the live tab. The reason is PRTG can't really decide if a lookup only consists of Integers or String or both, which is why the result is alway displayed in percent.

Best regards.


Nov, 2017 - Permalink