I am currently running Checkmk version 2.2 in our environment. My requirement is to monitor SSL certificate expiration using Nagios checks . I have reviewed the Checkmk documentation provided for nagios at the following link:
Specifically, I need Checkmk to issue a warning when an SSL certificate is set to expire within 30 days. However, when I followed the documentation for integrating Nagios checks in Checkmk under Setup > Services > Other services, I found that it only allows specifying the command line without providing options to set warning or critical thresholds for SSL certificate expiration.
This is for a custom banks certificate that is currently monitored by Nagios, not a standard domain SSL certificate.
Could you provide more detailed instructions on how I can configure Checkmk to achieve this functionality?
I am still having the issue open in checkmk i configured the Integrate nagios plugin In Setup > Services > Other services Checkmk Inside command line i use the path /usr/lib/nagios/plugins/check_ssl_certificate given the full path where SSL certificate is installed and also save and activate the changes but when i check this checks inside the host i get service state unknown and doesn’t show any error.Any other thoughts how to configured this in checkmk as i am still stuck here.
Thanks for the reply I already added the add all relevant command line arguments after /usr/lib/nagios/plugins/check_ssl_certificate in that rule and once saved i get the error state unknown.
Where else we can troubleshoot further in this case ?
In my case the nagios plugin and the command i am running /usr/lib/nagios/plugins/check_ssl_certificate is on another server and checkmk monitoring server is on different server so where should i run the command run omd su SITENAME and then execute the Nagios plugin with its argument .
If i understood correctly now i need to create /etc/check_mk/mrpe.cfg on server where that nagios plugin is installed and there put the nagios relevant command line arguments /usr/lib/nagios/plugins/check_ssl_certificate -w 30 -c 15
and any other configuration i need to do in checkmk web interface so that checkmk can read data from this configuration /etc/check_mk/mrpe.cfg ?
and also should i remove that rule set Integrate Nagios plugins In Setup > Services > Other services Checkmk offers the special rule set Integrate Nagios plugins
as it was previous configuration as with this configuration i am getting error unknown.
@ Karczoszki and Sander I am really thankful for you guys always been there to help quickly, now nagios SSL cert plugin works fine in checkmk and i am able to monitor that in checkmk.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.