Versions Compared

Key

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

...

Click "Add" or "Edit" to save the new service and then you can assign this to a device as described above in "Configuring NMIS Services to Monitor".

Optional Additional Checking

Introduced in NMIS 8.6 is the ability to check additional properties reported by the SNMP service.  If you have for example a Java application running, something like JIRA or Confluence you will want to match the parameters field hrSWRunParameters or possibly the hrSWRunPath field.  By adding Service_Additional to your service test, and leaving Service_Name blank, NMIS will look inside hrSWRunParameters and if it is blank hrSWRunPath.  A regular expression test is performed, so you can be quite flexible in what you want to match.

For example, confluence will have the following values in the Service List GUI

ServiceAdditional
java-Djava.util.logging.config.file=/opt/confluence/conf/logging.properties -Xms512m -Xmx768m -XX:MaxPermSize=512m -Djava.awt.headle

The following simple configuration would match Service_Additional to that string.

Code Block
  'confluence' => {
    'Name' => 'confluence',
    'Service_Type' => 'service',
    'Port' => '',
    'Poll_Interval' => '1m',
    'Service_Name' => '',
    'Service_Additional' => 'confluence',
  },

You could also be more specific if needed, e.g. 'Service_Additional' => 'confluence/conf/logging.properties.+XX:MaxPermSize',

Defining new TCP or UDP Ports to Monitor

...