[GH-ISSUE #611] agent_id empty in table alerts_alert #2334

Closed
opened 2026-03-14 03:36:24 +03:00 by kerem · 6 comments
Owner

Originally created by @Nini81 on GitHub (Jun 30, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/611

Using Tactical RMM v0.7.2
When alert is poping, the field "agent_id" is empty in the "alerts_alert" table, So we're loosing the relation between the alert and the host. There's the hostname in the message, but if 2 clients use the same hostname ...

Originally created by @Nini81 on GitHub (Jun 30, 2021). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/611 Using Tactical RMM v0.7.2 When alert is poping, the field "agent_id" is empty in the "alerts_alert" table, So we're loosing the relation between the alert and the host. There's the hostname in the message, but if 2 clients use the same hostname ...
kerem 2026-03-14 03:36:24 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@silversword411 commented on GitHub (Jun 30, 2021):

Can you provide a screenshot with the problem?

<!-- gh-comment-id:871744005 --> @silversword411 commented on GitHub (Jun 30, 2021): Can you provide a screenshot with the problem?
Author
Owner

@Nini81 commented on GitHub (Jun 30, 2021):

https://imgur.com/a/PWh2h0p

here is it

Edit : i just realize there's the assigned_check_id that is related to the checks_check table, which contains the agent_id if needed. So my report is not really a big deal. should have seen that one earlier.

<!-- gh-comment-id:871758898 --> @Nini81 commented on GitHub (Jun 30, 2021): [https://imgur.com/a/PWh2h0p](https://imgur.com/a/PWh2h0p) here is it Edit : i just realize there's the assigned_check_id that is related to the checks_check table, which contains the agent_id if needed. So my report is not really a big deal. should have seen that one earlier.
Author
Owner

@wh1te909 commented on GitHub (Jun 30, 2021):

what exactly is the bug i don't understand

<!-- gh-comment-id:871765741 --> @wh1te909 commented on GitHub (Jun 30, 2021): what exactly is the bug i don't understand
Author
Owner

@Nini81 commented on GitHub (Jul 2, 2021):

i thought taht the "agent_id" should contain the id of the agent that poped the alert, no ?

<!-- gh-comment-id:873106626 --> @Nini81 commented on GitHub (Jul 2, 2021): i thought taht the "agent_id" should contain the id of the agent that poped the alert, no ?
Author
Owner

@silversword411 commented on GitHub (Jul 3, 2021):

That doesn't look like a standard TRMM screen. Are you using a 3rd party tool like grafana to look at the postgres database?

<!-- gh-comment-id:873397859 --> @silversword411 commented on GitHub (Jul 3, 2021): That doesn't look like a standard TRMM screen. Are you using a 3rd party tool like grafana to look at the postgres database?
Author
Owner

@sadnub commented on GitHub (Jul 3, 2021):

If the alert is triggered by a check or task, you need to get the agent through those relationships.

<!-- gh-comment-id:873418240 --> @sadnub commented on GitHub (Jul 3, 2021): If the alert is triggered by a check or task, you need to get the agent through those relationships.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2334
No description provided.