Category:Daemons

From OpenNMS
Jump to navigation Jump to search

Note.png This category is a root category. It shouldn't contain wiki pages!

Its subcategories should be titled with deamon names to simplify searches.


Controlling daemons

Startup and Shutdown

The daemons are controlled at startup and shutdown of the main OpenNMS JVM by the service-configuration.xml configuration file (this also controls how status information, if any, is gathered for the daemons).

Remote control with JMX

The daemons can also be controlled remotely with JMX once the main OpenNMS JVM is running. This is used by the opennms.sh startup/shutdown script to tell OpenNMS to begin shutting down and to get status information. It can also be used to restart individual services after making a configuration change. Here is an example of restarting the RTC daemon (based on a post by User:Tarus to the discuss list on 2006-01-05):

  wget --proxy=off -O /dev/null "http://manager:manager@localhost:8181/invoke?objectname=OpenNMS%3AName%3DRtcd&operation=stop"
  wget --proxy=off -O /dev/null "http://manager:manager@localhost:8181/invoke?objectname=OpenNMS%3AName%3DRtcd&operation=init"
  wget --proxy=off -O /dev/null "http://manager:manager@localhost:8181/invoke?objectname=OpenNMS%3AName%3DRtcd&operation=start"

Subcategories

This category has the following 22 subcategories, out of 22 total.

A

C

D

E

L

N

P

R

S

T

V

X