We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Connecting Nagstamon to Checkmk

Checkmk Manual
Last updated: June 18 2019

Search in the manual

1. Introduction

Nagstamon is a small desktop tool that was originally developed for Nagios. In today's version, the client also supports Checkmk. It translates a Checkmk view in a very compact form and summarizes the problems.

Even though there is no official support for Nagstamon, we still want to make the connection as easy as possible. Below we describe how to connect Nagstamon with Checkmk.

2. Configuration

The simplest method is to connect Nagstamon directly to the Checkmk web UI. To ensure that this integration works seamlessly, Checkmk delivers two special views, which Nagstamon then uses as a data source:

  • nagstamon_hosts
  • nagstamon_svc

Thus you do not have to initially set up any views to enable the integration. When you start Nagstamon for the first time, you will be directly asked for a server – otherwise you can also set up a new server in the menu via the Settings menu item, where you can create a new connection via New server ....

In the dialog that appears, select the entry Checkmk Multisite under Monitor type, assign a human-readable name and enter the URL of the connection in the Monitor URL field. Important: You can only authenticate here with a regular user – an automation user does not work in this case! A configuration can then look like this, for example:

You can then use the Show more options option for fine-tuning and if you have configured your own here views in Checkmk, change to them.

3. Diagnostic options

If, contrary to expectations, problems nevertheless arise, first check whether you can go open the following pages from the device on which Nagstamon is running. Replace the placeholders with their real values:

  • https://mon.mydomain.org/mysite/check_mk/view.py?view_name=nagstamon_hosts
  • https://mon.mydomain.org/mysite/check_mk/view.py?view_name=nagstamon_svc

If this does not work – using the login data that you have specified in the configuration – you will receive a meaningful error message about what went wrong. As soon as the call works correctly, Nagstamon should also supply data.