Menu

#1424 [HHQ-2029] Improvement: Add some type of resource filtering

Bug
open
None
1
2012-10-09
2008-04-29
No

http://jira.hyperic.com/browse/HHQ-2029
It'd be nice if the alert templating could be extended to configured instances of a service resource, rather than generally applying to ALL service resources of that type.



For instance, right now, a person can only define 1 File Mount resource alert. It has no idea whether it's applying that to Windows hosts, AIX hosts, Linux hosts or Solaris hosts. It is simply dumping them all into the same category and applying that template to all of them.



Rather, it'd be better if the alert templates were advanced enough to only be applied to resources that meet certain criteria. In that way, I could say ( If resource.name = '/var' and resource.platform.os = 'Linux' ), then apply this alert template.



This could apply to alot of things, not just services. You could define alert templates for specific instances of your platforms.



I understand some of this can be applied via groups but groups. If I inventory a new Filemount, it doesn't automatically get added to a group that is looking for specific criteria - I have to add it. Alert templates benefit from being global. Another way to look at this would to be to establish smart groups - groups that dynamically group resources based on criteria. Then alerts can just be applied to those groups.



Either way, it'd be nice if some type of resource filtering for alert templates could be implemented - either via the current alert templates or via dynamic groups.



The Mass Plugin seems to have some abilities to do dynamic groups - except that they must be manually synced. Could this instead be integrated into a real plugin that inserts itself into the inventory process?



For instance, when submitting a resource to inventory, it would see if the HQU plugin had any regex and then insert itself into that group. Not sure, just playing around with the idea.



However, this seems like it'd be sorely needed and would make alert templating so much more useful than it currently is.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.