home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2007 April / PCpro_2007_04.ISO / files / dsl / ManageEngineWiFiManager.exe / Disk1 / data1.cab / SourceFiles / WiFiManager.exe / conf / seed.file.backup < prev    next >
Encoding:
Extensible Markup Language  |  2004-06-21  |  15.5 KB  |  364 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE SEED SYSTEM "seed.file.dtd" >
  3.  
  4. <SEED>
  5.   <!--
  6.     Syntax for Seed file
  7. ** 
  8. ** Please look into the example_seed.file in the <WEBNMS_HOME>/conf/examples
  9. ** directory for more detailed examples.
  10. ** 
  11. ** DISCOVER            - a value of false will result in no discovery i.e., Autodiscovery would
  12. **                       be disabled completely.
  13. ** 
  14. ** DISCOVER_LOCALNET   - a value of false will prevent the discovery of local network.
  15. ** 
  16. ** ENABLE_SNMP_DISCOVERY - Enable discovery of SNMP devices. A value of false will prevent
  17. **                       the discovery engine from using SNMP for discovery.
  18. ** 
  19. ** ENABLE_ICMP_DISCOVERY - Enable discovery using ICMP-Ping. A value of false will prevent
  20. **                       the discovery engine from using ICMP-Ping for discovery.
  21. ** 
  22. ** ENABLE_SNMPV3_DISCOVERY - Enable discovery of SNMPv3 devices. A value of false will disable
  23. **                       the initial query for SNMPv3 for all the objects. But still the SNMPv3
  24. **                       devices will be discovered when the username & contextname are specified
  25. **                       in the <TO_DISCOVERIP> tag.
  26. ** 
  27. ** DISCOVERY_INTERVAL  - wait between discovering nodes, in seconds.
  28. **                       Takes values greater than or equal to zero.
  29. **                       If it is given a value less than zero replaces it by 10.
  30. ** 
  31. ** REDISCOVER_INTERVAL - The time interval between two complete discovery of networks, in 
  32. **                       hours:min:sec format. eg: 5:30:20
  33. **                       If a single value (without colon seperation) is given, the given value
  34. **                       would be considered in hours.
  35. **                       If given a negative value ( other than -1), it is replaced by 24.
  36. **                       If instead of REDISCOVER_INTERVAL, DAY_OF_THE_WEEK or DAY_OF_THE_MONTH 
  37. **                       is preferred, then give -1 for REDISCOVER_INTERVAL. If the discovery is
  38. **                       to be done based on day of week give -1 for day of the month
  39. ** 
  40. ** HOUR                - as a list(min=1,max 24)-"*" stands for discovery every hour
  41. ** 
  42. **                       eg1: 1,5,10
  43. **                       eg2: *
  44. ** 
  45. ** DAY_ OF_THE_ MONTH  - as a range(starting from 1 to a maximum of 31, )
  46. **                       or -1 if you want to disable it
  47. **                       "*" stands for all the days in a month
  48. ** 
  49. **                       eg: 10-15
  50. ** 
  51. ** DAY_OF_THE_WEEK     - write the first three letters of the day of the week in capital
  52. ** 
  53. **                       ("*" stands for all the days)
  54. **                       eg1: MON,WED,FRI       eg2:*
  55. ** 
  56. ** REDISCOVER_ALREADY_DISCOVER - true/false.
  57. **                       When networks are rediscovered either on rediscovery interval / based on
  58. **                       user direction this variable controls whether the nodes in that network
  59. **                       that are already discovered, need to be rediscovered or not.
  60. **                       If set to false, if a node is already discovered it will not be rediscovered.
  61. **                       if set to true, if a node is already discovered then the the object in the
  62. **                       storage corresponding to that node will be updated with new information.
  63. **                       Please note that this variable does not control the behaviour for DHCP
  64. **                       nodes. DHCP nodes will be rediscovered every time and the objects in the
  65. **                       storage will be updated with new information
  66. ** 
  67. ** 
  68. ** PING_RETRIES        - No of ICMP ping retries (status polling)
  69. ** 
  70. ** SNMP_TIMEOUT        - Timeout in seconds for all snmp requests.
  71. **                       The timeout is the time to wait for the first response in seconds,
  72. **                       before attempting a retransmission. The default value of timeout is 5 seconds.
  73. ** 
  74. ** SNMP_RETRIES        - Snmp Retries for discovery, status polling and data collection.
  75. **                       The default value of retries is 0. The timeout value grows exponentially 
  76. **                       for each retries. Timeout value is doubled for each retry. For example,
  77. **                       if the timeout is set to 5 secs and retries is set to 2, the first
  78. **                       retransmission will happen after 5 seconds, the second after 15 seconds and so on.
  79. ** 
  80. ** SNMP_PORTS            - Ports to try for communicating to the SNMP Agents on each node. The ports are tried in the order specified. A set of space seperated values can be given. Range of values can also be specified. This specification of ports is overridden by the SNMPAGENTPORT entry in the TO_DICOVER_IP specification. If not specified, the default value of 161 or the SNMPAGENTPORT value will be taken.
  81. For ex. SNMP_PORTS="165 170-175 180" will result in ports numbered 165, 170, 171, 172, 173, 174, 175 and 180 queried in that order for communicating to SNMP agents in each node. Once there is communication on a port, the others ports are not tried.
  82. ** 
  83. ** SNMPV3_USERNAMES    - The list of comma seperated userNames for SNMPv3 device discovery can be given.
  84. **                       This specification of userNames is overriden by the USERNAME entry in the
  85. **                       <TO_DISCOVERIP> specification. Once there is a communication on a userName
  86. **                       for the Agent, the other userNames are not tried
  87. ** 
  88. ** SNMPV3_CONTEXTNAME  - The common contextNames for SNMPv3 device discovery can be specified.
  89. **                       This specification of contextName is overriden by the CONTEXT_NAME entry
  90. **                       in the <TO_DISCOVERIP> specification.
  91. ** 
  92. ** READ_COMMUNITY      - The list of space separated communities while doing SNMP requests.
  93. ** 
  94. ** ENABLE_LOG            - a value of true will log detailed debug messages related to discovery in a seperate log file
  95. ** 
  96. ** NOTE: All the above mentioned fields should come under the <DISCOVERY .../>
  97. ** 
  98. ** To discover a network, a syntax as below should be entered.
  99. ** <TO_DISCOVER>
  100. **    <net NETWORK_ID="X.X.X.X" NETMASK="Y.Y.Y.Y" />
  101. ** </TO_DISCOVER>
  102. ** 
  103. ** Example 1:-
  104. **    <TO_DISCOVER>
  105. **        <net
  106. **           NETWORK_ID="192.168.1.0"
  107. **           NETMASK="255.255.255.0" />
  108. **    </TO_DISCOVER>
  109. ** 
  110. ** To configure multiple networks for discovery, a syntax as below should be used.
  111. ** Example 2:-
  112. **    <TO_DISCOVER>
  113. **        <net
  114. **           NETWORK_ID="192.168.1.0"
  115. **           NETMASK="255.255.255.0" />
  116. **        <net
  117. **           NETWORK_ID="192.168.2.0"
  118. **           NETMASK="255.255.255.0" />
  119. **    </TO_DISCOVER>
  120. ** 
  121. ** To discover only a range of ipaddresses in a network, using the following syntax.
  122. ** <TO_DISCOVER>
  123. **    <net NETWORK_ID="X.X.X.X" NETMASK="Y.Y.Y.Y" START_IP="Z.Z.Z.Z" END_IP="W.W.W.W" />
  124. ** </TO_DISCOVER>
  125. ** This will result in network X.X.X.X with netmask Y.Y.Y.Y being discovered.
  126. ** START_IP and END_IP entries allows discovery for a Range from START_IP to END_IP
  127. ** for the network X.X.X.X with netmask Y.Y.Y.Y
  128. ** 
  129. ** Example 1 :-
  130. **    <TO_DISCOVER>
  131. **        <net
  132. **           NETWORK_ID="192.168.1.0"
  133. **           NETMASK="255.255.255.0"
  134. **           START_IP="192.168.1.10"
  135. **           END_IP="192.168.1.20" />
  136. **    </TO_DISCOVER>
  137. ** means discovers from 192.168.1.10 till 192.168.1.20
  138. ** 
  139. ** Example 2 :-
  140. **    <TO_DISCOVER>
  141. **        <net
  142. **           NETWORK_ID="192.168.1.0"
  143. **           NETMASK="255.255.255.0"
  144. **           START_IP="192.168.1.10"
  145. **           END_IP="192.168.1.20" />
  146. **        <net
  147. **           NETWORK_ID="192.168.1.0"
  148. **           NETMASK="255.255.255.0"
  149. **           START_IP="192.168.1.30"
  150. **           END_IP="192.168.1.50" />
  151. **    </TO_DISCOVER>
  152. ** discovers only the nodes in the range from 192.168.1.10 to 192.168.1.20
  153. ** and 192.168.1.30 till 192.168.1.50 in the network 192.168.1.0
  154. ** 
  155. ** A syntax of:
  156. **    <TO_DISCOVER>
  157. **        <net
  158. **           NETWORK_ID="X.X.X.X"
  159. **           NETMASK="Y.Y.Y.Y"
  160. **           START_IP="Z.Z.Z.Z"
  161. **           END_IP="W.W.W.W"
  162. **           DHCP="true" />
  163. **    </TO_DISCOVER>
  164. ** will marks the nodes in the  Range from START_IP to END_IP in the network X.X.X.X with
  165. ** netmask Y.Y.Y.Y as DHCP nodes
  166. ** 
  167. ** To prevent discovering a network, follow the syntax as below
  168. **    <NOT_TO_DISCOVER>
  169. **        <net
  170. **           NETWORK_ID="X.X.X.X"
  171. **           NETMASK="Y.Y.Y.Y" />
  172. **    </NOT_TO_DISCOVER>
  173. ** will result in network X.X.X.X with netmask Y.Y.Y.Y not being discovered, even if directly attached to manager node.
  174. ** 
  175. ** To prevent dicovering multiple networks, follow the syntax as below
  176. **    <NOT_TO_DISCOVER>
  177. **        <net
  178. **           NETWORK_ID="X.X.X.X"
  179. **           NETMASK="Y.Y.Y.Y" />
  180. **        <net
  181. **           NETWORK_ID="Z.Z.Z.Z"
  182. **           NETMASK="W.W.W.W" />
  183. **    </NOT_TO_DISCOVER>
  184. ** will result in networks X.X.X.X with netmask Y.Y.Y.Y and Z.Z.Z.Z with netmask W.W.W.W not being discovered, even if directly attached to manager node.
  185. ** 
  186. ** A syntax of:
  187. **    <TO_DISCOVERIP>
  188. **        <ip
  189. **           NODE_ID="X.X.X.X" 
  190. **           NETMASK="Y.Y.Y.Y" />
  191. **    </TO_DISCOVERIP>
  192. ** will result in interface X.X.X.X being discovered with netmask Y.Y.Y.Y
  193. ** 
  194. ** Multiple devices can be discovered with the syntax below
  195. **    <TO_DISCOVERIP>
  196. **        <ip
  197. **           NODE_ID="192.168.1.25" 
  198. **           NETMASK="255.255.255.0" />
  199. **        <ip
  200. **           NODE_ID="128.18.11.10 "
  201. **           NETMASK="255.255.0.0" />
  202. **    </TO_DISCOVERIP>
  203. ** 
  204. ** will result in interface  192.168.1.25 with netmask 255.255.255.0 and
  205. ** 128.18.11.10 with netmask 255.255.0.0 being discovered before starting 
  206. ** autodiscovery on the networks 192.168.1.0 and 128.18.11.0
  207. ** 
  208. ** A syntax of:
  209. **    <TO_DISCOVERIP>
  210. **        <ip
  211. **           NODE_ID="X.X.X.X"
  212. **           NETMASK="Y.Y.Y.Y"
  213. **           COMMUNITY="mycommunity"
  214. **           SNMPAGENTPORT="myport" />
  215. **    </TO_DISCOVERIP>
  216. ** will result in interface X.X.X.X being discovered with netmask Y.Y.Y.Y,
  217. ** mycommunity and myport.
  218. ** NOTE: Here the COMMUNITY and SNMPAGENTPORT fields are optional
  219. ** 
  220. ** A syntax of:
  221. **    <TO_DISCOVERIP>
  222. **        <ip
  223. **           NODE_ID="X.X.X.X"
  224. **           NETMASK="Y.Y.Y.Y"
  225. **           USERNAME="myUserName"
  226. **           CONTEXT_NAME="myContextName"
  227. **           SNMPAGENTPORT="myport"
  228. **           SNMP_VERSION="myversion" />
  229. **    </TO_DISCOVERIP>
  230. ** will result in interface X.X.X.X being discovered with netmask Y.Y.Y.Y, using SNMPv3 discovery if the object is SNMPv3 enabled.
  231. ** NOTE: Here the USERNAME, CONTEXT_NAME, SNMPAGENTPORT and SNMP_VERSION fields are optional
  232. ** 
  233. ** A syntax of:
  234. **    <NOT_TO_DISCOVERIP>
  235. **        <ip
  236. **           NODE_ID="X.X.X.X"
  237. **           NETMASK="Y.Y.Y.Y" />
  238. **    </NOT_TO_DISCOVERIP>
  239. ** 
  240. **    will result in interface X.X.X.X with netmask Y.Y.Y.Y not being discovered, even if directly attached to manager node.
  241. ** 
  242. ** Example 1:-
  243. **    <NOT_TO_DISCOVERIP>
  244. **        <ip
  245. **           NODE_ID="192.168.1.25"
  246. **           NETMASK="255.255.255.0" />
  247. **    </NOT_TO_DISCOVERIP>
  248. ** The above will prevent the device with ipaddress 192.168.1.25 with netmask 255.255.255.0 from being discovered
  249. ** 
  250. ** Example 2:-
  251. **    <NOT_TO_DISCOVERIP>
  252. **        <ip
  253. **           NODE_ID="192.168.1.25"
  254. **           NETMASK="255.255.255.0" />
  255. **        <ip
  256. **           NODE_ID="192.168.1.30"
  257. **           NETMASK="255.255.255.0" />
  258. **    </NOT_TO_DISCOVERIP>
  259. ** The above will prevent the devices with ipaddress 192.168.1.25 with netmask 255.255.255.0 and 192.168.1.30 with netmask 255.255.255.0 from being discovered
  260. ** 
  261. ** A syntax of:
  262. **     <ALLOW_CRITERIA
  263. **         MOPropName1="value"
  264. **         MOPropName2="value1 value2" />
  265. ** 
  266. ** will result in node and interface objects being filtered and added only if they meet the specified criteria. MOPropName can be any of the ManagedObject's and it's derivatives' property names
  267. ** The values can be multiple space separated values.
  268. ** 
  269. ** Example 1:-
  270. **     <ALLOW_CRITERIA
  271. **         name="yogesh"
  272. **         sysOID=".1.3.6.1.4.1.311.1.1.3.2" />
  273. ** 
  274. ** The above will add only objects whose name is yogesh and sysOID property
  275. ** is .1.3.6.1.4.1.311.1.1.3.2. All other objects will be filtered out,
  276. ** i.e., All other objects will not be added to the database.
  277. ** 
  278. ** A syntax of:
  279. **     <DISALLOW_CRITERIA
  280. **         MOPropName1="value"
  281. **         MOPropName2="value1 value2" />
  282. ** will result in node and interface objects being filtered out and *not* added to the database if they meet the specified criteria. MOPropName can be any of the ManagedObject's and it's derivatives' property names
  283. ** 
  284. **     <DISALLOW_CRITERIA
  285. **         sysOID=".1.3.6.1.4.1.311.1.1.3.2"
  286. **         name="ranga srinivas" />
  287. ** The above lines will prevent discovery of objects, whose sysOID property
  288. ** is .1.3.6.1.4.1.311.1.1.3.2 and whose name startsWith either "ranga" or "srinivas"
  289. ** from being added to the Topology Database.
  290. ** 
  291. ** Wild character "*" can be used in the MOProperty value as below.
  292. **     <DISALLOW_CRITERIA
  293. **         type="SUN"
  294. **         name="A*" />
  295. ** The above lines will prevent discovery of objects, whose type property
  296. ** is "SUN" and the name of the object starts with letter "A"
  297. ** 
  298. ** NOTE: Only the 'name', 'type', 'ipAddress', 'sysOID' and the 'isSNMP' attributes of the ManagedObject (and it's derivatives) can be used with the ALLOW_CRITERIA and DISALLOW_CRITERIA specifications. Though others can be used, the behaviour is not tested and not guaranteed
  299. ** 
  300. ** Native Ping Related Parameters 
  301. ** 
  302. ** ICMP_RETRIES - Number of retries for Native ICMP Ping
  303. ** 
  304. ** ICMP_TIMEOUT - Timeout value for Native ICMP Ping
  305. ** 
  306. ** ICMP_DEBUG_LEVEL - Debug Level for Native ICMP Ping
  307. ** 
  308. ** ICMP_SWEEP_PACKETS - Number of packets for Native ICMP Ping
  309. ** 
  310. ** ICMP_SWEEP_SLEEP_INTERVAL - Time interval between two Native ICMP Pings
  311. ** 
  312. ** PING_SWEEP - A value of true will enable Native ICMP Ping sweep
  313. ** 
  314. ** NOTE: All the above mentioned fields should come under the <NATIVE_PING .../>
  315. ** 
  316. **  To specify initial discovery parameters for the first discovery process of WebNMS,
  317. ** the following syntax can be made use of.
  318. **     <INITIAL_PARAMETERS
  319. **         DISCOVERY_INTERVAL="0"
  320. **         REDISCOVER_INTERVAL="1"
  321. **         PING_RETRIES="0"
  322. **         SNMP_TIMEOUT="1"
  323. **         SNMP_RETRIES="0"
  324. **         ICMP_TIMEOUT="1"
  325. **         ICMP_RETRIES="1" />
  326. **  When this tag is included, WebNMS considers the entries under this tag during the first
  327. ** start of the WebNMS server (either a cold or a warm start). During the successive re-discovery
  328. ** processes, the entries that are provided under the <DISCOVERY> and <NATIVE_PING> tags for the
  329. ** corresponding discovery parameters are taken into consideration. 
  330. ** 
  331. ** Please look into the example_seed.file in the <WEBNMS_HOME>/conf/examples
  332. ** directory for a live example.
  333. ** 
  334. ** 
  335. ** 
  336. -->
  337.   <DISCOVERY
  338.      DISCOVER="true"
  339.      DISCOVER_LOCALNET="true"
  340.      ENABLE_SNMP_DISCOVERY="true"
  341.      ENABLE_ICMP_DISCOVERY="true"
  342.      ENABLE_SNMPV3_DISCOVERY="false"
  343.      DISCOVERY_INTERVAL="1"
  344.      REDISCOVER_INTERVAL="24"
  345.      HOUR="17,9"
  346.      DAY_OF_THE_MONTH="-1"
  347.      DAY_OF_THE_WEEK="MON,TUE"
  348.      REDISCOVER_ALREADY_DISCOVERED="false"
  349.      PING_RETRIES="0"
  350.      SNMP_TIMEOUT="2"
  351.      SNMP_RETRIES="0"
  352.      READ_COMMUNITY="public"
  353.      WRITE_COMMUNITY="public"
  354.      ENABLE_LOG="true" />
  355.   <NATIVE_PING
  356.      ICMP_RETRIES="2"
  357.      ICMP_TIMEOUT="2"
  358.      ICMP_DEBUG_LEVEL="1"
  359.      ICMP_SWEEP_PACKETS="10"
  360.      ICMP_SWEEP_SLEEP_INTERVAL="2"
  361.      PING_SWEEP="false" />
  362. </SEED>
  363.  
  364.