scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Various scripts.

Results 11 scripts issues
Sort by recently updated
recently updated
newest added

Resolves an error using the script to add monitoring with python 2: "msg": "Failed to connect to Zabbix server: 'str' object has no attribute 'isdecimal'"

When using the `zabbix_api.py` script, in Ansible `zabbix_host` module, on a RHEL8 machine, with FIPS mode enabled, the following error is produced: `Failed to connect to Zabbix server: [digital envelope...

zabbix_api will search at /etc/zabbix/zabbix_api.conf and at ~/.zabbix_api.conf The syntax is a ini file: [zabbixapi] user=xxx password=yyyy proto=https server=zzz So you can: zapi = ZabbixAPI() zapi.login() Maybe we could add...

Fixing bug in test file. 'extendoutput' does not work.

One can now join to an already retrieved list which filters and joins the next step, for when multiple API queries are required

add the ability to set up a custom user agent

Zabbix 2.2.9 here, sometimes, i got a stack trace: ``` result = api_conn.host.get(request) ``` File "xxx/zabbix_api.py", line 334, in method return self.universal("%s.%s" % (self.data["prefix"], name), opts[0]) File "xxx/zabbix_api.py", line 79,...

Changed package structure so it can be released and added to PyPI. Renamed dir zabbix to zabbixAPI, since zabbix-api package in PyPI is already taken.

application/json-rpc is defined only in draft spec for JSON-RPC 1.2 http://www.jsonrpc.org/historical/json-rpc-over-http.html which is deprecated in favor of JSON-RPC 2.0 and application/json Also application/json-rpc isn't parsed by wireshark.