This is a dummy check plugin for openITCOCKPIT that outputs the current time. It can be used for load testing of openITCOCKPIT. The main purpose of the plugin is to simulate the execution of "real" check plugins.
This plugin is written in Go, so it can be easily compiled for different platforms and also is fast to execute.
A check interval of 60 seconds is recommended for this plugin. The minutes metric can be used to verify that the plugin and its data gets processed correctly.
go build -o check_goclock
chmod +x check_goclock
$ ./check_goclock
Current Time: 08:52:18 2025-05-06 | unix_timestamp=1746514338 hours=8;0;24 minutes=52;0;60 seconds=18;0;60