Questions tagged [zabbix-api]

59 questions
2
votes
1 answer

Zabbix log file monitoring with regex, trying to copy 2nd and 3rd line

I am using Zabbix monitoring system. I need to monitor a log file on a windows server for error messages. The first line just shows ERR and the next 2 lines then have the time stamp and details of the error. I need to bring all 3 lines into…
ahess
  • 21
  • 1
2
votes
1 answer

How to convert a list into a dictionary?

I can't reuse the content of a variable for two different parameters. (host_groups and tags). (Documentation here) I have a variable in this form : probe: - name: prob1 groups: - group1 - group2 - name: prob2 groups: -…
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…
1
vote
1 answer

Accessing zabbix API with node-fetch

I am trying to access Zabbix API from a Node.js app with the following code: fetch( "http://localhost:8080/api_jsonrpc.php", { method: "POST", headers: { "Content-Type": "application/json", }, data:…
Grimalkin
  • 107
  • 12
1
vote
1 answer

String to call specific data from a host Inventory

Looking for some guidance on how to get this code to point to the correct inventory within the Zabbix API. Currently it is pulling all data from Inventory > Hosts > Latest Data. Basically i'm trying to get this to change, to request the data grab to…
Lachlan
  • 17
  • 1
  • 6
1
vote
0 answers

Go-zabbix library does not find existing Event by id

I am trying to get an Event with a given event_id from Zabbix via the library github.com/cavaliercoder/go-zabbix. An event with this id exists and is currently active. Connection to Zabbix is successful. Moreover, if I remove the EventIDs filter, it…
quattro
  • 31
  • 3
1
vote
1 answer

Integration of Zabbix Graph Data into Itop Server Info

I am Trying To Get Graph Data From Zabbix Thorough graph.get method via Zabbix API to integrate it into Itop but don't know exactly how to approach this. any guide or resource regarding this would be helpful. Thanks.
san1ty
  • 23
  • 4
1
vote
1 answer

Development environment for Zabbix

I am new to Zabbix and would like to improve a plugins funtionality. So far I am building a Virtual Machine to be able to run Zabbix locally. This seems to be the only way to actively work on the code in the same environment. Accessing the code from…
1
vote
0 answers

Powershell - Array as a value in a hash table?

I'm trying to use the zabbix api to get some host id's of hosts by their name. I'm using this example as my starting point. http://wiki.webperfect.ch/index.php?title=Zabbix_API_-_Create_Maintenance_Window Here is the example from the zabbix api…
0
votes
0 answers

Monitor HPE server power status

Hi everyone I want to monitor power status of HPE servers by Zabbix.I dont mean iLO uptime,the power on or off o the server but I didnt find any snmp for this,also ipmitool and api is not statify for my goal!Can you tell me a way to do this?!
0
votes
0 answers

Zabbix 6 agent problem: failed to initialize builtin counter

I am doing a zabbix 6 installation and configuration of a Windows machine, after installing and configuring the zabbix agent, everything seems to work fine. But after a few hours everything fails and the light turns red, I check the…
0
votes
0 answers

Zabbix discovery item

I migrated Zabbix to an another domain. I created all the items, Applications, Triggers and Discovery item as per the old Zabbix from a different domain. I have created 4 hosts and have created. all the items, Applications, Triggers and Discovery…
Prabhu U
  • 81
  • 1
  • 1
  • 4
0
votes
0 answers

how can i find topic-id in a group of Telegram

I want to find the topic-id of my Telegram Group. I have a group id but I don't know how can I find topic-id for each topic that I have in the group. I was looking in Stackoverflow!but I was confused about the solution! Here is the solution in…
sasanalem
  • 1
  • 3
0
votes
0 answers

Possible cookie problem / access to chart2.php from Powershell v7 in Zabbix v6 LTS

we are using Zabbix version 5 LTS and have reporting through Powershell which, among others, retrieve graphs as PNG files. Basically, we are authenticating on Zabbix server like this (we used this, but customized, script:…
1
2 3 4