#support

Troubleshooting Alert Triggers on Signoz Localhost

TLDR Noor is trying to trigger an alert on Signoz installed on localhost but is experiencing issues. Srikanth provides some queries, requests log records, and gives advice on formulating alerts. However, the issue remains unresolved.

Powered by Struct AI
Oct 26, 2023 (1 month ago)
Noor
Photo of md5-4fdfd972be680409429627667fd6b8bf
Noor
09:41 PM
Hello Support I even uninstalled and reinstalled signoz on my local host I still cannot get Alert to trigger do you know what is causing that it is log based Alert
Image 1 for Hello Support I even uninstalled and reinstalled signoz on my local host I still cannot get Alert to trigger do you know what is causing that it is log based Alert
Oct 27, 2023 (1 month ago)
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
11:39 AM
Share the query details and does the alert definitions condition set in such a way that should trigger the alert?
Noor
Photo of md5-4fdfd972be680409429627667fd6b8bf
Noor
11:47 AM
Hello Srikanth the main and goal is top trigger alert for this log 1698354023 00000001 AdminTool A ADMU3000I: Server igawas02 open for e-business; process id is 15991154 do we ned to change config in alert.yml or alertmanager.yml in order to trigger an alert do we need setup notification channel or will it work without it .
Image 1 for Hello Srikanth the main and goal is top trigger alert for this log 1698354023 00000001 AdminTool     A   ADMU3000I: Server igawas02 open for e-business; process id is 15991154 do we ned to change config in alert.yml or alertmanager.yml in order to trigger an alert do we need setup notification channel or will it work without it .Image 2 for Hello Srikanth the main and goal is top trigger alert for this log 1698354023 00000001 AdminTool     A   ADMU3000I: Server igawas02 open for e-business; process id is 15991154 do we ned to change config in alert.yml or alertmanager.yml in order to trigger an alert do we need setup notification channel or will it work without it .Image 3 for Hello Srikanth the main and goal is top trigger alert for this log 1698354023 00000001 AdminTool     A   ADMU3000I: Server igawas02 open for e-business; process id is 15991154 do we ned to change config in alert.yml or alertmanager.yml in order to trigger an alert do we need setup notification channel or will it work without it .Image 4 for Hello Srikanth the main and goal is top trigger alert for this log 1698354023 00000001 AdminTool     A   ADMU3000I: Server igawas02 open for e-business; process id is 15991154 do we ned to change config in alert.yml or alertmanager.yml in order to trigger an alert do we need setup notification channel or will it work without it .
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
12:07 PM
Then it should be like body CONTAINS <your-serach-text> . How often is this log emitted?
Noor
Photo of md5-4fdfd972be680409429627667fd6b8bf
Noor
12:13 PM
say every 5 min
12:22
Noor
12:22 PM
also do we need to do anything here to see alerts getting triggered
Image 1 for also do we need to do anything here to see alerts getting triggered
12:36
Noor
12:36 PM
Also what cause alert not to trigger I have been using my local host for last 60 days is it due to that just want to make sure
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
12:36 PM
No, the actual log records should match the query to get alerted. Can you share sample logs from signoz UI?
Noor
Photo of md5-4fdfd972be680409429627667fd6b8bf
Noor
12:39 PM
{
"body": "Java Home = /opt/1638963361 00000001 AdminTool A ADMU3000I: Server igawas02 open for e-business; process id is 8192488",
"id": "2XLYucsmUDRYWi0xfxg4Mwm9Rjx",
"timestamp": 1698410050243057400,
"attributes": {
"log_file_name": "NewLogTest1.log"
},
"resources": {},
"severity_text": "",
"trace_id": "",
"span_id": "",
"trace_flags": 0,
"severity_number": 0
}
12:39
Noor
12:39 PM
this what it looks like
Image 1 for this what it looks like
12:43
Noor
12:43 PM
so what I need to know moving forward what my team member needs to do in order to trigger alerts I am working on my turn over document for Signoz after this it will be deployed