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

feat(qemu-quest): Provide both an active and standard template #126

Merged
merged 1 commit into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Stacks/Servers/EL7_KVM_VM_Stack/7.0/EL7_KVM_VM_Stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ zabbix_export:
version: '7.0'
templates:
- name: 'EL7 Stack'
- name: qemu-ga
- name: 'qemu-ga active'
groups:
- name: Stacks/Servers
tags:
Expand Down
2 changes: 1 addition & 1 deletion Stacks/Servers/EL7_KVM_VM_Stack/7.0/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Stacks/Servers/EL8_KVM_VM_Stack/7.0/EL8_KVM_VM_Stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ zabbix_export:
version: '7.0'
templates:
- name: 'EL8 Stack'
- name: qemu-ga
- name: 'qemu-ga active'
groups:
- name: Stacks/Servers
tags:
Expand Down
2 changes: 1 addition & 1 deletion Stacks/Servers/EL8_KVM_VM_Stack/7.0/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Stacks/Servers/EL9_KVM_VM_Stack/7.0/EL9_KVM_VM_Stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ zabbix_export:
version: '7.0'
templates:
- name: 'EL9 Stack'
- name: qemu-ga
- name: 'qemu-ga active'
groups:
- name: Stacks/Servers
tags:
Expand Down
2 changes: 1 addition & 1 deletion Stacks/Servers/EL9_KVM_VM_Stack/7.0/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Templates/Applications/qemu-ga/7.0/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 20 additions & 22 deletions Templates/Applications/qemu-ga/7.0/qemu-ga.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ zabbix_export:
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
- uuid: 77a0624363cd4616a13d1902430ae186
- uuid: b16432d2badd4f24b26678a57acbbe1c
template: qemu-ga
name: 'QEMU Guest Agent'
description: |
Expand All @@ -18,9 +18,8 @@ zabbix_export:
groups:
- name: Templates/Applications
items:
- uuid: 479183626b394584a9faf40cda6e86ff
- uuid: aedc0d5ca3104b62ba424e19efffcee7
name: 'qemu-ga: process summary'
type: ZABBIX_ACTIVE
key: 'proc.get[qemu-ga,root,,summary]'
history: '0'
value_type: TEXT
Expand All @@ -29,7 +28,7 @@ zabbix_export:
tags:
- tag: component
value: raw
- uuid: 490c3dc19ef844dda08fc71378a65de2
- uuid: 02c6ae87961d4129a9c2aad521c8cb87
name: 'qemu-ga: Unit active state'
type: DEPENDENT
key: rabe.qemu-ga.active_state
Expand All @@ -51,15 +50,15 @@ zabbix_export:
- tag: component
value: service
triggers:
- uuid: 35f0bcdb66a14d9da957bf89f86a5bcd
- uuid: c44acf018d5e486ea9143836c599071d
expression: last(/qemu-ga/rabe.qemu-ga.active_state)<>1
name: 'qemu-ga: Service is not running'
priority: WARNING
manual_close: 'YES'
tags:
- tag: scope
value: availability
- uuid: 17bd216dfec5463f8ddbc8237bf25fbc
- uuid: e917382db512495c827653ec85ff1ac9
name: 'qemu-ga: CPU seconds (system)'
type: DEPENDENT
key: rabe.qemu-ga.cputime_system
Expand All @@ -82,7 +81,7 @@ zabbix_export:
tags:
- tag: component
value: qemu-ga
- uuid: 1def6d220e36452b850cdb00ee088372
- uuid: 9145fc9350a544beb96bef9ea69db12d
name: 'qemu-ga: CPU seconds (user)'
type: DEPENDENT
key: rabe.qemu-ga.cputime_user
Expand All @@ -105,7 +104,7 @@ zabbix_export:
tags:
- tag: component
value: qemu-ga
- uuid: 983e40d9d5f04fd483681421cedae2fe
- uuid: 214a2560c2974083aca15a65ce485084
name: 'qemu-ga: Service load state'
type: DEPENDENT
key: rabe.qemu-ga.load_state
Expand All @@ -126,7 +125,7 @@ zabbix_export:
tags:
- tag: component
value: service
- uuid: f1dd7d16f45c4fd289cfa085ae1c88b8
- uuid: ef40f252740b45c49b6a4e59f03e3b43
name: 'qemu-ga: Number of processes'
type: DEPENDENT
key: rabe.qemu-ga.processes
Expand All @@ -146,7 +145,7 @@ zabbix_export:
- tag: component
value: qemu-ga
triggers:
- uuid: aa2a46515f98469482296b49600c44c7
- uuid: 3a1e7916e4084c3c89eb2c29559e7beb
expression: 'last(/qemu-ga/rabe.qemu-ga.processes)<{$QEMUGA.THRESHOLD.MIN_PROC}'
name: 'qemu-ga: No running processes'
priority: HIGH
Expand All @@ -157,7 +156,7 @@ zabbix_export:
tags:
- tag: scope
value: availability
- uuid: 49bda86d7fa6491e88b9cace94751f34
- uuid: 2584d752ee864ed3a40ba982d8ac6e51
name: 'qemu-ga: Memory usage (RSS)'
type: DEPENDENT
key: rabe.qemu-ga.rss
Expand All @@ -177,7 +176,7 @@ zabbix_export:
tags:
- tag: component
value: qemu-ga
- uuid: 850a82a7000d44509b709951fe00ac98
- uuid: 91a93eddfafd497eb2cf2f0a61468852
name: 'qemu-ga: Swap usage'
type: DEPENDENT
key: rabe.qemu-ga.swap
Expand All @@ -197,7 +196,7 @@ zabbix_export:
tags:
- tag: component
value: qemu-ga
- uuid: b799e7ba76b2442ba0b296c51f7517a4
- uuid: 5691720c2fd94dd0a478e2033393a758
name: 'qemu-ga: Number of threads'
type: DEPENDENT
key: rabe.qemu-ga.threads
Expand All @@ -216,7 +215,7 @@ zabbix_export:
tags:
- tag: component
value: qemu-ga
- uuid: dc3d8fd54e7b44d4951f276f1703496d
- uuid: b6584b0b372c42e58934ed952669134e
name: 'qemu-ga: Unit file state'
type: DEPENDENT
key: rabe.qemu-ga.unitfile_state
Expand All @@ -237,7 +236,7 @@ zabbix_export:
tags:
- tag: component
value: service
- uuid: b44b4dda6f254b19879ce854b29f5f12
- uuid: b9be103c032341e9b6d19553e38bf5c9
name: 'qemu-ga: Uptime'
type: DEPENDENT
key: rabe.qemu-ga.uptime
Expand All @@ -261,17 +260,16 @@ zabbix_export:
- tag: component
value: service
triggers:
- uuid: d2e99905e5e04957a2953ef7f71081f7
- uuid: fabb1704509c4b1fb044c94f769e3daf
expression: last(/qemu-ga/rabe.qemu-ga.uptime)<=10m
name: 'qemu-ga: has been restarted'
priority: INFO
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: 609efd8900794691a7ace4002d1c78ae
- uuid: b2da699dab1e410ab15b4b37ea0056ad
name: 'qemu-ga: unit info'
type: ZABBIX_ACTIVE
key: 'systemd.unit.get["qemu-guest-agent.service"]'
history: '0'
value_type: TEXT
Expand All @@ -292,7 +290,7 @@ zabbix_export:
value: '1'
description: 'Minimum amount of processes expected to be running at all times.'
dashboards:
- uuid: 910162aa19a04fd9b91f491190ab4c74
- uuid: 3bf1bab51c964662a6a53feeafe89485
name: 'qemu-ga: Overview'
pages:
- widgets:
Expand Down Expand Up @@ -539,7 +537,7 @@ zabbix_export:
name: thresholds.1.threshold
value: '1'
valuemaps:
- uuid: 3379206daed14761a2104f5bda46651f
- uuid: e00dfbb2a2cb4b6d8aeb5b4bee8f41ad
name: 'Unit Active State'
mappings:
- value: '0'
Expand All @@ -556,7 +554,7 @@ zabbix_export:
newvalue: activating
- value: '6'
newvalue: deactivating
- uuid: ed6125e7aadc47b1bd6c5a5133fcb676
- uuid: f64252bbca9f44dba3f30660e4c9d202
name: 'Unit File State'
mappings:
- value: o
Expand All @@ -579,7 +577,7 @@ zabbix_export:
newvalue: disabled
- value: '9'
newvalue: runtime
- uuid: 35810908d92e41b2b760d0c38c887ceb
- uuid: f80fe8fe8e164d398cf129c0af560529
name: 'Unit Load State'
mappings:
- value: '0'
Expand Down
Loading
Loading