I had a similar requirement awhile back and Jim was nice enough to throw together this solution - it shouldn't take much effort to modify it for your own environment:
**********************************************************************************************************
Here is a script that will do what you asked. You will need to replace the NimBUS address with the correct one. You will also need to copies, one for each desired interval change, then run the scripts with the scheduler.
Remember to make sure the NAS Probe access is set to admin:
-- Script to change the polling interval of a probe
-- Replace the NimBUS address here with the correct one for the customer
addr = "/JMC_Development/jchristen-lt2/jchristen-lt2/controller"
cmd = "probe_config_set"
-- the required arguments to a nimbus.request() are required to be sent in a PDS object
-- the probe_config_set command needs the probe name, config file section, the key, and the value
myArgs=pds.create()
-- probe name
pds.putString(myArgs,"name", "interface_traffic")
-- config file section
pds.putString(myArgs,"section", "setup")
-- key
pds.putString(myArgs,"key", "interval")
-- value
pds.putString(myArgs,"value", "30")
nimbus.request(addr,cmd,myArgs)
pds.delete (myArgs)
-- Deactivate the probe
cmd = "probe_deactivate"
myArgs=pds.create()
-- probe name
pds.putString(myArgs,"name", "interface_traffic")
nimbus.request(addr,cmd,myArgs)
--Active the probe
cmd = "probe_activate"
nimbus.request(addr,cmd,myArgs)
pds.delete(myArgs)