Monitoring of Varnish in Zabbix #13203
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#13203
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
We should monitor Varnish in Zabbix. It's a popular tool, so there's probably a tempate for it, we should check and see if it's suitable and test it in Stg.
Additional info - this is specifically for the kojipkgs machines
But also the proxies have a varnish instance on them and that also would be nice to monitor.
OK, I have this set up on proxy01.stg:
https://zabbix.stg.fedoraproject.org/zabbix.php?name=varn&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&show_tags=3&tag_name_format=0&tag_priority=&state=-1&filter_name=&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_details=0&action=latest.view&hostids%5B%5D=10676
Some notes though:
usermod -aG varnish zabbix) so it could runvarnishstatsThe latter is not a big deal but I'm not sure if the former is better than a sudo rule (so I can use sudo varnishstats from the agent). Thoughts @kevin?
Also, there's no real triggers set up other than "it's not working", do we want any thing to alert on request rates or similiar? might give us some heads up on scrapers?
hum, well, security wise I guess they are similar. The sudo calls will add a bunch of noise to logs tho (logging every one of the sudo calls, new systemd session, etc). So, I think perhaps we should go with group perms + selinux tweak?
I think it's fine to not have triggers yet. We can roll this out, monitor a bunch of things and then look at what might make sense to add triggers for later.
Rolled out, see the Varnish* items under the Varnish group in Zabbix.
I'll log a new ticket to add some triggers once we have data.