[collectd] Oracle plugin

Florian Forster octo at verplant.org
Wed Apr 22 23:36:14 CEST 2009


Hi Craig,

On Mon, Apr 20, 2009 at 03:02:24PM -0500, Elliott, Craig R wrote:
> I have recently started using collectd to gather information about my
> system and would like to use the Oracle plugin to retrieve some info
> to eventually graph using rrd.
> 
> The issue that has arisen is the config file collectd.conf stores the
> database login and password. 

unfortunately, I'm absolutely no database person.. Roman, the DBA who
provided the database when I developed the plugin, did something with a
system-ID or similar and then I magically could connect.. I wanted to
ask him about this today, but he wasn't in.. I'll see if I can catch him
online, but maybe there's some other Oracle guru around?

> Is there a way to pass this info in without hard coding?

What? Like prompting for it on startup? Or command line arguments? I
don't think those are good options for a daemon.. Are credentials with
which you really can only query the information needed for the
statistics such a security risk? How does monitoring connect to the DB?
Where are the credentials stored then?

Are you aware that you can `include' other files in the config? Maybe
it's a good compromise to have the credentials in a separate file with
extra restrictive access rights?

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090422/103a7452/attachment.pgp 


More information about the collectd mailing list