Versions Compared

Key

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

This page is a companion to the Managing Servers and Services with NMIS8 page, and provides some examples of how various services can be monitored with NMIS.

Table of Contents

Web

Remote, port only

NMIS can monitor the accessibility of TCP ports (using the NMAP tool), and for a Web service that would tell you whether the server is reachable (but not whether it's fully working). This kind of monitoring does not require any software running on the target server, however.

Here is a configuration snippet for this level of monitoring, for the standard web ports 443 and 80:

Image Added

Server Process

If SNMP is enabled for the system in question, if NMIS is polling that system and if the system and its model supports the Host Resources MIB, then NMIS can check process statuses and verify the existence of a specific process. The Service Type must be "service", and the name of the process must be given as Service Name.

For a CentOS box with Apache 2.2.x we'd be using the following service definition, which checks for processes named "httpd":

Image Added

SAPI-script based

end-to-end using a custom program

DNS

remote, port only

NMIS can monitor the accessibility of TCP and UDP ports (using the NMAP tool), which in the case of DNS would give only a rough indication of whether the DNS server is reachable at all.

...