On Sep 15, 2008, at 8:20 PM, latent wrote:
Right now I have an OID that will return how much data a web proxy has served to browsers, which is a really useful metric when it comes to trying to see how much web bandwidth you're using. There's only one problem -

It returns the value as a string, in hex.

Backwards.

For example - if the proxy server had filled 450MB of data, this would be:

450,000,000 to Hex - 1A D2 74 80

And the value this OID will return is: 80 74 D2 1A

What I'd really like to do is feed this data into Zenoss, and have it come out as a graph, preferably displaying 'MB/minute' or something similar.

I've asked some boneheaded questions on the forums before, including the millionth 'missing RRD file' question, but I've leapt those hurdles. Now, though, even with all the searches, documentation and google-fu I possess, I'm a little stuck here.

Any RRD / zenoss gurus running around that can help out? I can certainly figure out the graph parameters, it's converting the backwards hex string into decimal that I haven't even figured out how to get started on.

It sounds like the raw value coming back through SNMP might not be hex, but snmpwalk is trying to be helpful and displaying it this way. If this is the case you should just make sure that you setup your data point as a COUNTER type. Then your graph will show you bytes/sec.

Make sure you delete the corrosponding RRD file in /opt/zenoss/perf/ Devices/deviceName/ after you change the type of the data point so that it can be recreated with the proper type.

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to