我无法理解,如何创建结构,因为每个监视元素都彼此不同,请帮帮我
<cm>
<id>MONIT_SYNC</id>
<monitor name="APPLICATION_MONITOR">
<name>AD</name>
<script>AD.exe</script>
<freq>1</freq>
</monitor>
<monitor name="EVENTLOGS">
<alert>1</alert>
<freq>15</freq>
<eventlog>Active Directory Web Service</eventlog>
<event_include>Microsoft-Windows-DNS-Server</event_include>
<event_exclude/>
<sops/>
</monitor>
<monitor name="PING">
<reqid>2579643</reqid>
<alert>1</alert>
<freq>2</freq>
<repeatfreq>1</repeatfreq>
<repeatcount>1</repeatcount>
<wmi-cred>
<![CDATA[test\test;test]]>
</wmi-cred>
<snmp-str>null</snmp-str>
<hosts>172.24.221.140</hosts>
<hung_monitor>0</hung_monitor>
<ipswmi>172.24.221.140</ipswmi>
<sops/>
</monitor>
</cm>
我无法让每台显示器都有不同的元素。