Description

This plugin checks the expiration date of NoSpamProxy certificates used for M365 client identification (used for company servers)

You can define levels for warning and critical state. If the expiration date of a certificate is fewer days far as defined in these levels then the service will switch to WARN or CRIT 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_certificates.ps1' user : ' ' run : yes async : yes cache_age : 3600

The Windows user must have appropriate rights to use the PowerShell cmdlet of Get-NspCertificate. So add the Windows user to the user group "NoSpamProxy People and Identities Administrators"! It should also be sufficient to run the script every hour (3600 seconds)!

inventory: Automatic inventory is supported. Install the agent and one service called "NSP certificates" will be created.

Version 1.0.1
Latest version
Note: This version requires Checkmk version 2.0.0 or higher.

Uploaded on: 30 Sep 2023

Built on Checkmk version: 2.1.0p32

Minimum Checkmk version required: 2.1.0p2

MKP MD5 hash: e85398d4861d44fac1d2f26e1703e9fe