You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Thruk
Hi;
When program downtimes recur in the thruk interface for my second backend, I see that they are generated in Apache's cron, but I need to set the backend to which it applies.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to th...@googlegroups.com, Manuel Gutiérrez Molina
Hi,
the backend information should be extracted from the actual downtime, not from the command parameter. So i'd say this is expected.
Or is the downtime applied to the wrong backend?
Regards,
Sven
On 26.03.25 16:30, Manuel Gutiérrez Molina wrote:
> Hi;
>
> When program downtimes recur in the thruk interface for my second backend, I see that they are generated in Apache's cron, but I need to set the backend to which it applies.
>
> *This is what it generates:*
> 58 11 * * 3 cd /usr/share/thruk && /bin/bash -l -c '/usr/bin/thruk downtimetask "13"' >/dev/null 2>>/var/lib/thruk/cron.log*
> *
> *When should it be generated like this?*
> 58 11 * * 3 cd /usr/share/thruk && /bin/bash -l -c '/usr/bin/thruk -b *SECONDBACKEND* downtimetask "13"' >/dev/null 2>>/var/lib/thruk/cron.log
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sven Nierlein, th...@googlegroups.com
It is not being applied to the correct backend, it should be applied to the backend SECONDBACKEND But the cron is generated without backend.
Message has been deleted
Manuel Gutiérrez Molina
unread,
Apr 1, 2025, 2:41:20 AMApr 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Thruk
Hi;
I've updated to thruk 3.20.2 and we're still having the same issue.
After creating a recurring downtime on the primary backend for the secondary backend, the downtime is created in the cron job, but it's not actually applied to the secondary backend; when it should be applied, it has no effect.
In another environment we've updated, the cron job is created with the -b SECOND_BACKEND flag.