Category:Daemons

From OpenNMS

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"
Personal tools
DevJam 2008 Sponsors
DevJam 2008 Sponsor: Google
DevJam 2008 Sponsor: Netregistry
DevJam 2008 Sponsor: Papa John's
NewEdge Networks
OpenNMS takes home the gold award!
Join the Free Software Foundation
Support This Project Commercial OpenNMS Support OpenNMS Italia Get OpenNMS at SourceForge.net. Fast, secure and Free Open Source software downloads Our Network Simulator Our Java Profiler