integrations-core icon indicating copy to clipboard operation
integrations-core copied to clipboard

[Cronjob isn't on schedule] Wrong alert !?

Open anhkhoa45 opened this issue 4 years ago • 1 comments

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>

anhkhoa45 avatar Feb 01 '21 07:02 anhkhoa45

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!

ahmed-mez avatar Dec 16 '21 12:12 ahmed-mez