Questions tagged [zabbix]

Zabbix is a free, open-source monitoring tool for diverse IT components, such as networks, servers, VM and cloud services. Zabbix provides metrics, such as network utilization, CPU load and disk usage consumption. The software monitors operations on Linux, HP-UX, Mac OS X, Solaris and Windows via agents installed on machines with a centralised server. It includes enterprise class features that can scale to support monitoring on thousands of servers.

Zabbix is installed as an 'agent' on machines to be monitored, with a central server that performs the monitoring. User defined 'templates' determine what attributes about a given client/agent to monitor; in this way, you can use Zabbix to monitor an enormous variety of activities.

Zabbix server is written in C on the back end, and PHP on the front end, and requires a relational database for the back end. Zabbix agent 1 is written in C and Zabbix agent 2 is written in Golang.

1379 questions
2
votes
1 answer

Zabbix Agent 2 throws an error when it tries to process the test plugin from the official instructions

I started to explore the possibilities of Zabbix agent 2 and decided to create a test plugin step by step as described in the official plugin creation guide. After all the steps I have gone through, Zabbix Agent does not want to do anything (except…
niceguy135
  • 21
  • 5
2
votes
1 answer

Regexp capture part of text but ignores rest if patern found

Using regexp I need to "filter" some text but only if part of line matches pattern. Sample input is (each line is separate record): OK: ALL OK (8536972.66889) ERROR: ioerror/8536615.22927 OK: ALL OK (8546369.92291) In case "OK: ALL OK" I need…
2
votes
1 answer

Docker containers on same host but different bridges can't connect

I have (2) Docker-Compose configs running on the SAME host but DIFFERENT Docker bridges. Each are on different subnets so their traffic must be routed. One Docker-Compose config is for a containerized website, while the other Docker-Compose config…
F1Linux
  • 3,580
  • 3
  • 25
  • 24
2
votes
2 answers

Zabbix: Unable to determine "dbversion"

I need your assistance, experience with zabbix and knowledge: I configured everything like the Avantistech website says. Everything works fine until I try to continue setting up the zabbix server in the web UI. It says "Unable to determine current…
Kuezy
  • 101
  • 1
  • 2
  • 10
2
votes
1 answer

Proper usage of Zabbix Agent container

I want to use Zabbix to monitor my server (just one so far). In order to keep things neat, I've decided to run it in Docker containers. I just have doubts about the usage of the agent in a container. As far as I understand it should be able to…
Ralfeus
  • 845
  • 9
  • 31
2
votes
2 answers

Zabbix and JMX connection refused

I have Zabbix server and on localhost is running a java-gateway but Zabbix can't check any JMX data becouse it says: cannot connect to [[localhost]:10052]: [111] Connection refused but if I use a Python script from…
gertz
  • 65
  • 6
2
votes
2 answers

Get problem description in Python and Zabbix API

I use trigger.get method to get all problems in my Zabbix monitoring: trigger = zapi.trigger.get (triggerids=problem['objectid'], selectHosts='extend') and it works propertly. But I get response for example: 'description': '{HOST.NAME} (…
Karol
  • 127
  • 1
  • 10
2
votes
1 answer

Zabbix API v4.0 - Data Not Received in problem.get API

I am trying to create a Custom Report in Zabbix Web Portal using a Zabbix API v4.0. In order to calculate the server's MTTR & MTBF value, we require Problem & Maintenance data. We tried to get Problems through this API. But the result is always…
2
votes
2 answers

How can I retrieve problem and host name using Zabbix API?

I want to retrieve data from Zabbix API using ZabbixAPI. So I made API JSON like below. zabbixapi.problem.get(time_from=time_from, time_till=time_till, selectHosts = ["host","name"], …
KJ9
  • 169
  • 2
  • 11
2
votes
1 answer

How to turn off triggers for a specific period on Zabbix?

I want to disable the Zabbix trigger only between 01:00 - 05:00. It should be enabled after 05:00 until 01:00 again. and time(...) > 050000 and time(...) < 010000 However, it doesn't seem to be working. I know about the Maintenance function on…
user11563595
  • 45
  • 1
  • 9
2
votes
1 answer

zabbix api get value of item 24 hours ago from current time

Im working on a python script that does some analysis. This script uses the following zabbix api to get the last value of an item: getlastvalue = { "jsonrpc":"2.0", "method":"item.get", "params":{ "output":"extend", …
Dev Ops
  • 127
  • 1
  • 10
2
votes
3 answers

Zabbix: Trigger Action Only After 5 Minutes

Summary: Need almost all triggers to only send action after 5 minutes of being down. In this case, page after 5 minutes after 71F. Polling is set for 30 seconds. Would like to keep this as the graphing is nice. Temp =…
Jeff
  • 21
  • 1
  • 3
2
votes
3 answers

pyzabbix Zabbix sender

I am looking to send a few items to zabbix using Zabbix-Sender function of pyzabbix. As a test I am running the below code - from pyzabbix import ZabbixMetric, ZabbixSender, ZabbixResponse metrics = [] m= ZabbixMetric('mme01', 'TEST',…
rfguy
  • 149
  • 1
  • 3
  • 11
2
votes
1 answer

How to migrate from php 5.4 to 7.3 without destroying Zabbix server?

CentOS Linux release 7.5.1804 (Core) Linux localhost.localdomain 4.19.0-1.el7.elrepo.x86_64 PHP 5.4.16 (cli) PHP 5.4.16 (fpm-fcgi) nginx/1.14.1 Zabbix 4.0.2 Hello. I want to upgrade from PHP54 to PHP73 version on my Zabbix Server. yum update shows…
rGA145
  • 155
  • 2
  • 11
2
votes
1 answer

How increase response time in zabbix trigger?

In my zabbix-server i have problem "High ICMP ping response time" here is screenshot of my issue So, average value of ping is abput 250 ms but it does not matter. so, how can i increase value of this trigger for example to 500 ms ? I mean if my ping…
Alexandr
  • 21
  • 1
  • 3