Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Who watches the watcher?  It is important when using a monitoring/management system that you know it is operational, with some level of beneficial recursion, NMIS supports many techniques for managing servers and applications.  You should ensure that something in your environment is watching NMIS.

Related Content

Table of Contents

Table of Contents

Introduction

NMIS can be used to monitor many services, including the services that it depends on itself. This can be useful in root cause analysis if NMIS has problems.

Common services to monitor for FirstWave NMIS servers are listed below. We also keep an up to date copy of the Services.nmis (the mapped file for NMIS services) file, which can be found in our GitHub: https://github.com/Opmantek/nmis9/blob/nmis9_dev/conf-default/Services.nmis.

The current services shipping with NMIS9 at this time are:

  • NMIS9 Workers
  • NMIS9 Scheduler
  • MongoDB
  • Opmantek Web Daemon
  • "OMK Stack HTTP" or "OMK Stack HTTPS"
  • SSL Expiry Check
  • opEvents Daemon
  • opConfig Daemon
  • opCharts Daemon

Also, it is good to monitor:

  • crond
  • syslog
  • ssh

opHA

...

When running multiple servers utilizing opHA, it is common pratice is practice to have MAIN the Main Primary monitor all the pollers and itself.

If available it is also recommend to have a primary "watch the watcher", i.e. monitor the Main Primary and the pollers as well.

Accessing the Services List

Log into your In the NMIS GUI and navigate to the node you’re interested in.  At the top of the node, click “service list”.

...

Configuring NMIS to monitor a service

Step 1

Log into your When in the NMIS GUI and click System, then System Configuration , then NMIS Nodes (devices)

Step 2

Scroll down the list and find the node you wish to monitor services on.  Click “edit” in the actions column.

Step 3

Scroll down in the box widget that pops up until you reach the Services section and select the services you wish to begin monitoring.  Note that you can select multiple services by holding control Ctrl/Control (for PC/Linux) or command Command (MacmacOS).

Step 4

Click “Edit and Update Node”.  After the next polling cycle (usually about five minutes) you should see that the new services are being monitored.

...

NMIS requires the following services to run:

  • snmpd
  • mongod
  • omkd
  • nmisdnmis9d
  • httpd/apache (or nginx)
  • crond

...

opCharts

OpCharts opCharts requires the same services as NMIS, pluswith the addition of the below service:

  • opchartsd

...

opEvents

OpEvents opEvents requires the same services as NMIS, pluswith the addition of the below service:

  • opeventsd

...

opConfig

OpConfig opConfig requires the same services as NMIS, pluswith the addition of the below service:

  • opconfigd

...

opFlow

OpFlow opFlow requires the same services as NMIS, pluswith the addition of the below service:

  • opflodopflowd