PageRenderTime 26ms CodeModel.GetById 19ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/opennms-base-assembly/src/main/filtered/etc/service-configuration.xml

https://github.com/ajakubo1/opennms
XML | 376 lines | 271 code | 1 blank | 104 comment | 0 complexity | e8a947026123f79f90ba7ec692baba35 MD5 | raw file
  1<?xml version="1.0"?>
  2<!-- NOTE!!!!!!!!!!!!!!!!!!!
  3The order in which these services are specified is important - for example, Eventd
  4will need to come up last so that none of the event topic subcribers loose any event.
  5
  6When splitting services to run on mutiple VMs, the order of the services should be
  7maintained
  8-->
  9<service-configuration>
 10  <service>
 11    <name>:Name=XSLTProcessor</name>
 12    <class-name>mx4j.tools.adaptor.http.XSLTProcessor</class-name>
 13  </service>
 14  <service>
 15    <name>:Name=HttpAdaptor</name>
 16    <class-name>mx4j.tools.adaptor.http.HttpAdaptor</class-name>
 17    <attribute>
 18      <name>Port</name>
 19      <value type="java.lang.Integer">8180</value>
 20    </attribute>
 21    <attribute>
 22      <name>Host</name>
 23      <value type="java.lang.String">127.0.0.1</value>
 24    </attribute>
 25    <attribute>
 26      <name>ProcessorName</name>
 27      <value type="javax.management.ObjectName">:Name=XSLTProcessor</value>
 28    </attribute>
 29    <attribute>
 30      <name>AuthenticationMethod</name>
 31      <value type="java.lang.String">basic</value>
 32    </attribute>
 33    <invoke at="start" pass="0" method="addAuthorization">
 34      <argument type="java.lang.String">admin</argument>
 35      <argument type="java.lang.String">admin</argument>
 36    </invoke>
 37    <invoke at="start" pass="0" method="start"/>
 38  </service>
 39  <service>
 40    <name>:Name=HttpAdaptorMgmt</name>
 41    <class-name>mx4j.tools.adaptor.http.HttpAdaptor</class-name>
 42    <attribute>
 43      <name>Port</name>
 44      <value type="java.lang.Integer">8181</value>
 45    </attribute>
 46    <attribute>
 47      <name>Host</name>
 48      <value type="java.lang.String">127.0.0.1</value>
 49    </attribute>
 50    <attribute>
 51      <name>AuthenticationMethod</name>
 52      <value type="java.lang.String">basic</value>
 53    </attribute>
 54    <invoke at="start" pass="0" method="addAuthorization">
 55      <argument type="java.lang.String">manager</argument>
 56      <argument type="java.lang.String">manager</argument>
 57    </invoke>
 58    <invoke at="start" pass="0" method="start"/>
 59  </service>
 60  <service>
 61    <name>OpenNMS:Name=Manager</name>
 62    <class-name>org.opennms.netmgt.vmmgr.Manager</class-name>
 63    <invoke at="stop" pass="1" method="doSystemExit"/>
 64  </service>
 65  <service>
 66    <name>OpenNMS:Name=TestLoadLibraries</name>
 67    <class-name>org.opennms.netmgt.vmmgr.Manager</class-name>
 68    <invoke at="start" pass="0" method="doTestLoadLibraries"/>
 69  </service>
 70  <service>
 71    <name>OpenNMS:Name=Eventd</name>
 72    <class-name>org.opennms.netmgt.eventd.jmx.Eventd</class-name>
 73    <invoke at="start" pass="0" method="init"/>
 74    <invoke at="start" pass="1" method="start"/>
 75    <invoke at="status" pass="0" method="status"/>
 76    <invoke at="stop" pass="0" method="stop"/>
 77  </service>
 78  <service>
 79    <name>OpenNMS:Name=Trapd</name>
 80    <class-name>org.opennms.netmgt.trapd.jmx.Trapd</class-name>
 81    <invoke at="start" pass="0" method="init"/>
 82    <invoke at="start" pass="1" method="start"/>
 83    <invoke at="status" pass="0" method="status"/>
 84    <invoke at="stop" pass="0" method="stop"/>
 85  </service>
 86  <service>
 87    <name>OpenNMS:Name=Queued</name>
 88    <class-name>org.opennms.netmgt.queued.jmx.Queued</class-name>
 89    <invoke at="start" pass="0" method="init"/>
 90    <invoke at="start" pass="1" method="start"/>
 91    <invoke at="status" pass="0" method="status"/>
 92    <invoke at="stop" pass="0" method="stop"/>
 93  </service>
 94  <!--  Dhcpd is now distributed separately. You will need to ensure
 95        it is installed before you enable it here. -->
 96  <!-- 
 97  <service>
 98    <name>OpenNMS:Name=Dhcpd</name>
 99    <class-name>org.opennms.netmgt.dhcpd.jmx.Dhcpd</class-name>
100    <invoke at="start" pass="1" method="start"/>
101    <invoke at="status" pass="0" method="status"/>
102    <invoke at="stop" pass="0" method="stop"/>
103  </service>
104 -->
105   <service>
106    <name>OpenNMS:Name=Actiond</name>
107    <class-name>org.opennms.netmgt.actiond.jmx.Actiond</class-name>
108    <invoke at="start" pass="0" method="init"/>
109    <invoke at="start" pass="1" method="start"/>
110    <invoke at="status" pass="0" method="status"/>
111    <invoke at="stop" pass="0" method="stop"/>
112  </service>
113  <!--
114  <service>
115    <name>OpenNMS:Name=Capsd</name>
116    <class-name>org.opennms.netmgt.capsd.jmx.Capsd</class-name>
117    <invoke at="start" pass="0" method="init"/>
118    <invoke at="start" pass="1" method="start"/>
119    <invoke at="status" pass="0" method="status"/>
120    <invoke at="stop" pass="0" method="stop"/>
121  </service>
122  -->
123  <service>
124    <name>OpenNMS:Name=Notifd</name>
125    <class-name>org.opennms.netmgt.notifd.jmx.Notifd</class-name>
126    <invoke at="start" pass="0" method="init"/>
127    <invoke at="start" pass="1" method="start"/>
128    <invoke at="status" pass="0" method="status"/>
129    <invoke at="stop" pass="0" method="stop"/>
130  </service>
131  <service>
132    <name>OpenNMS:Name=Scriptd</name>
133    <class-name>org.opennms.netmgt.scriptd.jmx.Scriptd</class-name>
134    <invoke at="start" pass="0" method="init"/>
135    <invoke at="start" pass="1" method="start"/>
136    <invoke at="status" pass="0" method="status"/>
137    <invoke at="stop" pass="0" method="stop"/>
138  </service>
139  <service>
140    <name>OpenNMS:Name=Rtcd</name>
141    <class-name>org.opennms.netmgt.rtc.jmx.Rtcd</class-name>
142    <invoke at="start" pass="0" method="init"/>
143    <invoke at="start" pass="1" method="start"/>
144    <invoke at="status" pass="0" method="status"/>
145    <invoke at="stop" pass="0" method="stop"/>
146  </service>
147  <service>
148    <name>OpenNMS:Name=Pollerd</name>
149    <class-name>org.opennms.netmgt.poller.jmx.Pollerd</class-name>
150    <invoke at="start" pass="0" method="init"/>
151    <invoke at="start" pass="1" method="start"/>
152    <invoke at="status" pass="0" method="status"/>
153    <invoke at="stop" pass="0" method="stop"/>
154  </service>
155  <service>
156    <name>OpenNMS:Name=PollerBackEnd</name>
157    <class-name>org.opennms.netmgt.poller.remote.jmx.RemotePollerBackEnd</class-name>
158    <invoke at="start" pass="0" method="init"/>
159    <invoke at="start" pass="1" method="start"/>
160    <invoke at="status" pass="0" method="status"/>
161    <invoke at="stop" pass="0" method="stop"/>
162  </service>
163<!--
164  <service>
165     <name>OpenNMS:Name=SnmpPoller</name>
166     <class-name>org.opennms.netmgt.snmpinterfacepoller.jmx.SnmpPollerd</class-name>
167     <invoke at="start" pass="0" method="init"/>
168     <invoke at="start" pass="1" method="start"/>
169     <invoke at="status" pass="0" method="status"/>
170     <invoke at="stop" pass="0" method="stop"/>
171  </service>
172-->
173  <service>
174    <name>OpenNMS:Name=EnhancedLinkd</name>
175    <class-name>org.opennms.netmgt.enlinkd.jmx.EnhancedLinkd</class-name>
176    <invoke at="start" pass="0" method="init"/>
177    <invoke at="start" pass="1" method="start"/>
178    <invoke at="status" pass="0" method="status"/>
179    <invoke at="stop" pass="0" method="stop"/>
180  </service>
181  <service>
182    <name>OpenNMS:Name=Ticketer</name>
183    <class-name>org.opennms.netmgt.ticketd.jmx.TroubleTicketer</class-name>
184    <invoke at="start" pass="0" method="init"/>
185    <invoke at="start" pass="1" method="start"/>
186    <invoke at="status" pass="0" method="status"/>
187    <invoke at="stop" pass="0" method="stop"/>
188  </service>
189  <service>
190    <name>OpenNMS:Name=Collectd</name>
191    <class-name>org.opennms.netmgt.collectd.jmx.Collectd</class-name>
192    <invoke at="start" pass="0" method="init"/>
193    <invoke at="start" pass="1" method="start"/>
194    <invoke at="status" pass="0" method="status"/>
195    <invoke at="stop" pass="0" method="stop"/>
196  </service>
197  <service>
198    <name>OpenNMS:Name=Discovery</name>
199    <class-name>org.opennms.netmgt.discovery.jmx.Discovery</class-name>
200    <invoke at="start" pass="0" method="init"/>
201    <invoke at="start" pass="1" method="start"/>
202    <invoke at="status" pass="0" method="status"/>
203    <invoke at="stop" pass="0" method="stop"/>
204  </service>
205  <service>
206    <name>OpenNMS:Name=Vacuumd</name>
207    <class-name>org.opennms.netmgt.vacuumd.jmx.Vacuumd</class-name>
208    <invoke at="start" pass="0" method="init"/>
209    <invoke at="start" pass="1" method="start"/>
210    <invoke at="status" pass="0" method="status"/>
211    <invoke at="stop" pass="0" method="stop"/>
212  </service>
213  <service>
214    <name>OpenNMS:Name=EventTranslator</name>
215    <class-name>org.opennms.netmgt.translator.jmx.EventTranslator</class-name>
216    <invoke at="start" pass="0" method="init"/>
217    <invoke at="start" pass="1" method="start"/>
218    <invoke at="status" pass="0" method="status"/>
219    <invoke at="stop" pass="0" method="stop"/>
220  </service>
221  <service>
222    <name>OpenNMS:Name=PassiveStatusd</name>
223    <class-name>org.opennms.netmgt.passive.jmx.PassiveStatusd</class-name>
224    <invoke at="start" pass="0" method="init"/>
225    <invoke at="start" pass="1" method="start"/>
226    <invoke at="status" pass="0" method="status"/>
227    <invoke at="stop" pass="0" method="stop"/>
228  </service>
229  <service>
230    <name>OpenNMS:Name=Statsd</name>
231    <class-name>org.opennms.netmgt.statsd.jmx.Statsd</class-name>
232    <invoke at="start" pass="0" method="init"/>
233    <invoke at="start" pass="1" method="start"/>
234    <invoke at="status" pass="0" method="status"/>
235    <invoke at="stop" pass="0" method="stop"/>
236  </service>
237  <service>
238    <name>OpenNMS:Name=Provisiond</name>
239    <class-name>org.opennms.netmgt.daemon.SimpleSpringContextJmxServiceDaemon</class-name>
240    <attribute>
241      <name>LoggingPrefix</name>
242      <value type="java.lang.String">provisiond</value>
243    </attribute>
244    <attribute>
245      <name>SpringContext</name>
246      <value type="java.lang.String">provisiondContext</value>
247    </attribute>
248    <invoke at="start" pass="0" method="init"/>
249    <invoke at="start" pass="1" method="start"/>
250    <invoke at="status" pass="0" method="status"/>
251    <invoke at="stop" pass="0" method="stop"/>
252  </service>
253  <service>
254    <name>OpenNMS:Name=Reportd</name>
255    <class-name>org.opennms.netmgt.daemon.SimpleSpringContextJmxServiceDaemon</class-name>
256    <attribute>
257      <name>LoggingPrefix</name>
258      <value type="java.lang.String">reportd</value>
259    </attribute>
260    <attribute>
261      <name>SpringContext</name>
262      <value type="java.lang.String">reportdContext</value>
263    </attribute>
264    <invoke at="start" pass="0" method="init"/>
265    <invoke at="start" pass="1" method="start"/>
266    <invoke at="status" pass="0" method="status"/>
267    <invoke at="stop" pass="0" method="stop"/>
268  </service>
269
270  <service>
271    <name>OpenNMS:Name=Alarmd</name>
272    <class-name>org.opennms.netmgt.daemon.SimpleSpringContextJmxServiceDaemon</class-name>
273    <attribute>
274      <name>LoggingPrefix</name>
275      <value type="java.lang.String">alarmd</value>
276    </attribute>
277    <attribute>
278      <name>SpringContext</name>
279      <value type="java.lang.String">alarmdContext</value>
280    </attribute>
281    <invoke at="start" pass="0" method="init"/>
282    <invoke at="start" pass="1" method="start"/>
283    <invoke at="status" pass="0" method="status"/>
284    <invoke at="stop" pass="0" method="stop"/>
285  </service>
286  <service>
287    <name>OpenNMS:Name=Ackd</name>
288    <class-name>org.opennms.netmgt.daemon.SimpleSpringContextJmxServiceDaemon</class-name>
289    <attribute>
290      <name>LoggingPrefix</name>
291      <value type="java.lang.String">ackd</value>
292    </attribute>
293    <attribute>
294      <name>SpringContext</name>
295      <value type="java.lang.String">ackdContext</value>
296    </attribute>
297    <invoke at="start" pass="0" method="init"/>
298    <invoke at="start" pass="1" method="start"/>
299    <invoke at="status" pass="0" method="status"/>
300    <invoke at="stop" pass="0" method="stop"/>
301  </service>
302  <service>
303    <name>OpenNMS:Name=JettyServer</name>
304    <class-name>org.opennms.netmgt.jetty.jmx.JettyServer</class-name>
305    <invoke at="start" pass="0" method="init"/>
306    <invoke at="start" pass="1" method="start"/>
307    <invoke at="status" pass="0" method="status"/>
308    <invoke at="stop" pass="0" method="stop"/>
309  </service>
310<!--
311  <service>
312    <name>OpenNMS:Name=Linkd</name>
313    <class-name>org.opennms.netmgt.linkd.jmx.Linkd</class-name>
314    <invoke at="start" pass="0" method="init"/>
315    <invoke at="start" pass="1" method="start"/>
316    <invoke at="status" pass="0" method="status"/>
317    <invoke at="stop" pass="0" method="stop"/>
318  </service>
319  <service>
320    <name>OpenNMS:Name=Correlator</name>
321    <class-name>org.opennms.netmgt.correlation.jmx.Correlator</class-name>
322    <invoke at="start" pass="0" method="init"/>
323    <invoke at="start" pass="1" method="start"/>
324    <invoke at="status" pass="0" method="status"/>
325    <invoke at="stop" pass="0" method="stop"/>
326  </service>
327  <service>
328    <name>OpenNMS:Name=Tl1d</name>
329    <class-name>org.opennms.netmgt.tl1d.jmx.Tl1d</class-name>
330    <invoke at="start" pass="0" method="init"/>
331    <invoke at="start" pass="1" method="start"/>
332    <invoke at="status" pass="0" method="status"/>
333    <invoke at="stop" pass="0" method="stop"/>
334  </service>
335  <service>
336    <name>OpenNMS:Name=Syslogd</name>
337    <class-name>org.opennms.netmgt.syslogd.jmx.Syslogd</class-name>
338    <invoke at="start" pass="0" method="init"/>
339    <invoke at="start" pass="1" method="start"/>
340    <invoke at="status" pass="0" method="status"/>
341    <invoke at="stop" pass="0" method="stop"/>
342  </service>
343  <service>
344    <name>OpenNMS:Name=Xmlrpcd</name>
345    <class-name>org.opennms.netmgt.xmlrpcd.jmx.Xmlrpcd</class-name>
346    <invoke at="start" pass="0" method="init"/>
347    <invoke at="start" pass="1" method="start"/>
348    <invoke at="status" pass="0" method="status"/>
349    <invoke at="stop" pass="0" method="stop"/>
350  </service>
351  <service>
352    <name>OpenNMS:Name=XmlrpcProvisioner</name>
353    <class-name>org.opennms.netmgt.xmlrpcd.jmx.Provisioner</class-name>
354    <invoke at="start" pass="0" method="init"/>
355    <invoke at="start" pass="1" method="start"/>
356    <invoke at="status" pass="0" method="status"/>
357    <invoke at="stop" pass="0" method="stop"/>
358  </service>
359  <service>
360    <name>OpenNMS:Name=AsteriskGateway</name>
361    <class-name>org.opennms.netmgt.asterisk.agi.jmx.AsteriskGateway</class-name>
362    <invoke at="start" pass="0" method="init"/>
363    <invoke at="start" pass="1" method="start"/>
364    <invoke at="status" pass="0" method="status"/>
365    <invoke at="stop" pass="0" method="stop"/>
366  </service>
367  <service>
368    <name>OpenNMS:Name=AccessPointMonitor</name>
369    <class-name>org.opennms.netmgt.accesspointmonitor.jmx.AccessPointMonitor</class-name>
370    <invoke at="start" pass="0" method="init"/>
371    <invoke at="start" pass="1" method="start"/>
372    <invoke at="status" pass="0" method="status"/>
373    <invoke at="stop" pass="0" method="stop"/>
374  </service>
375-->
376</service-configuration>