Code Monkey home page Code Monkey logo

zabbix's Introduction

Zabbix Scripts

Updated 27/1/2017

Check Read Only

  • LLD Script to check RO status of filesystems

Check Yum Updates

  • check-yum-updates: works for rhel6 / rhel7
  • copy the script in cron.daily
  • install zabbix-sender and yum plugin security
  • add template to you zabbix server and link it with the hosts.

Templates

A collection of Zabbix templates

zabbix's People

Contributors

trikke76 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zabbix's Issues

RH8 support

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

Value Mapping

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

The template does not import into Zabbix 2.2 properly.

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?

Empty HOSTNAME

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.

Check working yum checking

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"
                            }
                        ]
                    }
                ]
            }
        ]
    }
}```

import failed zabbix appliance 3.4

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.