This plugin gets the count of emails in the mail queue of NoSpamProxy.
You can define levels for warning and critical state. If the email count in the mail queue exceeds these levels, the service will enter a warning or critical state!
You must configure a Windows user for script execution in C:\ProgramData\checkmk\agent\check_mk.user.yml:
pattern : '$CUSTOM_PLUGINS_PATH$\spit_nsp_mailq.ps1'
user : '[username] [password]'
run : yes
The Windows user must have appropriate rights to use the PowerShell cmdlets of NoSpamProxy.
So add the Windows user to the user group "NoSpamProxy Monitoring Administrators"!
Automatic inventory is supported. Install the agent and one service called "NSP Mail Queue" will be created.
Version 1.0.0
Latest version
Note: This version requires Checkmk version 2.0.0 or higher.