Can someone guide me on how I can use Javascript preprocessing with vmware.vm.discovery returned JSON?
Also is there some schema definition of the returned json to use here?
Thanks
John...
Search Result
Collapse
8 results in 0.0022 seconds.
Keywords
Members
Tags
-
ServiceNow webhook script
I am customizing the java script in the ServiceNow webhook to better fit our environment but have ran into a roadblock.
What I would like the script to do is to check the value in SNOW for 'assigned_to' and if populated with any non-null value through an error.
This is to prevent it from... -
Zabbix API requests with JS from the browser are not working (Not authorized)
Hello,
I am facing a very strange issue. I am developing some scripts with JavaScript which make use of the Zbx API to extract or update data. For a while they were working fine, but since recently I am facing a critical issue that all the API requests fail with this error:
...Code:{ -
IFNAME - not working/not being resolved
Hi
(has been updated)
I am rather new on zabbix and now i am struggeling to get the network monitoring working. I am main a windows guy and the zabbix was allready running and i am trying to learn and improve the use/setup of this.
i cant get zabbix to create the "discovered...Last edited by denstygge; 31-05-2024, 14:23. -
Date and time conversions
Whenever I get a timestamp value like "yyyymmddhhMMss", if necessary, I convert it to "unixtime" with a JavaScript preprocessing step.
This script is usually sufficient:
...Code:// checks if the input value is null if (isNaN(Date.parse(value))) { return 0; } -
How take item value from ItemA to key of ItemB
Hi,
reason why I need this was my goal: Take path of Zabbix agent config file, control change/editing on them by vfs.file.checksum and mayby list all non comment line.
Problem was in our IT (windows)enviroment:
a. diferent version of ZBX client
b. diferent variant of ZBX...Last edited by Rudlafik; 08-06-2023, 15:12. -
setProxy in JS HttpRequest no longer working?
Hi all,
after ugprading from 6.2.7 (on CentOS 8) to 6.4 (on Rocky Linux 9), notifications to RocketChat are no longer working for me. I have to go through an HTTP proxy, but it seems the call to setProxy is simply ignored.
I'm using the default script for RC, which has
... -
Host Prototypes in VMware Discovering - JavaScript external file mapping
Hi
During discovering I need to get VMware name and mapp this value to IP address which is not available in native Zabbix mechanism. I have in /usr/lib/zabbix/externalscripts some *.json file with all neccessary keys and values. e.g
{
"VMware1" : "111.222.333.444"...