Filter out some Copr related Zabbix warnings #13450
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#13450
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of request
@gwmngilfen configured a Matrix room for the Copr team where we receive Zabbix warnings. This is much appreciated. We have one problem which is that we receive too many notifications and the important ones get lost in the noise. So I went through all the unique messages that we got and categorized them as either relevant or irrelevant for our team.
We definitely want to get these:
These are not helpful for us, and should probably go to #fedora-noc. I don't know how to fix either of these:
The load and high CPU utilization ones, we don't know
Is there some severity above warning? Like critical? If yes, we would like to only get that one. If not, please continue sending the warnings.
Thanks for this. In #noc we use a filter of "above Warning" which still leaves us "Average", "High", and "Disaster" levels, while "Warning" and "Informational" stay in the Zabbix UI. So for COPR checks like the CDN, copr-ping, etc, we can simply set the status to "Average" or higher, and apply the same filter.
The issue is with the generic checks like MD raid, Apache, etc. These come from more generic templates which apply to many hosts, so simply raising the alert level isn't what we want to do. We can match on specific trigger names, but that might mean you miss out on other things you care about later.
My gut feeling is that we need some negative-tagging like "not-copr" or such that we can add to infra-wide templates, but I'm not super happy with that. I'll think on it.
Sounds good to me
So I don't think a simple severity-level check works, you have some items you want that are low-prio, and some you don't want that are high-prio.
Here's what I've set up on prod just now, which I think covers what you need:
Specifically this is either a check marked as copr-team, or one of the named checks above. I used a match on tags, so other problems with those services will be reported, rather than using explicit trigger names.
Let's see how that goes - I haven't made the change yet on staging, so we can perhaps compare.
I've set up the above on both prod and stg, so I'll close this for now. We can always tweak it more.