Hi there!
Information:
Zabbix-Version: 6.0.5
Zabbix-Agent: Zabbix Agent2
Monitored Host: Windows 10 Pro
I have a few questions regarding the execution of scripts on monitored hosts (Zabbix Agent2).
Firstly, I have succesfully created Items which retrieve...
Search Result
Collapse
75 results in 0.0041 seconds.
Keywords
Members
Tags
-
Zabbix Agent2: Script topic questions
-
Script Update / Upgrade Linux machine
Hello people,
I'm quiet new on zabbix, and I'm still leraning a lot with the documentation.
I recently migrate from Zabbix server 5.4 to 6.0 and agent for hosts are 5.4 or 6.0
Still there is something I'm not sure to understand well with script that can be execute on remote host which... -
Zabbix Proxy script fail - Segmentation fault
I set up a Proxy 6.2 with ODBC for an Oracle DB.
The connection is running and I can collect some data from the DB.
I can test the connection using iSQL and it works fine at the command line.
...Code:$ isql [dsn] [user] [pass] -b << EOF select count(*) from GENESYS_[dsn].TABLE;
-
Macro array for remote script
I created a PowerShell script that collects some file data from a Win 2008 VM.
Something like this:
...Code:param ($ARQS) $DATAATUAL = Get-Date -Hour 0 -Minute 0 -Second 0 $PATH = "C:\FTP\import\*" $FILELIST = Get-ChildItem -Path $PATH -Include $ARQS
Last edited by markfree; 09-07-2022, 14:18. -
ERROR "Unsupported item key."
Hey guys. I'm setting up a script on my zabbix so that it automatically opens tickets on my OTRS platform when an alarm comes up. The script works normally when my own zabbix server has some kind of alert, this zabbix server and OTRS are on the same HYPERV. In my zabbix, I am monitoring another server,... -
ERRO "Unsupported item key"
Olá pessoal.
Estou configurando um script em meu zabbix para ele abrir chamados automaticamente em minha plataforma OTRS quando surgir um alarme. O script funciona normalmente quando o meu próprio servidor zabbix tem algum tipo de alerta, este servidor zabbix e o OTRS estão no mesmo HYPERV.... -
easy_mungo started a topic Need to escape apostrophe in macros, used as arguments in custom bash scriptsin Zabbix HelpNeed to escape apostrophe in macros, used as arguments in custom bash scripts
Hello everyone,
I'm using zabbix 4.0 and I need to start some custom scripts linked to
actions' operations and recovery operations.
My scripts receive zabbix macros as arguments, like this:
...Code:script.sh '{EVENT.ID}' '{TRIGGER.ID}' '{EVENT.TIME}' \ '{EVENT.DATE}' -
Zabbix 5.4 sources with CentOS 7
Following this resolved issue, I've made a draft with the necessary steps to install Zabbix 5.4 into CentOS 7 using sources.
I tried a few times using VMs and it was successful with new installations and upgrading databases with previous versions.
Despite being a ".sh",...Last edited by markfree; 29-11-2021, 23:37. -
Why does the action fire multiple times in a row?
Colleagues, I configured the action to execute the script when the trigger fires, but the script is executed several times in a row.

I need the script to be executed once. How can this be achieved?
...Last edited by booblik; 29-11-2021, 05:18. -
Script with macros as parameters
I'm getting an error when trying to start manually a global script from Zabbix 5.0.
Script command executed on Zabbix server:
...Code:/usr/lib/zabbix/externalscripts/rde/rde_criar.sh "{HOST.HOST}" "{HOST.IP}" "{HOST.NAME}" "{EVENT.NAME}" "{TRIGGER.DESCRIPTION}"Last edited by markfree; 25-11-2021, 15:59. -
Zabbix not updating ServiceDesk Plus tickets
Looking for some help from anyone who is using the ManageEngine ServiceDesk Plus integration with Zabbix
Independently, Zabbix and SDP are running with no issues, agents are happy, problems are raised in Zabbix and resolved in Zabbix
So first a breakdown:
Zabbix
...2 Photos -
Script for extration data zabbix 1.8.16
-
External script error
I'm trying to start a Curl script from Administration - Scripts but it keeps giving me an error.
For now the script calls a simple Curl that reads a JSON file and receives a JSON response.
...Code:IN_JSON="rde_post.json" OUT_JSON="rde_return.json" curl
Last edited by markfree; 24-08-2021, 21:55. -
Send TCP message (binary) and get response from SAMSUNG Smart
Hi All,
I have Zabbix 5.2, and I want to verify some information on SAMSUNG ME55C TVs using MDC Protocol (https://aca.im/driver_docs/Samsung/M...5%20v13.7c.pdf)
So, for example, if I want to get TV temperature (Example on page 17) I need to:
1.... -
UserParameter script returnig empty string
I'm trying to execute a script using UserParameters but Zabbix server is receiving an empty string.
Zabbix Server 4.4.4 in CentOS 7
Host Windows 2012
...Code:UserParameter=log_dcsp_urs_p,powershell -ExecutionPolicy bypass -Command (Get-Item E:\DIR\PATH).LastWriteTime.ToString('dd-MM-yyyyLast edited by markfree; 18-06-2021, 18:05.