AnsweredAssumed Answered

Globally change all probe profile settings?

Question asked by Daniel Blanco Champion on Sep 19, 2016
Latest reply on Sep 21, 2016 by Daniel Blanco

Hello, wondering what method could I use to accomplish the following. We have to change all instances of our url_response probe and w/in all active profiles that are setup up, we have to change w/in the probes cfg to turn on sampling and alert at 3 samples. Right now they are all set to average=no. So have to change "average=yes" and add the line: "max_samples=3"

 

Its not a global setting w/in the probe otherwise would just create an updated archive package and deploy.

Since each profile has its own unique name, can we use a pu command or a script to go thru each instance, traverse each profile and then make the following change below?

 

<profile>

   <profile_name>  //could be many of these and all different

        <alarm>

           average=yes

           max_samples=3

 

Has anyone done anything similar to this in the past that they could share?

Outcomes