neuralfraud / grafana-prtg

A PRTG Datasource plugin for Grafana
180 stars 75 forks source link

Cannot get the RAW SNMP data to be correct #124

Open palidin74 opened 5 years ago

palidin74 commented 5 years ago

For some reason I am not understanding how to work with this pluging when it comes to the need for a divide or multiply modification on the RAW data being retrieved from PRTG. Any assistance would be greatly appreciated.

For example I have a temp sensor, when the SNMP MIB OID is retrieved from the device it gives all three digits with no decimal such as 241. When its actually 24.1c. The RAW value that is recorded in PRTG is 241 and that is what it appears to be retrieving. I cannot modify the RAW data without setting up a resource intensive sensor factory to modify the RAW data before its placed into the PRTG database. With other data sources such as prometheius you can simply please a /10 in the math select query. I dont see any such function within the PRTG plugin? How would one go about modifying the RAW data so its displayed correctly in Graphana?

Thank you again.

bradleymitchel1 commented 5 years ago

Hi Palidin74,

You can download the development plugin which contains a multiplier. Setting to 8 worked for me.

https://github.com/neuralfraud/grafana-prtg/tree/Development

Cheers

Brad

neuralfraud commented 5 years ago

@palidin74 Try new build, see CHANGELOG.md for details, you can multiply it by .1 to get the correct temperature.

Evil-Steve-80 commented 4 years ago

Could we get the multiplier option from the dev plugin added to the main version please.