Hello, everyone!
I’m working on a Low-Level Discovery (LLD) script in Zabbix that’s set up as an "External" item. The script interacts with Aruba’s API to generate hosts for different clients based on their specific sites and devices.
The challenge I’m facing is...
Search Result
Collapse
25 results in 0.0080 seconds.
Keywords
Members
Tags
-
RaulChiarella started a topic [LLD] Manage API Tokens in Python for Multiple Clients for Concurrent Updatesin Zabbix Help[LLD] Manage API Tokens in Python for Multiple Clients for Concurrent Updates
-
When running a script from Zabbix GUI Zabbix returns "Unsupported key"
Hi guys,
So I've been trying to run a script I created on the Debian 12 machine hosting the Zabbix (ver 7.0.3) When using the test prompt in my Zabbix item I get "Unsupported key" returning, I am using the system. Run key. The script is named.sh and calls a python script which... -
Combining Python and Zabbix API - couple questions from a newbie
Hello there,
It's my first post on this forum so I'd like to say hi
On start, I'd like to emphasize that I'm a complete noob in Zabbix API scripting and some of my questions may sound just stupid. I am aware of Zabbix documentation and I am reading it but still, for a new person... -
Pass a parameter from Zabbix (external script) to python code
Hello.
I want to know how to pass a parameter from zabbix to my python script. For example, I have an url in my script, example: "http://127.0.0.1/api/information". I need to pass the macro variable {HOST.CONN} in this ip area of my url, like this: "http://{HOST.CONN}/api/information"... -
Zabbix API problem.get method returning r_ns and r_clock as "0"
Hi!
This is my first post here, so I'm hoping this is the right place for this.
I'm writing a dashboard in python for our multiple Zabbix environments, and I'm trying to re-create the functionality that the web Zabbix's front end has, where when you hover over the issue, it shows... -
Отчет о доступночти с помощью Python
Приветствую коллеги,
появилась задача сделать отчет по доступности сетевого оборудования за определенный период. В самом Zabbix порылся, но не нашел, решил поискать на Хабре. Человек делал подобные вещи
https://habr.com/ru/post/325876/
Решил подредактировать скрипт,... -
Unable to create zabbix-server resource in HA
Hello All,
I am using centos 7.8 and below packages.
python-2.7.5-88.el7.x86_64
pacemaker-1.1.21-4.el7.x86_64
fence-agents-all-4.2.1-30.el7.x86_64
corosync-2.4.5-4.el7.x86_64
I am trying to create zabbix server resouce in my HA but it gives me below...Last edited by Asjad; 12-05-2020, 11:41. -
After upgrade from 2.0.5 to 4.4 unable to login with zabbix_api
Hi there,
After recent upgrade from 2.0.5 to 4.4 my python automation broke and I am getting an error while trying to login using zabbix_api module.
unable to decode. returned string: b'<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta http-equiv="X-UA-Compatible"... -
Is possible to run trigger using python script?
Hi folks, I have python script which is downloading and parsing some files. In these files I am looking for some string. I would like to ask if there is any way how to connect it to zabbix. I would like to run trigger in case that script will find string which I am looking for. Is there any solution... -
treefox started a topic How to use Scripts on a Zabbix server to execute a Python .py on a Zabbix Hostin Zabbix HelpHow to use Scripts on a Zabbix server to execute a Python .py on a Zabbix Host
I made a simple py script to blink a LED on my raspberry pi, but I do not know the correct way to get Python to execute it on the raspberry pi from my Zabbix server. I followed the link (https://www.zabbix.com/documentation...ration/scripts), went to Administration --> Scripts --> "Create... -
Отчет в виде раскрывающегося списка
Добрый день! не могу найти в документации, есть ли возможность сделать отчет в виде раскрывающегося списка? У меня python проходит по всем папкам и файлам бакапа, отдает... -
Parsing {ALERT.MESSAGE} when used as a parameter in a media type
I have a python script defined in a media type and am using the {ALERT.MESSAGE} macro to pass arguments for the script.
When this is triggered in zabbix it sends the entire string of arguments as one argument to the script.
Contents of message are:
-H "{HOST.NAME}"... -
How to get all hosts by ZABBIX API
I use ZABBIX API to get all hosts.but the respone is null
As following is my code:
...PHP Code:import urllib3
import json
Zabbix_Cusor = urllib3.PoolManager()
Zabbix_username = 'Admin'
Zabbix_pass = 'zabbix'
Zabbix_header = {"Content-Type":"application/json"}
-
How to get host CPU % with zabbix API
I am using a pyzabbix and I want to monitor the host performance. The host has the agent installed and works fine. How can I retrieve the CPU usage % with the API?
Thanks in advance!! -
Zabbix API add a host to a hostgroup
Hi,
I am trying to add a host to a hostgroup using the python API
I get the groupid like this
group_id = zapi.hostgroup.get(output='extend',filter={"name":["group_name"]})
print group_id[0]['groupid']
19
and...