From: Andrea <ar...@co...> - 2008-11-06 15:26:33
|
Jeff Gehlbach ha scritto: > On Nov 5, 2008, at 11:43 AM, Andrea wrote: > >> Is there a way to use the same resource type in datacollectionconfig.xml >> file ( i.e. diskIOIndex ) to get DISKIO info ( and also graphing ) from >> only a subset of the devices on the target server ?? >> >> Suppose i have a target-node which have 4 filesystems like these: >> ######################### >> /dev/sdb2 on /var type ext3 (rw,noatime) >> /dev/sda3 on /usr type ext3 (rw) >> /dev/sda2 on /tmp type ext3 (rw) >> /dev/sdb1 on /opt type ext3 (rw,noatime) >> ######################### >> >> Howto get and graph DISKIO info from only, for example, /dev/sdb2 and >> /dev/sdb3 and not the others ?? > > Not currently. There's a notion in the collector of a > PersistenceSelectorStrategy whose job would be to do exactly what > you're asking, but it has not yet been implemented. The references to > org.opennms.netmgt.collectd.PersistAllSelectorStrategy actually refer > to a nonexistent class; at some point persistence selectors will be > implemented and this will become possible without using a bunch of > scalar attributes, but for now I think that's the only way. > > -jeff > > Hi Jeff, thanks a lot for the explanation and for the quick answer: i'll ask the server admin if really need to "purge" the graphs to only see those of interest; otherwise i'll use scalar attributes... --Andrea |