Questions tagged [zabbix-api]

59 questions
0
votes
0 answers

Error while installing zabbix.. Skipping architecture in Zabbix

Last some days I'm working to install Zabbix in Ubuntu 22.04 but after installing .deb file the updates put some errors like ... N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository…
0
votes
1 answer

How can I send multiple key_ values to Zabbix API using powershell?

According to the documentation, I should enclose both values within square brackets, but this doesn't seem to work. My code is as follows : $params = @{ body = @{ "jsonrpc"= "2.0" "method"= "item.get" "params"= @{ …
locvez
  • 3
  • 1
0
votes
0 answers

Zabbix html page in react

I have the zabbix server .../zabbix/screens.php with screen. How i can get html page from this url? (need authentufication). Authentification token i have, but no way to get correct html page. By this useEffect hook i get auth token const headers =…
Heliodor
  • 115
  • 6
0
votes
1 answer

No Snmp Data Collection For HPE G7 In Zabbix

I have a HPE G7 and Zabbix v6, So I want to monitor this server on zabbix I fill the snmp data on iLO, but I get No Snmp Data Collection on Zabbix! I try to fill snmp data on iLO!It happens on HPE-G7! Do you have any way to solve this problem!?
sasanalem
  • 1
  • 3
0
votes
1 answer

How to create customise Zabbix Dashboard to monitor Cameras

In one of my current project, we are using lot of devices like 500+ Cameras, 100+ LPUs and so on. I want to check the health of each (ping them (IP ping) every few seconds and if no response it is down). So this way I want to monitor the devices.…
Ibrahim Khan
  • 184
  • 10
0
votes
2 answers

How to get host where problem appears Zabbix-api

I'm trying to make a script on Python, which works with zabbix-api. For example: Trigger worked, problem appears and then I make an "action trigger", which will work on that host, where problem appeared. For the script, I need to get host (and host…
0
votes
0 answers

How to get exit code in zabbbix using system.run

I'm facing a little simple problem that is get the exit code of a script using Zabbix system.run. zabbix_get -s hostname -k system.run["hostname"] How can I get an exit code of this command? Thanks in advance.
0
votes
0 answers

Zabbbix: I need to work with bash but the documentation is in JSON

I wanted to run an automatic key update for my zabbix item whenever a new version of my service is released as against going to manually edit the key in the Zabbix console. My issue is that the documentation provided by zabbix on items update is in…
limelight
  • 1
  • 1
0
votes
1 answer

Zabbix server doesn't start

I'm getting the following error when I run the sudo systemctl restart zabbix-server.service How can I solve this? I have already installed apache,Zabbix. I have check the log from sudo systemctl status zabbix-server.service and check the error log…
Nayan Bhakhar
  • 48
  • 1
  • 8
0
votes
1 answer

create zapi.item.get from same host

I'm having trouble creating the output from Zabbix API tables. I would like to output NAME(hosts), icmpping, icmploss for example. So I would like something like…
0
votes
1 answer

Is it possible to create an alert in Zabbix via API?

I have a clarification regarding the Zabbix monitoring system. Is it possible to create an alert via API in Zabbix? I found many ways to send alerts from Zabbix to other systems but didn't find a way to create an alert in Zabbix from third party…
Sandeep
  • 671
  • 2
  • 7
  • 30
0
votes
1 answer

Errors with PyZabbix host.create method

I'm getting this problem: pyzabbix.ZabbixAPIException: ('Error -32602: Invalid params., Incorrect arguments passed to function.', -32602) Here is my code: add_host = zapi.host.create( host = host_sharepoint, status =…
0
votes
1 answer

Zabbix Media Type Parameters not replaced correctly

I'm trying to call an API with Zabbix when there is a security warning But when I receive the warning, some elements are not replaced. However, the HOSTID parameters seems to exist in the Zabbix documentation Here is the object I receive
guillaumearnx
  • 142
  • 3
  • 12
0
votes
1 answer

Add Unity 300 to zabbix

I would like to ask about adding Unity 300 to Zabbix. I have done some research on this issue and I have found out that Unity doesn't support installing zabbix agent and snmp. Only snmp trap is allowed. I have added Unity to zabbix and I am able to…
0
votes
0 answers

TypeError: list indices must be integers or slices, not str - Python ZabbixAPI

Trying to remove values from a list like I have done previously however I'm running into the above error when running it. import requests import json import pandas as pd import csv import numpy url = 'http://XXX/api_jsonrpc.php' payload =…
Lachlan
  • 17
  • 1
  • 6