integrations-core
integrations-core copied to clipboard
[Cronjob isn't on schedule] Wrong alert !?
The monitor sometimes alerts that the cronjob is 1-2s late.
However, the cronjob seems correctly scheduled when checking with kubectl
Alert:
[P2] [Triggered on {cronjob:xxx}] Cronjob isn't on schedule
The service check scheduled at 2021-02-01 00:00:00 is -1 seconds late
The monitor was last triggered at Mon Feb 01 2021 00:00:27 UTC.
--
kubectl describe result:
...
Schedule: 0 0 * * *
...
Last Schedule Time: Mon, 01 Feb 2021 00:00:00 +0000
Active Jobs: <none>
Events: <none>
Hi @anhkhoa45
Thanks for opening this issue!
Could you provide more information about the agent version you're using, and the whether you're using the KSM core check or not?
Ideally, contacting our support team is more efficient to investigate and solve this kind of issues. So don't hesitate to open a support ticket.
Thanks!