UNSOLVED

Christian4

updated

15 years ago

C

Christian4

30 Posts

0

893

September 21st, 2011 02:00

Dynamic Model: Define own thresholds settings

Is there a way how I can configure own thresholds settings within IP domain with Dynamic Modelling.

As far as I can see the parent class is ICF_Setting. I tried with following:

interface System_SC_Nexus_Performance:ICF_Setting{

  /* some thresholds */

}

After compiling and restarting the domain I could not select anymore the settings to add them to a threshold group.

The same thing I did for Polling. There it works. Following code does it:

interface System_SC_NetSNMP:ICF_PollingSetting{

  /* some thresholds */

}

Regards,

Christian

  • kfosburg

    1 Rookie

    •

    18 Posts

    276

    0

    Posted September 22nd, 2011 07:00

    The short answer is Yes, but it's not trivial. I will attempt to post a series over the next week on a step by step process...

    Karl

  • Christian4

    30 Posts

    276

    0

    Posted September 22nd, 2011 21:00

    The answer is:

    interface System_SC_Nexus_Performance:ICF_Setting{

      /* some thresholds */

      refine stored Type = "THRESHOLD";

    }

    Regards,

    Christian

  • Hemulll

    2 Intern

    •

    138 Posts

    276

    0

    Posted September 23rd, 2011 05:00

    Example of threshold and polling setting

    interface Bras_Dhcp_PPPoE_Polling_Setting : ICF_PollingSetting {

              refine stored DisplayName = "description";

              refine stored RuleSet = "xSettings/xBras_Dhcp_PPPoE-setting.asl";

              refine stored TargetClass = "ICIM_UnitaryComputerSystem";

    };

    //Threshold Settings

    interface Bras_Dhcp_PPPoE_Setting : ICF_Setting {

     

              refine stored DisplayName = "Monitoring of Bras sessions";

     

              refine stored TargetClass = "ICIM_UnitaryComputerSystem";

     

              attribute unsigned [0 .. 128000] HighThreshold

              "High threshold"

              = 1000;

     

              attribute unsigned [0 .. 128000] LowThreshold

              "Low threshold"

              = 10;

     

              attribute unsigned [0 .. 128000] DeltaThreshold

              "Delta threshold"

              = 100;

    };