Hi Jeremy,

On Mon, Mar 08, 2010 at 11:27:25AM -0600, Jeremy Hanna wrote:
>               <Match>
>                       Regex "Live Nodes</a>.*?([0-9]+)<tr"
>                       DSType "CounterSet"
>                       Type "counter"
>                       Instance "live-nodes"
>               </Match>

this looks like the information you're collecting here is "the number of
nodes currently running". That's a number that can go up when a host is
added and down if one is removed.

For this kind of data you should use a GAUGE based data set, for example
the data set named "gauge". The "DSType" option should then be set to
one of the "Gauge*" settings, for example "GaugeAverage".

I'm also surprised the regular expression compiles and returns anything:
We're using the "Extended POSIX Regular Expressions", and as far as I
know they don't support the non-greedy "*?" operator. The regex(7)
manual page should be able to tell you in detail.

Regards,
--octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to