Commit Graph

54 Commits

Author SHA1 Message Date
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
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
bd4d21c5d8 Hostgroup CF checks for VMs 2025-06-13 10:24:26 +02: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
Twan Kamans
45e633b5ed
Merge branch 'develop' into unittesting 2025-06-08 21:33:21 +02:00
Raymond Kuiper
27ee4c341f Fixed multiple hostgroups for devices 2025-06-04 15:18:27 +02:00
Raymond Kuiper
bc53737e02 first supoport of multiple hostgroups 2025-06-04 14:23:01 +02:00
TheNetworkGuy
0c715d4f96 Fixed some basic Flake8 errors, added Pylinter exception, Fixed some minor logging bugs. 2025-04-28 15:44:45 +02:00
TheNetworkGuy
04a610cf84 Fixed some minor Flake8 errors 2025-04-28 15:10:48 +02:00
TheNetworkGuy
eb307337f6 Removed YAML config logic, added python config logic with default fallback. Added ENV variable support for config parameters. 2025-04-28 14:50:52 +02:00
Wouter de Bruijn
7781bc6732
🚨 "Fixed" linter warnings 2025-02-26 14:54:20 +01:00
Wouter de Bruijn
886c5b24b9
🔊 Improved log levels 2025-02-26 14:45:20 +01:00
Wouter de Bruijn
b314b2c883
🚨 Formatted and linted files 2025-02-26 14:00:18 +01:00
Raymond Kuiper
d65fa5b699 Added tag support 2025-02-19 15:56:01 +01:00
Raymond Kuiper
eea7df660a Full usermacro support 2025-02-14 15:18:26 +01:00
Raymond Kuiper
1b831a2d39 Moved Inventory mapping logic to tools module 2025-02-14 09:46:55 +01:00
Raymond Kuiper
6d4e250b23 Working usermacros based on config context 2025-02-14 08:28:10 +01:00
Raymond Kuiper
cebefd681e started work on macro support 2025-02-12 17:43:57 +01:00
Raymond Kuiper
4264dc9b31
Merge pull request #3 from q1x/vm_inventory
Vm inventory
2025-02-12 15:15:43 +01:00
Raymond Kuiper
1157ed9e64 cleanup 2025-02-12 12:32:42 +01:00
Raymond Kuiper
c7d3dab27c reverted module split, switched to class inheretance instead. Updated config example. 2025-02-12 12:30:28 +01:00
TheNetworkGuy
7a671d6625 Also added backwards support for Zabbix 5 2025-02-04 12:46:00 +01:00
TheNetworkGuy
5617275594 implements fix for hostgroup - host API call 2025-02-04 12:40:13 +01:00
Raymond Kuiper
c76e36ad38 Split inventory from the device module and started working on vm inventory support 2024-12-19 16:26:18 +01:00
TheNetworkGuy
b0eee8ad9b Fixed linter problems 2024-12-19 14:50:29 +01:00
Raymond Kuiper
ffb8d5239c Embedded nesting in hostgroup init. 2024-12-18 14:06:40 +01:00
Raymond Kuiper
d0941ff909 🏷️ Changed all occurences of "Netbox" to "NetBox" as per the [NetBox Style Guide](https://netboxlabs.com/docs/netbox/en/stable/development/style-guide/). 2024-12-06 13:51:05 +01:00
TheNetworkGuy
4ec8036c88 Implemented #81 2024-11-21 08:38:42 +01:00
TheNetworkGuy
0155c29fcc Fixed Pylint too-many-public-methods error 2024-11-15 14:08:04 +01:00
TheNetworkGuy
5d4ff9c5ed Fixed #79 2024-11-15 14:03:42 +01:00
TheNetworkGuy
30545ec0f3 Added hostname filtering based on Cyrillic characters 2024-11-13 19:39:24 +01:00
TheNetworkGuy
56c19d97de Added basic error message when Netbox details are invalid. Fixed logging message for when template context keys are not present. 2024-11-06 15:57:11 +01:00
TheNetworkGuy
06f97b132a Changed some logging messages and removed import logging statement from troubleshooting 2024-10-30 21:25:58 +01:00
TheNetworkGuy
66f24e6891 Fixed several bugs, set default interface for VM to agent, fixed several linter errors. 2024-10-30 12:23:15 +01:00
TheNetworkGuy
9f29d2b27b Added basic VM support 2024-10-25 18:46:20 +02:00
TheNetworkGuy
053028b283 Splitted hostgroup generation logic into its seperate module. Changed hostgroup "dev_role" to "role" for VM role prepration. Started work on basic VM class. 2024-10-25 16:02:08 +02:00
TheNetworkGuy
a0ea21d731 Fixed bug in which some instances a nested hostgroup was not created 2024-07-25 16:23:59 +02:00
TheNetworkGuy
70a5c3e384 Implemented #73 2024-07-25 15:47:09 +02:00
TheNetworkGuy
610a73c061 Merge branch 'main' of https://github.com/TheNetworkGuy/netbox-zabbix-sync 2024-07-24 14:31:33 +02:00
TheNetworkGuy
4de022496e Fixed invalid mapper log message even when not using the inventory mapping function. 2024-07-24 14:31:29 +02:00
Twan K.
0603d8c244
Merge pull request #71 from q1x/allow-proxy-null-value
Allow proxy null value
2024-07-24 14:26:21 +02:00
TheNetworkGuy
2b92f8da9b Fixed #72 2024-07-24 14:25:22 +02:00
TheNetworkGuy
d1ec1114ac Fixes #70 2024-07-24 13:14:12 +02:00
Raymond Kuiper
da4fec6bf1
Removed trailing whitespace 2024-07-24 11:06:50 +02:00
Raymond Kuiper
07049ea6d8
Adjustment from linting suggestion 2024-07-24 11:05:35 +02:00
Raymond Kuiper
2094799a51 Allow for NetBox Config Context to have a null value for proxy. 2024-07-24 10:58:22 +02:00