Twan Kamans
d056a20de2
Merge pull request #128 from TheNetworkGuy/develop
...
Fixes #127 , implements some tests to prevent hostgroup failures.
2025-06-17 09:06:30 +02:00
TheNetworkGuy
a57b51870f
Merge branch 'develop' of github.com:TheNetworkGuy/netbox-zabbix-sync into develop
2025-06-17 08:47:49 +02:00
TheNetworkGuy
dbc7acaf98
Added hostgroup tests, set the test coverage to 70%, added test packages to devcontainer
2025-06-16 18:40:06 +00:00
TheNetworkGuy
87b33706c0
Updated README with cluster_type
2025-06-16 16:07:38 +00:00
TheNetworkGuy
affd4c6998
Fixes #127
2025-06-16 16:03:53 +00:00
Twan Kamans
22982c3607
Merge pull request #126 from TheNetworkGuy/develop
...
Fixes bug in which config.py was not detected by the script
2025-06-16 17:21:03 +02:00
TheNetworkGuy
dec2cf6996
Fixed bug in which custom config.py module was not accessed
2025-06-16 14:04:10 +00:00
TheNetworkGuy
940f2d6afb
Re-added some git logic to the pipeline which was lost during development
2025-06-16 11:13:36 +00:00
TheNetworkGuy
d79f96a5b4
Add unittests to build process
2025-06-16 10:03:58 +00:00
Twan Kamans
2f40ec467b
Merge pull request #125 from TheNetworkGuy/develop
...
Fixes image push pipeline
2025-06-16 11:28:26 +02:00
TheNetworkGuy
e0d28633c3
Fixes image push pipeline
2025-06-16 11:27:38 +02:00
Twan Kamans
0a20e270ed
Merge pull request #123 from TheNetworkGuy/develop
...
Adds unit tests, modular config with default config fallback, ARM docker image support, mapping of usermacros, mapping of tags, inventory sync for VMs, partial support for multiple hostgroups and fixed several bugs.
2025-06-16 11:22:06 +02:00
TheNetworkGuy
a5be9538d9
Made the pytest file a bit cleaner and removed a redundant step
2025-06-16 11:15:52 +02:00
Raymond Kuiper
b31e41ca6b
Merge pull request #124 from retigra/additional-hostgroup-support
...
✨ Additional hostgroup support
2025-06-16 10:54:17 +02: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
a7a79ea81e
updated README for multiple hostgoups
2025-06-13 15:56:21 +02:00
Raymond Kuiper
b62e8203b6
removed debug line
2025-06-13 15:47:31 +02:00
Raymond Kuiper
bfadd88542
perform hostgroup creation before consistency check
2025-06-13 10:49:40 +02:00
Raymond Kuiper
bd4d21c5d8
Hostgroup CF checks for VMs
2025-06-13 10:24:26 +02:00
TheNetworkGuy
148ce47c10
Set minimum coverage to 60
2025-06-12 20:25:54 +00:00
TheNetworkGuy
7969de50bf
Adds coverage report to gitignore. Adds extra coverage test to workflow.
2025-06-12 20:24:29 +00:00
TheNetworkGuy
7394bf8d1d
Fixed a bunch of typos (how did this happen!?!)
2025-06-12 19:24:04 +00:00
TheNetworkGuy
8ce2cab86f
Fixed bug where sync.log was created in the modules directory
2025-06-12 18:35:56 +00:00
TheNetworkGuy
76723d2823
Updated Git workflow. Linter to Python 3.13, Image publisher will only execute when a commit is performend on main.
2025-06-12 13:51:59 +02:00
TheNetworkGuy
c58e5aba1e
Fixed minor documentation mistake
2025-06-12 11:51:15 +00:00
TheNetworkGuy
baf23403a0
Updated documentation after fixing #111
2025-06-12 11:20:46 +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
7b8827fa94
Added Zabbix logout
2025-06-12 10:56:30 +02:00
TheNetworkGuy
b705e1341f
Fixed publish image workflow
2025-06-11 20:15:02 +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
Twan Kamans
22d735dd82
Merge pull request #121 from TheNetworkGuy/unittesting
...
Modular config, Github unittesting
2025-06-08 22:14:38 +02: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
298e6c4370
support multiple hostgroups for vm
2025-06-05 11:53:17 +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
539ad64c8d
Adds 2 new tests for virtual chassis
2025-04-28 22:49:04 +02:00
TheNetworkGuy
bbe28d9705
Added all default config statements and added warning to any curious users.
2025-04-28 22:31:36 +02:00
TheNetworkGuy
2998dfde54
Specifiek Python version in pipeline test step
2025-04-28 22:21:30 +02:00
TheNetworkGuy
d60eb1cb2d
Removed python test files for linter.
2025-04-28 22:18:59 +02:00
TheNetworkGuy
98edf0ad99
Adjusted ENV prefix, fixed several linter errors in new tests
2025-04-28 17:23:51 +02:00
TheNetworkGuy
772fef0930
Added prefix for environment variables
2025-04-28 15:57:11 +02:00