Cisco Cisco Elastic Services Controller 2.1 Guía Del Desarrollador
<network>esc-net</network>
</interface>
<interface>
<nicid>1</nicid>
<network>mk-yesc-net-u</network>
</interface>
</interfaces>
<kpi_data>
<kpi>
<event_name>VM_ALIVE</event_name>
<metric_value>1</metric_value>
<metric_cond>GT</metric_cond>
<metric_type>UINT32</metric_type>
<metric_collector>
<type>ICMPPing</type>
<nicid>0</nicid>
<poll_frequency>3</poll_frequency>
<polling_unit>seconds</polling_unit>
<continuous_alarm>false</continuous_alarm>
</metric_collector>
</kpi>
<kpi>
<event_name>VM_OVERLOADED</event_name>
<metric_value>1</metric_value>
<metric_cond>GE</metric_cond>
<metric_type>UINT32</metric_type>
<metric_collector>
<type>Memory</type>
<nicid>0</nicid>
<poll_frequency>3</poll_frequency>
<polling_unit>seconds</polling_unit>
<continuous_alarm>false</continuous_alarm>
</metric_collector>
</kpi>
<kpi>
<event_name>VM_UNDERLOADED</event_name>
<metric_value>99</metric_value>
<metric_cond>LE</metric_cond>
<metric_type>UINT32</metric_type>
<metric_collector>
<type>CPU</type>
<nicid>0</nicid>
<poll_frequency>3</poll_frequency>
<polling_unit>seconds</polling_unit>
<continuous_alarm>false</continuous_alarm>
</metric_collector>
</kpi>
</kpi_data>
<rules>
<admin_rules>
<rule>
<event_name>VM_ALIVE</event_name>
<action>>ALWAYS log</action>
<action>FALSE recover autohealing</action>
<action>TRUE servicebooted.sh</action>
</rule>
<rule>
<event_name>VM_OVERLOADED</event_name>
<action>ALWAYS log</action>
</rule>
<rule>
<event_name>VM_UNDERLOADED</event_name>
<action>ALWAYS log</action>
</rule>
</admin_rules>
</rules>
<config_data>
<configuration>
<dst>iosxe_config.txt</dst>
<file>file://cisco/images/csr_config.sh</file>
</configuration>
</interface>
<interface>
<nicid>1</nicid>
<network>mk-yesc-net-u</network>
</interface>
</interfaces>
<kpi_data>
<kpi>
<event_name>VM_ALIVE</event_name>
<metric_value>1</metric_value>
<metric_cond>GT</metric_cond>
<metric_type>UINT32</metric_type>
<metric_collector>
<type>ICMPPing</type>
<nicid>0</nicid>
<poll_frequency>3</poll_frequency>
<polling_unit>seconds</polling_unit>
<continuous_alarm>false</continuous_alarm>
</metric_collector>
</kpi>
<kpi>
<event_name>VM_OVERLOADED</event_name>
<metric_value>1</metric_value>
<metric_cond>GE</metric_cond>
<metric_type>UINT32</metric_type>
<metric_collector>
<type>Memory</type>
<nicid>0</nicid>
<poll_frequency>3</poll_frequency>
<polling_unit>seconds</polling_unit>
<continuous_alarm>false</continuous_alarm>
</metric_collector>
</kpi>
<kpi>
<event_name>VM_UNDERLOADED</event_name>
<metric_value>99</metric_value>
<metric_cond>LE</metric_cond>
<metric_type>UINT32</metric_type>
<metric_collector>
<type>CPU</type>
<nicid>0</nicid>
<poll_frequency>3</poll_frequency>
<polling_unit>seconds</polling_unit>
<continuous_alarm>false</continuous_alarm>
</metric_collector>
</kpi>
</kpi_data>
<rules>
<admin_rules>
<rule>
<event_name>VM_ALIVE</event_name>
<action>>ALWAYS log</action>
<action>FALSE recover autohealing</action>
<action>TRUE servicebooted.sh</action>
</rule>
<rule>
<event_name>VM_OVERLOADED</event_name>
<action>ALWAYS log</action>
</rule>
<rule>
<event_name>VM_UNDERLOADED</event_name>
<action>ALWAYS log</action>
</rule>
</admin_rules>
</rules>
<config_data>
<configuration>
<dst>iosxe_config.txt</dst>
<file>file://cisco/images/csr_config.sh</file>
</configuration>