Comments on Add a new Host and Services to be Monitored by Icinga 2

In this tutorial, I will show you how to add a new host to be monitored by Icinga 2 and how the host’s services, such as a web HTTP server, can be monitored by Icinga. I will also show you how to create your own custom Icinga plugin command in order to monitor UDP services in your network infrastructure.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: TiTex

I don't think your script actually tests if udp port is listening for connections or not , so basically will return success every time no matter if you actually have a service running on that port

By: linuxboxgo

 It does not guarantee that the service that opened that port is actually the service the legitimate service. But it can surely verify if a udp port is opened or not.

"so basically will return success every time no matter if you actually have a service running on that port" : do you have arguments supporting your affirmation?

By: TiTex

Just test it , what arguments do you need more?

Anyhow use it as you want, it was just an observation.

By: ubuntuHead

I couldnt get the myudp command to work, did some checking and it loks like it needed "import "plugin-check-command"" as the second line.

By: SquadraMunter

Thanks, You are a Hero! Now I can monitor my Caddy web server that serves the Google Quic SPDY protocol. I used your UDP test script without quic enabled and it says false but when I enabled quic the result was positive. 

TiTex It is working as pretended believe me! ;-)