Is there any way to make the Thold templates independant from the data source templates?
This would be a great change if it is. My problem is that when I discover a device and create graphs for it, the default data template used for all the "interfaces" discovered is the "interface-traffic" data template. So, I create them all with that (because that is the easiest way to do it), then change all interfaces of a particular speed to their own specific template, then create a thold template, then click the "auto-create thresholds", and whalla - all my tholds are created.. The problem is that I have to do this for every interface type for every device, which is not the biggest problem. The biggest problem is changing that thold later. Say I am alerting on all DS3s at 40mbs, but I want to change all(let's say 800+) DS3 interfaces to alert at 35mbs instead. I would have to click through each one and change each one individually. This is because if I leave the data templates on the specific interface type/speed, and don't change them back to the default "interface-traffic" template, they stop graphing. I know that this is because the graph template then needs to be changed, but that just seems like a lot more work - especially if you did not start you database with the thold plugin, and had hundreds of devices already discovered before you installed the thold plugin..
What I do now, is just do a "find and replace" in the mysql database from the command line, and that works fine - but it seems like there could be a little abstraction put into the way thold templates are used, and it would be just as easy through the GUI. I would propose that adding a column to any number of tables could accomplish this, but what does every one think? Am I the only one that has this problem? Is there an easier way to go about things that I am not seeing? What do you think Cigamit? Thanks for your thoughts.
-chadd.
Suggestion for Thold Templates
Moderators: Developers, Moderators
Re: Suggestion for Thold Templates
I think it would be fairly simple to add a "checkbox" to the threshold template, so when you update the template, it will synch all the associated thresholds back to the template.chadd wrote:Is there any way to make the Thold templates independant from the data source templates?
This would be a great change if it is. My problem is that when I discover a device and create graphs for it, the default data template used for all the "interfaces" discovered is the "interface-traffic" data template. So, I create them all with that (because that is the easiest way to do it), then change all interfaces of a particular speed to their own specific template, then create a thold template, then click the "auto-create thresholds", and whalla - all my tholds are created.. The problem is that I have to do this for every interface type for every device, which is not the biggest problem. The biggest problem is changing that thold later. Say I am alerting on all DS3s at 40mbs, but I want to change all(let's say 800+) DS3 interfaces to alert at 35mbs instead. I would have to click through each one and change each one individually. This is because if I leave the data templates on the specific interface type/speed, and don't change them back to the default "interface-traffic" template, they stop graphing. I know that this is because the graph template then needs to be changed, but that just seems like a lot more work - especially if you did not start you database with the thold plugin, and had hundreds of devices already discovered before you installed the thold plugin..
What I do now, is just do a "find and replace" in the mysql database from the command line, and that works fine - but it seems like there could be a little abstraction put into the way thold templates are used, and it would be just as easy through the GUI. I would propose that adding a column to any number of tables could accomplish this, but what does every one think? Am I the only one that has this problem? Is there an easier way to go about things that I am not seeing? What do you think Cigamit? Thanks for your thoughts.
-chadd.
I have also thought of adding an option to auto-create thresholds for all devices. This way, you could easily have your 800 hosts, create a template, then after a click and a few warning messages ("Danger Will Robinson!") you would have all your threshold setup and ready to go. The coding would be simple, just takes a bit of time to draft it all out.
Why not file it as a feature request on my bug tracker?
Who is online
Users browsing this forum: No registered users and 1 guest