Versions Compared

Key

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


Info
This manual will show you some options to monitor tcp/udp ports with Checkmk.

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.2.0P1


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Active checks

We do provide some active checks to monitor the functionality of applications like DNS/HTML: https://docs.checkmk.com/latest/en/active_checks.html

Agent Plugin "Established TCP/UDP connections."

We do provide a netstat plugin collecting the network statistics. To configure the plugin, you have two ways:

Manual

Copy the corresponding plugin to the monitored host as described here: https://docs.checkmk.com/latest/en/agent_linux.html#manualplugins

Code Block
languagebash
themeRDark
./share/check_mk/agents/plugins/netstat.solaris
./share/check_mk/agents/plugins/netstat.aix
./share/check_mk/agents/plugins/netstat.linux
./share/check_mk/agents/windows/plugins/netstat_an.bat


Bakery

Setup → Agents → Windows, Linux, Solaris, AIX → Agent rules → Established TCP/UDP connections → New rule: Established TCP/UDP connections

.

Now you will need to configure the corresponding service rule. In that case, it's an enforced service.

Setup → Services → Enforced services → Monitor specific TCP/UDP connections and listeners → New rule: Monitor specific TCP/UDP connections and listeners

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "agent_bakery" , "agent" , "howto" ) and type = "page" and space = "KB"
labelsagent agent_bakery

Page Properties
hiddentrue


Related issues