Checking certificate on port 8443

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ikekim
Posts: 85
Joined: Wed Aug 16, 2017 12:21 pm

Checking certificate on port 8443

Post by ikekim »

Hi,

In order for me to monitor the certificate expiry date on a target host I create a service configuration in CCM as follows and the config below work well except when the SSL traffic is on a different port other than 443. Example would be port 8443. How do I change my parameters below to monitor the certificate expiry on port 8443? thanks!

Check Command
-------------------------
check_xi_service_http

Command View
--------------------
$USER1$/check_http -H $HOSTADDRESS$ $ARG1$

$ARG1$
-----------
-C 31,30
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Checking certificate on port 8443

Post by scottwilkerson »

change this

Code: Select all

$ARG1$
-----------
-C 31,30
to this

Code: Select all

$ARG1$
-----------
-C 31,30 -p 8443
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ikekim
Posts: 85
Joined: Wed Aug 16, 2017 12:21 pm

Re: Checking certificate on port 8443

Post by ikekim »

Thank you!

That worked great.


Ike.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Checking certificate on port 8443

Post by scottwilkerson »

Glad to be of assistance.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked