[collectd] [PATCH] Added support for interval/database on oracle plugin
Daniel Hilst
danielhilst at gmail.com
Thu Apr 19 17:41:59 CEST 2012
I implemented support for Interval per Database entry on oracle plugin
Example of config:
<Plugin oracle>
<Query "query01">
Statement "select sys_context('userenv','db_name') as sid ,count(1)
as count from dual"
<Result>
Type "gauge"
InstancesFrom "sid"
ValuesFrom "count"
</Result>
</Query>
<Database "database.example.com">
ConnectID "orcl"
Username "system"
Password "secret"
Query "query01"
Interval 6
</Database>
<Database "monitor.example.com">
ConnectID "monitor"
Username "system"
Password "secret"
Query "query01"
</Database>
</Plugin>
if no Interval is passed default Interval is used.
Cheers
--
Follow the white rabbit!
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-oracle.c-Added-support-for-interval-database.patch
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120419/4a000cb0/attachment.ksh>
More information about the collectd
mailing list