Please start by downloading the modified plugin attached to this reply. This way you won't have to make the edits I specified earlier.
Then navigate to the Admin section of XI using the bar on top > click Manage Plugins under System Extensions on the left pane > then click Browse... to upload the very same script you just downloaded.
You will also need to download the .crl file to the XI machine. You could do so with wget. Note the location so that you can pass it as an argument in the command later.
You should then see the plugin available in /usr/local/nagios/libexec. You could also have downloaded the script to that directory using wget, or moved it there using mv. Please run the script from the command line on your Nagios XI server to make sure it works before configuring a scheduled check.
Code: Select all
LANG=C LC_ALL=C /usr/local/nagios/libexec/check_crl -f <location of certificate revocation list>.crlDOC