Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kuma's certificate monitoring problem #5083

Closed
2 tasks done
lsx1205 opened this issue Sep 4, 2024 · 5 comments
Closed
2 tasks done

kuma's certificate monitoring problem #5083

lsx1205 opened this issue Sep 4, 2024 · 5 comments
Labels

Comments

@lsx1205
Copy link

lsx1205 commented Sep 4, 2024

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Is there a way for kuma to configure it to monitor only the certificate expiration time and not the website itself? Because the site has many sites, it is possible that only one site is unavailable, not all of them

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.23.13

💻 Operating System and Arch

rocky linux 9.4

🌐 Browser

google chrome

🖥️ Deployment Environment

  • Runtime:
  • Database:
  • Filesystem used to store the database on:
  • number of monitors:
@lsx1205 lsx1205 added the help label Sep 4, 2024
@lsx1205
Copy link
Author

lsx1205 commented Sep 4, 2024

Is this heartbeat interval related to certificate monitoring? Is certificate monitoring updated once the heartbeat is performed? Or does the heartbeat have nothing to do with certificate monitoring, and an alarm is generated when the alarm period reaches?

@lsx1205
Copy link
Author

lsx1205 commented Sep 4, 2024

Another question is whether kuma's logs can be mounted externally when using docker containers. Otherwise it is not very convenient to clean the log, or does kuma have a built-in log cleaning function?

@CommanderStorm
Copy link
Collaborator

configure it to monitor only the certificate expiration time and not the website itself?

To monitor a certificate, we need to look at a website. I don't know what you are asking, but getting certificates from websites without asking the website for certificates is impossible.

Because the site has many sites, it is possible that only one site is unavailable, not all of them

We have group monitors available which function via the any(monitor.status == DOWN for monitor in monitors) method if that is what you are asking.
I don't see a problem with having more monitors (up to the scaling limit, see #4500)

@CommanderStorm
Copy link
Collaborator

Is this heartbeat interval related to certificate monitoring? Is certificate monitoring updated once the heartbeat is performed? Or does the heartbeat have nothing to do with certificate monitoring, and an alarm is generated when the alarm period reaches?

Certificates get checked on every heartbeat if the option is enabled.
Checking them is extremely cheap on modern hardware => no need to optimised this part

@CommanderStorm
Copy link
Collaborator

Another question is whether kuma's logs can be mounted externally when using docker containers. Otherwise it is not very convenient to clean the log, or does kuma have a built-in log cleaning function?

Which path did you deploy with? (Node vs docker)
You left that field blank.

Docker logs to standard out and is collected via the default driver. You can access logs via docker logs .... Said driver by default rotates logs.
For pm2, please see our wiki how to set up pm2-logrotate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants