open-future-belgium / zabbix Goto Github PK
View Code? Open in Web Editor NEWzabbix scripts
zabbix scripts
No possible to add README file?
Please add support RH v8. I rewrite script for grep "release 8", compatible with "release 7" and works fine.
elif grep -q -i "release 8" /etc/redhat-release ; then
Script check-yum-updates.sh don't work with empty/default hostname value in /etc/zabbix/zabbix_agentd.conf
When this value is empty I use this:
HOSTNAME=$(hostname)
and script works.
Because is used zabbix-sender method, is needed to check, that checking is working. I fill in script about time of control:
LASTCHECK=$(date +%s)
....
echo "$HOSTNAME yum.lastcheck $LASTCHECK" >> $ZBX_DATA
and template extend about trigger for check older than 24h=60x60x24s=86400s
{
"zabbix_export": {
"version": "5.2",
"date": "2021-01-11T20:20:57Z",
"groups": [
{
"name": "Linux servers"
}
],
"templates": [
{
"template": "TemplateYumExtended",
"name": "TemplateYumExtended",
"templates": [
{
"name": "OF Template YUM Check Updates"
}
],
"groups": [
{
"name": "Linux servers"
}
],
"items": [
{
"name": "YumLastCheck",
"type": "TRAP",
"key": "yum.lastcheck",
"delay": "0",
"description": "Last date yum processing",
"applications": [
{
"name": "Available Updates"
}
],
"triggers": [
{
"expression": "{now()}-{last()}>86400",
"name": "{HOST.NAME} has Long without YUM check",
"priority": "HIGH",
"description": "check crontab for working zabbix-sender script"
}
]
}
]
}
]
}
}```
i got this error trying to import, can you please assist?
Cannot import template "Template Riverbed Steelhead", linked templates "Template ICMP Ping, Template SNMP Interfaces" do not exist.
I tried to import the template into Zabbix 2.2.
It complains about malformed xml in ...
Also, after fixing this, the template is imported but not shown in the web UI.
Could you please re-export the template or check these errors?
Hello,
The import of the zabbix template Triumph-Adler xml fails because it is missing the value mappings.
Do you have a list of this mappings?
Thanks in advance.
Thomas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.