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

UP notification without DOWN if retries > 0 #4792

Closed
2 tasks done
geri777 opened this issue May 23, 2024 · 2 comments
Closed
2 tasks done

UP notification without DOWN if retries > 0 #4792

geri777 opened this issue May 23, 2024 · 2 comments
Labels
area:monitor Everything related to monitors help type:enhance-existing feature wants to enhance existing monitor

Comments

@geri777
Copy link

geri777 commented May 23, 2024

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

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I have set the "retries" option to "2". So I don't get any notification for single heartbeat failures.
But now I seem to receive "UP" notifications for single failures.
These are my settings:

image

This is the result from the log:

image
("Externe" and "All-Inkl" are Groups, I don't send notifications for those)

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.23.13

💻 Operating System and Arch

Ubuntu 22

🌐 Browser

Chrome

🖥️ Deployment Environment

  • Runtime: Docker
  • Database: don't know.
  • Filesystem used to store the database on: don't know.
  • number of monitors: 10
@geri777 geri777 added the help label May 23, 2024
@geri777 geri777 changed the title UP notification is sent without DOWN notification UP notification without DOWN if retries > 0 May 23, 2024
@CommanderStorm CommanderStorm changed the title UP notification without DOWN if retries > 0 UP notification without DOWN if retries > 0 May 23, 2024
@CommanderStorm
Copy link
Collaborator

Could you report the container log entries as well?

You can access them via

docker logs uptime-kuma

@geri777
Copy link
Author

geri777 commented May 23, 2024

ok, thank you very much - your hint with the log file helped a lot.
The mailserver I am using and the sites which show DOWN from time to time are hosted at the same location.
It looks to me, like there are short outages which also affect the mailserver connection. This is why I don't get the DOWN emails. Need to look for a 3rd party email server.

[MONITOR] ERROR: Cannot send notification to SMTP mydomain.de
Error: Connection timeout
    at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:798:19)
    at SMTPConnection._onError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:784:20)
    at Timeout.<anonymous> (/app/node_modules/nodemailer/lib/smtp-connection/index.js:237:22)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7) {
  code: 'ETIMEDOUT',
  command: 'CONN'
}

@geri777 geri777 closed this as completed May 23, 2024
@CommanderStorm CommanderStorm added area:monitor Everything related to monitors type:enhance-existing feature wants to enhance existing monitor labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:monitor Everything related to monitors help type:enhance-existing feature wants to enhance existing monitor
Projects
None yet
Development

No branches or pull requests

2 participants