Check date in Subject/OU in a Certificate.

zep zgreenfelder at gmail.com
Wed Nov 3 15:45:55 CET 2021


On 11/3/21 5:00 AM, Mikael Janeld wrote:
>
> Hi,
>
>  
>
> We have a vendor/application that stamps the expire date for a license
> in the Subject/OU field in a certificate and I am trying to found a
> way that we can use OP5 to monitor that.
>
>  
>
> I have checked the “check_https_certificate” but it only checks when
> the certificates expires and in the application certificate the
> certificate expire date and the license expire date are different.
>
>  
>
> I hope there is a way to solve this, either with
> “check_https_certificate” check or if we can use another check that
> can do this or maybe create a new check for this, can you help me with
> that or point me to a way that I can solve it?
>
>  
>
> Med vänlig hälsning / Best regards,
>
> *Mikael Janeld*, VMware & Windows Specialist
>
> **
>

Hi.
I don't really know much in the way op5 specifics; wikipedia says it's
based on nagios.   I'd think the most reasonable path would be to look
into extending it with your own, custom monitor.   at one time I did a
couple of my own with a perl extension (which I'm not finding right now)
https://www.networkworld.com/article/2224083/how-to-extend-nagios-for-custom-monitoring.html
provides some pointers and an example of using bash, which might be helpful.

hope this is useful.

-- 
public gpg key id: 0x5B8147CB



More information about the Help mailing list