Xymon Mailing List Archive search

check validity of ssl certificates (without http-status?)

list Kris Springer
Tue, 23 Mar 2021 10:25:12 -0600
Message-Id: <user-b0e55372f39b@xymon.invalid>

I also have status issues on some of my hosts.? Instead of trying to avoid the status result, I've just set it as a known response by adding the *httpstatus* check to that host.
<IP>? domain.tld # noconn https://domain.tld ssldays=30:7 httpstatus;https://domain.tld;301;

Kris Springer


On 3/23/21 9:22 AM, Marvin Stark wrote:
Hey list,

I'm monitoring a lot of hosts, websites and services with xymon and most things are running well. Currently I'm searching for a solution to only monitor the validity of ssl certificates, currently i do this with the HTTP check which does not fit in all of my cases.

Example line in hosts.cfg:
<IP>? domain.tld # noconn https://domain.tld ssldays=30:7

The sslcert check is working but I always get a yellow http check when the website does a redirect 301 for example. In this or many other cases I don't care about the http-status because I only want to validate the certificate and don't care about the application.

I've read along the manpages and didn't find any option to suppress the http-check for this host, is there a built in function to do that or a good workaround for my goal?


Currently I'm using Xymon Version: 4.3.28

Thanks for your help and tips.

Best Regards
Marvin