Zabbix Agent For Mac

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+. Zabbix template for the ICMP ping test from the Zabbix Windows agent without any external scripts or user parameters. Edit Put the comma-separated target list into user macro at the template or host level.

Summary:

The software monitors operations on Linux, Hewlett Packard Unix (HP-UX), Mac OS X, Solaris and other operating systems (OSes); however, Windows monitoring is only possible through agents. Zabbix Agent Installer for Mac OS X. Contribute to mipmip/zabbixagentdosxinstaller development by creating an account on GitHub. John McIntyre wrote: HiJust got myself a new Mac, and was wondering if anyone has managed to install a Zabbix agent on a Mac running Mavericks? And also, Windows machines? - WatchGuard Dimension instantly turns raw network data into actionable security intelligence.

v0.7.7. This is a small emulator of Zabbix agent for AS/400 platform. Main purpose: to access AS/400-specific objects (message queues, output queues, subsystems and jobs). It's written on Java using the IBM Toolbox for Java API and library, implemented as Jar-file ready to start (see details below).

Limitations:

  • lack of IPv6 (IPv4 only supported);
  • no encryption (sorry, no plans);
  • only limited subset of standard metrics supported, and even in this case: some of them have a bit different semantics of parameters;
  • some config file's parameters are recognized, but really ignored (PidFile, EnableRemoteCommand, Alias, AllowRoot, Include, UserParameter and LoadModule);
  • configuration parameter ListenIP allows to set only one IP-address (contrary to list in original Zabbix-agent);
  • minimum value for the StartAgents parameter is 1 (i.e. active-only mode is not supported);
  • during message queue monitoring the integer part only of the message's EventID is transferred to Zabbix-server. It is restriction of Zabbix database schema (it has the integer type for the appropriate attribute). However, it's possible to use a regular expression in the item's key to filter by the full text value of EventID.

Requirements:

As this is a Java-program, you need a JRE to use it :-) This Jar-file has been compiled using JDK 1.8, but for running under JRE 1.7. So, you need minimum Java version 1.7. I tested it for monitoring our AS/400 system v 7.1; but it should, probably, work on other versions also.

I tried to have minimum dependencies, but some still exist. You need 2 libraries: IBM Toolbox for Java (jt400.jar) and Simple JSON parser (json-simple-1.1.1.jar). The first library is included in the AS/400 operating system, or you can download an open-source version (JTOpen) from the sourceforge site (link, you need only jt400.jar file from the archive). The second library is a tiny (<25KB) file for parsing JSON text, you can download it here (link, you need the json-simple-1.1.1.jar file only).
Really, you need the following files and directories:

  • jt400.jar;
  • json-simple-1.1.1.jar;
  • ZabbixAgent.jar (in fact, Zabbix-agent emulator, this project);
  • config file for the agent (default is 'zabbix_agentd.conf' in current directory). Example is included, check and modify it for your environment;
  • directory where the log file could be written (the only place where the write access is required).

File listing:

  • ZabbixAgent.jar – Zabbix agent emulator;
  • zabbix_agentd.conf – example of config file;
  • readme

Special Offer

Zabbix Monitoring Course Discount $10.99
https://www.udemy.com/course/zabbix-monitoring/?couponCode=055AA85F79CC86E1897A
Offer expires in hours. Be quick and share with your friends and colleagues.

Special Offer

Zabbix agent for mac osx

Grafana Course Discount $10:99
https://www.udemy.com/course/grafana-tutorial/?couponCode=418DA2F886FC58AF5CF6
Offer expires in hours. Be quick and share with your friends and colleagues.

Mac

Special Offer

Prometheus Course Discount $9:99
https://www.udemy.com/course/prometheus/?couponCode=E7349ED3421DD87D19C9
Offer expires in hours. Be quick and share with your friends and colleagues.

Special Offer

Threejs Course Discount $9:99
https://www.udemy.com/course/threejs-tutorials/?couponCode=8BCC47BC1F7494C16136
Offer expires in hours. Be quick and share with your friends and colleagues.

Video Lecture

Description

zabbix_get is a command line utility for getting data from Zabbix agents.

Zabbix Agent Mac Install

To install on ubuntu,

For help use

Try

Note

zabbix_get executes like a passive check, so the hostname of the server running the command also needs to be listed in the Server parameter in the configuration file for the host being queried.

Also,

If you are using psk encryption you will need to also enter the psk information, or add unencrypted to the options for TLSAccept in the agents configuration file on the host being queried.

Usage

Example Python Script

Troubleshooting

If you get the error, 'Check access restrictions in Zabbix agent configuration' then. Zabbix_get executes like a passive check, so the server running the command also needs to be listed in the Server parameter in the configuration file for the host being queried.

If your agent accepts psk encryption, the ensure you also send the psk parameters in your zabbix-get command. Or add the option unencrypted to the TLSAccept parameter in the configuration file for the host being queried.

Zabbix Agent Mac Os X

It is not necessary to set enableRemoteCommands=1 or modify the DenyKey or AllowKey parameters.

Useful Links