Subject: |
RE: GraphPoint RPN exression - translate value |
Author: |
Jane Curry |
Posted: |
2017-08-03 07:26 |
How perverse! What are you wanting to actually do with these values?
Not sure where you are using the RPN??
I assume you are monitoring these devices with SNMP from zenperfsnmp?
One trick I have used in the past when SNMP returns "difficult" values for an OID, is to swap to using zencommand and construct the appropriate snmpget command to retrieve the value and then to post-process it - so you could have a Python dictionary to perform the translation between the SNMP response and the value you want to store. That way, the actual data that is stored is your real rate value.
Have a look at my OlsonPower Zenpack -
https://github.com/jcurry/ZenPacks.ZenSystems.olsonPower/blob/master/ZenPacks/ZenSystems/olsonPower/lib/getPowerValues.sh - the getPowerValues.sh script should give you some clues.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------
Subject: |
RE: GraphPoint RPN exression - translate value |
Author: |
Vaclav Cerny |
Posted: |
2017-08-04 02:17 |
After long hours I finally solved it by defining my own graph. I read CDEF Tutorial on RRDtool homepage and that gave me the right directon.
Thank you for you response.
------------------------------
United Networks SE
------------------------------
Subject: |
RE: GraphPoint RPN exression - translate value |
Author: |
Jane Curry |
Posted: |
2017-08-04 07:24 |
Any chance you could share your solution on the forum here?
Thanks,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------