An attempt at packaging individual C plugins from the excellent Monitoring Plugins project https://monitoring-plugins.org in the Sensu Go Asset format. The goal of the project is to provide a simple workflow for creating a Sensu Go Asset containing the C plugins.
The goal of this project is to provide Sensu Go Assets for CentOS/Rocky/RHEL Linux (7, 8, 9), Debian Linux (9, 10, 11), Ubuntu Linux (18.04, 20.04, 22.04), Amazon Linux (2, 2023), and Alpine Linux containing a good subset of the plugins from the Monitoring Plugins project.
Currently, This project will attempt to provide support for the following plugins:
check_diskcheck_dnscheck_httpcheck_loadcheck_logcheck_ntpcheck_ntp_peercheck_ntp_timecheck_pingcheck_procscheck_smtpcheck_snmpcheck_sshcheck_swapcheck_tcpcheck_timecheck_users
Several plugins, though compiled binaries, require that certain commands be available from the OS.
Examples (not exhaustive):
check_snmprequiressnmpgetcheck_procsrequirespscheck_dnsrequiresnslookup
Assets are the best way to make use of this plugin. If you're not using an asset, please consider doing so! If you're using sensuctl 5.13 or later, you can use the following command to add the asset:
sensuctl asset add sensu/monitoring-plugins
If you're using an earlier version of sensuctl, you can download the asset definition from this project's Bonsai Asset Index page.
-
Clone this repo:
$ git clone [email protected]:sensu/monitoring-plugins.git $ cd monitoring-plugins -
Build the Docker containers and extract the Sensu assets:
$ ./build.shNOTE: if your local docker installation is configured to require root access you will need to run the build script as root (i.e.
sudo ./build.sh).