Problem running RRDBot

11 views
Skip to first unread message

Simon

unread,
Mar 23, 2009, 5:14:13 PM3/23/09
to rrdbot
I'm sure this is something stupid, but I've looked over the sample
configuration file and can't see where I'm failing.

I'm attempting to create an RRD file to monitor an OID of type 'GAUGE'
and I receive this error when running rrdbot-create:

rrdbot-create: 2/12.conf: invalid field type: GAUGE
rrdbot-create: skipping rrd creation due to configuration errors: /
home/komodo/rrd/2/12.rrd

Here is the configuration from 2/12.conf:

# Temperature
[general]
rrd: /home/komodo/rrd/2/12.rrd
[poll]
Interval: 300
DATA.source: snmp2c://obscured@someip/1.3.6.1.4.1.9.9.13.1.3.1.3.1005
Timeout: 2
[create]
Archive: 12/hour * 4 weeks, 6/hour * 3 months, 24/day * 1 year
cf: AVERAGE, LAST, MAX, MIN
DATA.max: U
DATA.min: U
DATA.type: GAUGE

Does something look obviously wrong with my config? It looks pretty
similar to the sample configurations. Thanks for any input you can
provide.

Simon

unread,
Mar 24, 2009, 3:54:04 PM3/24/09
to rrdbot
For reference for anyone else reading this in future, I got this to
work by changing DATA.type: GAUGE to DATA.type:GAUGE.

Looks like every other option accepts a space after the colon. Is this
a bug?

Stef Walter

unread,
Mar 25, 2009, 12:17:23 AM3/25/09
to rrd...@googlegroups.com, simon.w...@digitalgunfire.com
Simon wrote:
> For reference for anyone else reading this in future, I got this to
> work by changing DATA.type: GAUGE to DATA.type:GAUGE.
>
> Looks like every other option accepts a space after the colon. Is this
> a bug?

Thanks for catching that. Does the attached patch fix the problem?

Cheers,

Stef

rrdbot-trim-config-value.patch
Reply all
Reply to author
Forward
0 new messages