[rrd-users] CDEF: comparing Strings
Aleksandr Pasechnik
aleksandr.pasechnik at gmail.com
Tue Nov 8 16:02:28 CET 2011
As an off-topic note, I'm not sure this is correct, Simon. These days a good deal of people use threaded email clients (at least people i interact with). Given that this is a mailing list and most people already have the rest of the message thread, it makes sense to put the reply at the top and have the rest of the message for reference at the bottom. Of course, if you're answering a number of specific questions listed in the previous email, it might make some sense to interleave your responses with the previous content. My argument is that the quoted content is not for reading, it is for reference. Comments?
On Nov 8, 2011, at 7:30 AM, Simon Hobson wrote:
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> Andre Luis wrote:
>
>>> Simple, in your script, translate from whatever you get back via SNMP
>>> to a numeric value. Eg, "good" = 1, "failed" = 0. Store that number
>>> (use gauge datatype) in RRD. Then what you get out from RRD will be a
>>> measure of "goodness" over the consolidation/normalisation period
>>> queried. Eg, if when you consolidate, half the samples were 1, and
>>> half were 0, then you'd get 0.5 returned.
>
>> how do I do that? ..
>> it's a xml script..
>> the part where the status is taken is this one:
>>
>> <StatusServer>
>> <name>StatusServer</name>
>> <method>get</method>
>> <source>value</source>
>> <direction>output</direction>
>> <oid>.1.3.6.1.4.1.140.625.360.1.60</oid>
>> </StatusServer>
>
> Dunno, this is the list for help on RRD Tools. You'd probably be
> better asking on the list that supports whatever tool (did you say
> Cacti ?) that you are using for data collection.
>
> --
> Simon Hobson
>
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
More information about the rrd-users
mailing list