Questions tagged [zabbix-api]

59 questions
0
votes
1 answer

Received empty response from Zabbix Agent at [XX.XXX.XX.XX]

I am trying to register zabbix agent to zabbix server but facing this error[Received empty response from Zabbix Agent at [XX.XXX.XX.XX]. Assuming that agent dropped connection because of access permissions.] in zabbix server UI. I have elb top of…
0
votes
3 answers

Zabbix Agent Auto Registration - Zabbix Server

I am trying to register Zabbix agent to Zabbix server UI automatically but seems i am missing something but when i am trying to do it via UI(Manually) it is working. can someone help me to do it. My configurations…
0
votes
2 answers

Get zabbix graph to png via API

I have a login script as follows: curl --location --request POST 'https://zabbixUrl.com/api_jsonrpc.php' \ --header 'Authorization: Basic bWlndWVsLmh1cnRhZG86MTczM295ZmQxVg==' \ --header 'Content-Type: application/json' \ --data-raw '{ …
qwerty
  • 486
  • 1
  • 11
  • 37
0
votes
1 answer

(Zabbix API)(Python Script) Can't find the value for some itemid in any of the history(history_uint, history_string, ...etc)

I have just started using Zabbix API. I'm using Zabbix API to fetch monitored data in a python script, during which I can't find the value for some itemids in any of the history records. Anyone who has worked with Zabbix API could please tell me the…
0
votes
1 answer

how to parse json and create trigger based on incoming json data

Hi I want to monitor postgres database using ODBC and to show notification based on condition, I'm creating item with db.odbc.get[,{$DSN_NAME}], please find the screen shot my item configuration. I can be able to get data, please find the below…
saran k
  • 307
  • 2
  • 14
0
votes
1 answer

How can i use Zabbix Monitoring tool API to fetch all alerts for last 15 mins

I am using zabbix for infrastructure monitoring. I want to export alerts real time to a centralized platform like splunk, ELK? Can i pull all active alerts for last 15 mins using Zabbix API ALso, is the api mature enough to implement auto close…
0
votes
1 answer

Zabbix API to get the details of traffic used by the applications

I would like to get the details/usage of network traffic used by each application (not by host). I tried and I was able to get the list of application running on a host, by using: { "jsonrpc": "2.0", "method": "application.get", …
Tom J Muthirenthi
  • 3,028
  • 7
  • 40
  • 60
0
votes
1 answer

Can't get user parameter to work in zabbix 3.4

I just set up zabbix today on my local machine. I might be missing something trivial but I can't get my user parameter to work in zabbix 3.4 There already seemed to be mysql user parameters in /etc/zabbix/zabbix_agentd.d/userparameter_mysql.conf. I…
Abdul Rahman
  • 1,294
  • 22
  • 41
0
votes
1 answer

How to ask Zabbix about problem description?

I have to display all current problems in my infrastructure (like in Zabbix dashboard). I would like it to look like this: Date Host Problem info 19.03 hostsap1 Lack of free swap space 18.03 hostsmb2 Zabbix_agentd is…
Karol
  • 127
  • 1
  • 10
-1
votes
1 answer

Change host for Zabbix agent interface on IP change

Requirement : Need to update the host interface details from zabbix agent Actions taken : I completed the auto registration part using Active host now i can able to communicate the server via agent using active host and HostnameItem…
Fave
  • 1
  • 2
-1
votes
1 answer

Is it possible to get item id by host ip using one zabbix api?

I would like to get 'itemid' by item.get api, and filter it by host ip I tried this request, but it doesn't work (works only when giving host id): { "jsonrpc": "2.0", "method": "item.get", "params": { "output":…
user
  • 136
  • 2
  • 16
-1
votes
1 answer

Zabbix api value is different from Graph value

i have zabbix 5. I've been trying to write a shell script to get item trend for a range of time. the shell script works correctly but the value it return doesn't match what is showing on graph. for example: I have an item with itemid "10234" which…
BlackCrystal
  • 127
  • 1
  • 11
-2
votes
1 answer

Pulling Zabbix Data into csv file

Can't seem to find the correct syntax to get the request I need. At this point I am able to connect to my Zabbix server via an API. I'm able to see all the data that I need which is confirmed by a simple print() function. However, I am blanking at…
Lachlan
  • 17
  • 1
  • 6
1 2 3
4