-
Notifications
You must be signed in to change notification settings - Fork 13
Add alert probe for Zabbix #85
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
Merged
bzurkowski
merged 4 commits into
openrca:master
from
aleksandra-galara:Zabbix_integration
Jun 12, 2020
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "status": "0", | ||
| "recovery_mode": "0", | ||
| "description": "/etc/resolv.conf: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:\"/etc/resolv.conf\"}%)", | ||
| "state": "0", | ||
| "url": "", | ||
| "type": "0", | ||
| "templateid": "0", | ||
| "correlation_tag": "", | ||
| "lastchange": "1590642631", | ||
| "value": "1", | ||
| "priority": "2", | ||
| "triggerid": "16919", | ||
| "opdata": "Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})", | ||
| "flags": "4", | ||
| "comments": "Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:\"/etc/resolv.conf\"}.\r\n Second condition should be one of the following:\r\n - The disk free space is less than 10G.\r\n - The disk will be full in less than 24 hours.", | ||
| "error": "", | ||
| "hosts": [ | ||
| { | ||
| "host": "node3", | ||
| "hostid": "10318" | ||
| } | ||
| ], | ||
| "correlation_mode": "0", | ||
| "expression": "{19856}>{$VFS.FS.PUSED.MAX.WARN:\"/etc/resolv.conf\"} and\r\n(({19857}-{19858})<10G or {19859}<1d)", | ||
| "recovery_expression": "", | ||
| "manual_close": "1" | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| [ | ||
| { | ||
| "status": "0", | ||
| "recovery_mode": "0", | ||
| "description": "Zabbix agent is not available (for {$AGENT.TIMEOUT})", | ||
| "state": "0", | ||
| "url": "", | ||
| "type": "0", | ||
| "templateid": "16198", | ||
| "correlation_tag": "", | ||
| "lastchange": "1590405426", | ||
| "value": "1", | ||
| "priority": "3", | ||
| "triggerid": "16873", | ||
| "opdata": "", | ||
| "flags": "0", | ||
| "comments": "For passive only agents, host availability is used with {$AGENT.TIMEOUT} as time threshold.", | ||
| "error": "", | ||
| "hosts": [ | ||
| { | ||
| "host": "node2", | ||
| "hostid": "10319" | ||
| } | ||
| ], | ||
| "correlation_mode": "0", | ||
| "expression": "{19743}=0", | ||
| "recovery_expression": "", | ||
| "manual_close": "1" | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "status": "0", | ||
| "recovery_mode": "0", | ||
| "description":"Load average is too high (per CPU load over {$LOAD_AVG_PER_CPU.MAX.WARN} for 5m)", | ||
| "state": "0", | ||
| "url": "", | ||
| "type": "0", | ||
| "templateid": "0", | ||
| "correlation_tag": "", | ||
| "lastchange": "1511612631", | ||
| "value": "1", | ||
| "priority": "3", | ||
| "triggerid": "16565", | ||
| "opdata": "Load averages(1m 5m 15m): ({ITEM.LASTVALUE1} {ITEM.LASTVALUE3} {ITEM.LASTVALUE4}), # of CPUs: {ITEM.LASTVALUE2}", | ||
| "flags": "4", | ||
| "comments": "Per CPU load average is too high. Your system may be slow to respond.", | ||
| "error": "", | ||
| "hosts": [ | ||
| { | ||
| "host": "node3", | ||
| "hostid": "10318" | ||
| } | ||
| ], | ||
| "correlation_mode": "0", | ||
| "expression": "{19277}/{19278}>{$LOAD_AVG_PER_CPU.MAX.WARN}\r\nand {19279}>0\r\nand {19280}>0", | ||
| "recovery_expression": "", | ||
| "manual_close": "1" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.