Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing Green when there is an Open Alert condition #8

Closed
abdulrahman7818 opened this issue Nov 22, 2019 · 3 comments
Closed

Showing Green when there is an Open Alert condition #8

abdulrahman7818 opened this issue Nov 22, 2019 · 3 comments

Comments

@abdulrahman7818
Copy link

I have installed Neon Nerdpack but it’s showing green when there is an open alert condition. Is this normal.
I just included transaction board and alert policy related to transaction - FYI.
Neon Nerdpack
Query Alert Condition

@amit-y
Copy link
Contributor

amit-y commented Nov 22, 2019

Hi @abdulrahman7818! From the query you ran, it appears you're looking for data from a day ago. When Neon queries data, it use the time range specified in the timepicker, located at the top right corner of the page. The default for the timepicker is 'last 30 mins.' When it queries data, and does not receive any records for that time range, it assumes all is well. If you want it to query from beyond the default, switch the time in the timepicker to an earlier time.
screenshot of timepicker

@abdulrahman7818
Copy link
Author

Hi Amit,

Thank you for your response and sorry for the delay in reply.

I tried, but even then it's showing green. Could you please verify and let me know if you want me to attach the samples.

@amit-y
Copy link
Contributor

amit-y commented Dec 17, 2019

Hi @abdulrahman7818,

The next time you see this happening, can you run this query, and verify that you're getting the right results from the query, please?

SELECT latest(current_state), latest(incident_id) FROM alert WHERE policy_name IN ('POLICY_NAME') FACET policy_name, condition_name SINCE 30 minutes ago LIMIT MAX

I'm assuming you're sending the notifications to the alert event, based on your screenshot. Also, replace POLICY_NAME with the name of the alert policy. You can also list multiple policy names within the parenthesis, comma separated, and with each policy name surrounded with single quotes.

If you're seeing a different output in the query you ran than what you're seeing in Neon, could you put in a ticket through New Relic support, please? I may need additional information to debug, and I'd rather not have your data show up here.

You can put in the ticket here: https://support.newrelic.com/new-ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants