Zbxmon

zabbix monitor script
Alternatives To Zbxmon
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Hertzbeat2,782
19 hours ago77apache-2.0Java
An open source, real-time monitoring tool with custom-monitor and agentless. Web, database, os, middleware, cloudnative, network and more. Aim to monitor everything!
Prometheusalert2,067
25 days ago10April 19, 202127mitJavaScript
Prometheus Alert是开源的运维告警中心消息转发系统,支持主流的监控系统Prometheus,Zabbix,日志系统Graylog和数据可视化系统Grafana发出的预警消息,支持钉钉,微信,华为云短信,腾讯云短信,腾讯云电话,阿里云短信,阿里云电话等
Nagstamon372
a day ago82otherPython
Nagios status monitor for your desktop.
Zabbix Rds Monitor122
7 months ago1Python
aliyun RDS status monitor with zabbix
Graphtrees105
6 years ago
此项目当前不再更新,只适用于3.0和3.2版本
Zabbix Agent Extensions104
6 months ago3gpl-2.0Python
zabbix-agent-extensions
Container Monitor104
2 years ago3mit
容器监控方案汇总
Zabbix Monitor61
4 years ago2Vue
monitor system based on zabbix API pyzaabix grafana
Docker Zabbix48
6 years ago9gpl-3.0Python
Add and monitor running docker containers in Zabbix Server
Monitor_ce34
6 years ago1
OneOaaS Monitor Community Edition
Alternatives To Zbxmon
Select To Compare


Alternative Project Comparisons
Readme

service monitor scripts for zabbix

This project is used for get some services status data in zabbix agent

#optional arguments:

  • -h, --help show this help message and exit
  • --discovery, -D Discovery the service instance and return json data
  • --service SERVICE, -S SERVICE the service name of monitor
  • --instance INSTANCE, -I INSTANCE the name of the instance you want
  • --item ITEM, -K ITEM the item of you want
  • --macros MACROS, -M MACROS the macro list, used to build discovery data eg:p1/p2/p3
  • --extend EXTEND, -E EXTEND extend args eg. p/p1/p2
  • --cache CACHE, -C CACHE cache path
  • --list, -L list monitor items for this instance

#example: ##Zabbix LLD zbxmon --discovery --macros MYSQLIP/MYSQLPORT --service mysql --extend zabbixmonitor/zabbixmonitor The 'zabbixmonitor' is user/password of mysql, if it can not access mysql, we will try use the sock file to accessing mysql, and add this user.

Output:

{
  "data": [
    {
      "{#MYSQLIP}": "192.168.1.1",
      "{#MYSQLPORT}": "3306"
    },
    {
      "{#MYSQLIP}": "192.168.1.1",
      "{#MYSQLPORT}": "3307"
    },
    {
      "{#MYSQLIP}": "192.168.1.1",
      "{#MYSQLPORT}": "3308"
    }
  ]
}

##Get status data
zbxmon --service mysql --item additional_pool_alloc --instance 192.168.1.1/3306 --extend zabbixmonitor/zabbixmonitor

#In zabbix agent conf Add this lines:

UserParameter=service.status[*],/path/to/zbxmon --service=$1 --item=$2 --instance=$3 --extend=$4
UserParameter=service.discovery[*],/path/to/zbxmon --service=$1 --discovery --macros=$2 --extend=$3
Popular Monitor Projects
Popular Zabbix Projects
Popular Operations Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Mysql
Monitor
Macros
Discovery
Zabbix