From: <Dan...@ba...> - 2008-07-01 14:48:01
|
> > - How should such a module handle disks that are not always > present, > > e.g. iSCSI SAN volumes attached after the process has > started? Is it > > appropriate to re-initialise the list of metrics while gmond is > > running, or is it necessary to restart the entire gmond > process each > > time disks (or NICs) are attached/detached? > > > > In the current implementation, gmond will have to be > restarted in order to recognize new disks. I have looked > into a way for the metrics list to be reinitialized on the > fly, but haven't been able to come up with a good > implementation. Part of the problem is that any new metric > also requires a configuration file change. There would have > to be some way for either a module or a user to poke gmond > and tell it to re-read the configuration file and then > reconstruct the metrics list without dropping any of the in > memory data. I am guessing that a robust implementation will > probably also include some way of generalizing the > Collection_Group configuration section so that each metric > does not have to be listed individually. The set of enabled > metrics would somehow have to be generated on the fly. > How about metric instances, e.g. if the metric is the number of IO reads, there could be an instance for each volume. All of these instances might share the same name and/or index, but have some kind of sub-index for each instance (e.g. hda, hdb) Such a scheme would need an additional discriminator field in the XML, and gmetad might have to split the rrds into sub-directories. Regards, Daniel _______________________________________________ This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. _______________________________________________ |