Commit Graph

105 Commits

Author SHA1 Message Date
Wouter de Bruijn
047fb33332
🚑 Fixed random space on line 2 2025-09-12 16:47:57 +02:00
Wouter de Bruijn
bf512ada0b
💄 Codebase formatting 2025-09-12 16:45:03 +02:00
Wouter de Bruijn
337184159b
🐛 Fixed key/value check for proxy assignment 2025-09-12 16:44:04 +02:00
Raymond Kuiper
37774cfec3 More linting fixes 2025-09-12 14:40:53 +02:00
Raymond Kuiper
c27505b927 corrected linting errors and a minor bug in cf_to_string 2025-09-12 14:39:11 +02:00
Raymond Kuiper
422d343c1f * Added support for object and select custom fields in host groups and proxy config.
* Corrected error when `full_proxy_sync` was not set and a host no longer uses a proxy.
2025-09-12 14:11:38 +02:00
Wouter de Bruijn
123b243f56
♻️ Improved Zabbix version check for proxy group insertion 2025-09-12 10:48:29 +02:00
Raymond Kuiper
7d9bb9f637 Refactoring 2025-09-12 10:21:42 +02:00
Raymond Kuiper
5810cbe621 First working version of proxy by custom fields 2025-09-11 17:20:05 +02:00
Raymond Kuiper
79e82c4365 Added option to extend site information for devices and vms. 2025-09-08 14:47:48 +02:00
Raymond Kuiper
9259e73617 Added option to extend site information for devices and vms. 2025-09-08 14:44:46 +02:00
Raymond Kuiper
161b310ba3 corrected linting error 2025-06-25 17:07:46 +02:00
Raymond Kuiper
cf2c841d23 Merge branch 'develop' into hostgroup_static_text 2025-06-25 17:06:37 +02:00
Raymond Kuiper
e82c098e26 corrected linting error 2025-06-25 17:00:04 +02:00
Raymond Kuiper
98c13919c5 Added support for hardcoded strings in hostgroups 2025-06-25 16:50:17 +02:00
Wouter de Bruijn
e718560689
🚨 Line length fixes 2025-06-25 16:37:44 +02:00
Wouter de Bruijn
57c7f83e6a
🔊 Removed f-strings usage from logs 2025-06-25 13:56:41 +02:00
Raymond Kuiper
e4a1a17ded Logging improvements 2025-06-25 10:43:47 +02:00
TheNetworkGuy
29a54e5a86 Removed unused hostgroup import since the hostgroup generate function function has been moved to devices.py 2025-06-24 21:29:36 +02:00
TheNetworkGuy
4a53b53789 Removed previous patch for Nonetype hostgroups and made a proper fix by refactoring the set_hostgroup() function and removing it from virtual_machines.py 2025-06-24 21:28:32 +02:00
TheNetworkGuy
a522c98929 Removed default None for hg_format making a hostgroup format input required. 2025-06-24 20:50:04 +02:00
TheNetworkGuy
1de0b0781b Removed default for hostgroups and fixed bug for hostgroup attributes which do not exist 2025-06-24 20:44:59 +02:00
Raymond Kuiper
c2b25e0cd2 fixed linting 2025-06-24 17:35:10 +02:00
Raymond Kuiper
9933c97e94 improved debug logging 2025-06-24 17:28:57 +02:00
Raymond Kuiper
435fd1fa78 Fixed issues with tag mapping 2025-06-24 17:09:23 +02:00
Raymond Kuiper
906c719863 corrected linting errors 2025-06-24 15:16:39 +02:00
Raymond Kuiper
2a3d586302 corrected typo 2025-06-24 15:06:52 +02:00
Raymond Kuiper
753633e7d2 Added checks for empty list of hostgroups, improved some logging 2025-06-24 15:01:45 +02:00
Raymond Kuiper
de82d5ac71 Remove duplicates from the list of hostgroups 2025-06-24 13:52:43 +02:00
TheNetworkGuy
affd4c6998 Fixes #127 2025-06-16 16:03:53 +00:00
TheNetworkGuy
dec2cf6996 Fixed bug in which custom config.py module was not accessed 2025-06-16 14:04:10 +00:00
Raymond Kuiper
ba530ecd58 corrected linting errors 2025-06-16 10:28:17 +02:00
Raymond Kuiper
a3259c4fe3
Merge branch 'develop' into additional-hostgroup-support 2025-06-16 10:06:47 +02:00
TheNetworkGuy
5e390396ba Fixed small typo 2025-06-14 23:16:07 +02:00
TheNetworkGuy
ee6d13bfdf Fixed line too long and updated readme 2025-06-14 20:17:57 +00:00
TheNetworkGuy
8fe7e5763b Added sanatizer function for log output. 2025-06-14 20:15:05 +00:00
Raymond Kuiper
b62e8203b6 removed debug line 2025-06-13 15:47:31 +02:00
Raymond Kuiper
bd4d21c5d8 Hostgroup CF checks for VMs 2025-06-13 10:24:26 +02:00
TheNetworkGuy
8ce2cab86f Fixed bug where sync.log was created in the modules directory 2025-06-12 18:35:56 +00:00
TheNetworkGuy
3115eaa04e Fixed linter and test for config file 2025-06-12 11:14:15 +00:00
TheNetworkGuy
c8fda04ce8 Fixed config bug and #111 2025-06-12 11:08:21 +00:00
TheNetworkGuy
8df17f208c Fixed small typo in Readme, Updated zabbix-utils, Added Devcontainer, Fixed logging and class description in usermacros module, fixed Zabbix consistencycheck for Usermacros and added unit tests for usermacros. 2025-06-11 20:09:53 +00:00
TheNetworkGuy
a325863aec Fixed several config errors, double exception imports, Linter stuff and edited test for new device_inventory_map key 2025-06-08 22:13:36 +02:00
TheNetworkGuy
9e1a90833d Added new config parameters to base template 2025-06-08 21:45:45 +02:00
Twan Kamans
45e633b5ed
Merge branch 'develop' into unittesting 2025-06-08 21:33:21 +02:00
Raymond Kuiper
77b0798b65 Added verify of vm_hostgroup_format (moved fucntion to tools.py) 2025-06-05 11:39:42 +02:00
Raymond Kuiper
27ee4c341f Fixed multiple hostgroups for devices 2025-06-04 15:18:27 +02:00
Raymond Kuiper
f7eb47a8a8 removed scratch file 2025-06-04 14:23:46 +02:00
Raymond Kuiper
bc53737e02 first supoport of multiple hostgroups 2025-06-04 14:23:01 +02:00
TheNetworkGuy
bbe28d9705 Added all default config statements and added warning to any curious users. 2025-04-28 22:31:36 +02:00