Hi,
Am 20.12.2011 um 22:36 schrieb Al Amyot:
Is there any way for a Script plugin to “find” and add new metrics?
Normally, these are hardcoded in the xml configuration file of course.
Not currently.
We had a student doing his master thesis on a proof-of-concept for this. Results are in
the 'nagios' branch in git.
His work is also described here:
http://rhq-project.org/display/RHQ/Plugins+-+Nagios (in
the attached pdf)
That prototype only delivers a full cut through from discovery of types/metrics on agents
until peristence in the db,
but does not answer questions like what happens if the discovery does no longer find a
certain type or metric (you
can't just automatically delete stuff, as this may have been the result of some
network glitch) etc.
Heiko
--
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera