If you use Zabbix for monitoring your systems, and have any MacOS systems, you may be disappointed to find out that the precompiled binaries for zabbix_agent are not made available for download. Lucky for us setup of zabbix_agent on macos doesn't need to be painful.
The Zabbix Agent for OSX must be compiled from source code, and amazingly no one including Zabbix seems to be offering pre-compiled binaries or packages. There are good instructions for how to do this, including the article: ' Install Zabbix Agent on Mac osx ', but I got configure errors and so have worked out better instructions. ZABBIX FEATURE REQUESTS; ZBXNEXT-3413; precompiled binary package Agent for Mac OS X.
First we need to install homebrew. If you do not already have it installed, simply open the terminal and enter the following:
Next we can install the zabbix agent. Make sure you specify the –without-server-proxy to force the installer to only install the agent.
Brew will go on to install a bunch of stuff for us. Double check if any of the warnings apply to you.
If everything went will you should have zabbix_agentd installed. The setup also installs zabbix_get and zabbix_sender for you as well.
Next you will need to edit the /usr/local/etc/zabbix/zabbix_agentd.conf.
You can now start the agent by issueing the following command at the terminal
After you have set the zabbix_agent the way you want, you will need to build a .plist file so that you can set the agent to start on boot. The zabbix_agent does not like to launch as root, so in System Preferences, go to Users & Groups and create a Standard user. called 'zabbix_agentd' with no home directory or password or email.
Next you will need to edit the /usr/local/etc/zabbix/zabbix_agentd.conf.
You can now start the agent by issueing the following command at the terminal
After you have set the zabbix_agent the way you want, you will need to build a .plist file so that you can set the agent to start on boot. The zabbix_agent does not like to launch as root, so in System Preferences, go to Users & Groups and create a Standard user. called 'zabbix_agentd' with no home directory or password or email.
Paste the following information into the file
You can now create your host in the zabbix web admin. What to do there is a topic for another day.
Hope this has helped you, let me know!
Ben has been building VoIP solutions for over 10 years, has over 15 years of Linux administration experience and enjoys problem-solving. When he is not coding something in Python, or tinkering with some project, you can often find him wandering through the forests and parks of the Pacific Northwest enjoying waterfalls, trails, and animals.
Template for monitoring replications jobs perfomaded by PVE Zsync tool in PVE.
This is template for native monitoring systemd services via Zabbix Agent 2. Zabbix agent 2 is a new generation of Zabbix agent and may be used in place of Zabbix agent. Template is for Zabbix 4.4+
This is a self-contained monitoring template to get I/O statistics of block devices on Linux systems.
SNMP Template to poll UCD Disks Polls the following Stats diskIONRead The number of bytes read from this device since boot. diskIONWritten The number of bytes written to this device since boot. diskIOReads The number of read accesses from this device ..
The purpose of this tool is to allow data collector for openwrt clients. It gets download total bytes, upload total bytes, upload total packets, et download total packets for every client.
First Step- You will need put the user parameter below in your zabbix_agent.conf UserParameter=vfs.fs.mounted[*],findmnt -nr -o source -T $1 > /dev/null && echo 0 || echo 1 this parameter will return if the mount point is OK Second .. Flatout 2 download mac os x.
Installing apps for mac windows 10. If you see Uninstall App or App Uninstaller, double-click it, then follow the onscreen instructions.If an app isn't in a folder or doesn't have an Uninstaller, the app from the Applications folder to the Trash (at the end of the Dock). You can remove apps that you downloaded and installed from the internet or from a disc.On your Mac, click the Finder icon in the Dock, then click Applications in the.Do one of the following:.If an app is in a folder, open the app's folder to check for an Uninstaller.
Zabbix plugin for /proc/interrupts monitoring The same stats you can get from mpstat -I CPU
video This template will discover all available Linux services using command 'systemctl list-unit-files'. Zabbix will query each service using command 'systemctl status service-name'. Zabbix will use preprocessing and extract some attributes of each se ..
Overview This template works only Zabbix server 4.2 or higher Monitoring Linux components: CPU, Memory, Disk, Network, Inventory Templates follow Zabbix template guidelines (https://www.zabbix.com/documentation/4.4/manual/appendix/templates/template_ ..
Send statistic from /proc/diskstats to Zabbix without any additional package and program Features AutoDiscovery BlockDev and Filter by global regexp: block_dev_filter Collect ReadWrite Operations per second Collect ReadWrite Sectors per second Ca ..
Скрипт + Шаблон для Linux LLD LM-SensorsСделал 2 варианта шаблонов через команду sensors и через команду sensors -u УстановкаУстанавливаем на удаленный Хост программу lm-sensorsСкачиваем скрипт ложим его на заббикс сервер в моем случае путь такой/usr/loc ..
This template will allow you to monitor one Linux Services using systemctl, and fire the alarm on zabbix Dashboard. it's very simple template without using User Parameter or Scripts Just item and trigger , if you want to monitor more than one services th ..
Zabbix Agent Configuration
Zabbix Template Module NFS version 1.0.3 Tested on Zabbix 4.4 Github : https://github.com/FroggDev/zabbix-nfs Introduction Template for zabbix to check nfs share availability using external script. It can check: If NFS server is accepting request ..
Zabbix Template Module SMB version 1.0.2 Tested on Zabbix 4.4 Github : https://github.com/FroggDev/zabbix-smb Introduction Template for zabbix to check smb share availability using external script. It can check: If SMB shares are available SMB sh ..
Zabbix Agent For Mac Osx
Template for collecting Linux conntrack metrics. Usefull for monitoring systems doing NAT, for example - Docker/Kubernetes nodes, Linux-based gateways. Uses system.run but may be altered with userparameter if remote commands are forbidden. Ubuntu Xenial ..
I needed a template for monitoring XFS project quotas. This is only used with Zabbix 5 but it may work on older/newer versions with little tweaks. Requires `jq`, `grep`, `awk` and `sudo` configuration. I needed to use `grep` because of the slashes in XF ..
The following template is utilizing Zabbix agent to discover TCP ports in listening state. Underneath the hood it will use the command: ss --tcp --listening --numeric This means the remote commands must be enabled. Or you need to convert it as an User ..
Page 2 of 2
Zabbix Agent Macros
- 2
- Next
- End