steffenfritz / mxcheck

mxcheck is an info and security scanner for e-mail servers.
https://mxcheck.fritz.wtf
GNU General Public License v3.0
60 stars 8 forks source link

Add Nagios-compatible reporting #10

Closed steffenfritz closed 8 months ago

steffenfritz commented 2 years ago

Describe the solution you'd like

mxcheck should be able to return a scan result in the form of Nagios-compatible plugins. Nagios-compatible plugins can be used with Icinga, Checkmk and more.

Describe the solution you'd like

mxcheck, run with a specific flag, should return a string in the following form

0 "My service" myvalue=73;80;90 My output text who may contain spaces

See https://docs.checkmk.com/latest/en/localchecks.html

steffenfritz commented 8 months ago

As a text file with a report can be created and Nagios, Checkmk, etc can parse such files for content, this should be enough.