>>> On 7/9/2009 at 12:16 PM, in message <e572dbf60907091116o45fd3a7fud46fb91f71e1b...@mail.gmail.com>, Greg Bruno <greg.br...@gmail.com> wrote: > On Thu, Jul 9, 2009 at 10:52 AM, Brad Nicholes<bnicho...@novell.com> wrote: >> >> One of the new feature in Ganglia 3.1 is the ability to add extra data to > the metric definition that is passed on with the metric metadata. Would > anything like that help you? > > > yes, that may help. > > do you have an example of how add extra data from a user-defined python > metric?
Yes, the disk python module under gmond/python_modules/disk adds a 'mount' extra data to the definition. Basically in a python module, any extra properties that you add to the metric definition dictionary will show up as extra data in the metadata for the metric. Of course it is up to you to modify the web front end to take advantage of the extra metadata. You should be able to see in the front end PHP code where extra data like 'Group' and 'Title' are being used. Brad ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers