I'm wondering if it is possible to write a script that will change a polling interval for an interface.
I want it so when an important interface changes from down to up, that an alert will trigger (already created) and use the 'Trigger Action' to execute this script. When the interface goes back down, I'd also want another script to change it back to default polling interval (as a 'Reset Action).
I don't want to just manually change the interval for each of these permanently because it will be for around 800 interfaces (of which only around 50 will be up at max at any given time) and that will max out my polling engine.
These interfaces would be up from 30 minutes, up to a couple hours, so increasing the interval is important to gather all statistics during those times.
Any help will be much appreciated. Thanks!