Commit Graph

146 Commits

Author SHA1 Message Date
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
2e867d1129 Added .venv to gitignore for developing. 2024-10-25 15:53:33 +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
91796395ef Fixed readme documentation with inventory settings 2024-07-24 15:02:31 +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
acad07eed4
Merge pull request #2 from q1x/main
Allow for NetBox Config Context to have a null value for proxy.
2024-07-24 11:07:29 +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
Twan K.
c0c52f973e
Merge pull request #69 from doteater/patch-1
Update README.md
2024-07-24 09:59:41 +02:00
doteater
39b63aa420
Update README.md
reference to "latest" container label updated to "main". Also case issue with repo name.
2024-07-10 14:26:00 -07:00
Twan K
017b5623f5
Merge pull request #68 from q1x/main
corrected minor typo
2024-07-04 14:42:41 +02:00
Raymond Kuiper
9be09bca10 corrected minor typo 2024-07-04 13:26:58 +02:00
TheNetworkGuy
23997f9423 Properly styled code as suggested in #61. Also implemented #63 2024-06-12 19:02:44 +02:00
TheNetworkGuy
e8a733cbd0 Merge branch 'main' of https://github.com/TheNetworkGuy/netbox-zabbix-sync 2024-06-12 15:29:37 +02:00
TheNetworkGuy
be76386584 Removed the init file since it interfeared with the linter. 2024-06-12 15:29:33 +02:00
Twan K
b5a01e09e8
Merge pull request #62 from TheNetworkGuy/zabbix_utils
Zabbix 7 support and switching over to zabbix_utils.
2024-06-12 15:01:50 +02:00
TheNetworkGuy
ecec3ee46e Fixed authentication variable problems 2024-06-12 14:57:35 +02:00
TheNetworkGuy
7099df93d1 Updated documentation and requirements 2024-06-12 14:03:37 +02:00
TheNetworkGuy
d1e864c75b Fixed hostgroup generation issues, added proxygroup support. 2024-06-12 13:42:21 +02:00
TheNetworkGuy
6f044cb228 Added logic for proxy groups. Only thing left is consistency check 2024-06-11 16:13:45 +02:00
TheNetworkGuy
2e7890784b Changed flow in sync script, started work for Proxy group support and zabbix_utils 2024-06-11 15:11:55 +02:00
TheNetworkGuy
c695353fce Splitted modules up into seperate files. 2024-06-10 20:20:38 +02:00
TheNetworkGuy
e0b473a6d4 Optimized code and also fixed Linter error. 2024-06-05 10:09:26 +02:00
Twan K
8e9594172b
Merge pull request #59 from Kage1/main
Update README.py to reflect Netbox code change
2024-06-05 09:16:42 +02:00
Kage1
8a749e63cf
Merge pull request #1 from Kage1/Kage1-patch-1
Update README.md
2024-05-30 13:52:40 -05:00
Kage1
ddc65a6d58
Update README.md
Per https://github.com/netbox-community/netbox/releases/v3.5.0 obj. has been updated to object.

Revised README to reflect this change.
2024-05-30 13:50:37 -05:00
TheNetworkGuy
58d894832e Merge branch 'main' of https://github.com/TheNetworkGuy/netbox-zabbix-sync 2024-05-22 14:34:07 +02:00
TheNetworkGuy
b9713792d7 fixed bug with device removal state 2024-05-22 14:34:03 +02:00
Twan K
45192531f9
Merge pull request #58 from TheNetworkGuy/hostname_processing
Added functionallity to allow device names with specials characters
2024-05-22 14:09:23 +02:00
TheNetworkGuy
72fde13ef4 Added functionallity to allow device names with specials characters such as umlauts. 2024-05-22 14:04:42 +02:00
TheNetworkGuy
78b9d5ae8b Fixed trailing white space error. 2024-05-22 10:38:53 +02:00
Twan K
60140b4b74
Merge pull request #56 from q1x/inventory-zero-values
Allow for source inventory fields to have a value of zero
2024-05-22 10:36:11 +02:00
TheNetworkGuy
0b9b8a4898 Fixed container path 2024-05-22 09:40:28 +02:00
TheNetworkGuy
441d7e7e95 Temporary disabled too-many-arguments error for Pylint. 2024-05-22 09:35:33 +02:00
TheNetworkGuy
c185b7364d Fixes #57. 2024-05-22 09:24:17 +02:00
Twan K
e56451f5e1
Update README.md
Fixed Docker package link
2024-05-21 15:38:10 +02:00
Twan K
dee6a079a5
Update README.md 2024-05-21 15:23:20 +02:00
Twan K
2b62caca85
Update README.md
Updated to force pipeline container build
2024-05-21 15:06:41 +02:00
Raymond Kuiper
e9143eb24c
Update netbox_zabbix_sync.py
Minor bug fix for float or int zero values in inventory fields
2024-04-12 10:38:43 +02:00
Twan K
4eed151e22
Merge pull request #55 from q1x/main
Code cleanup and automated GitHub pylint workflow
2024-04-10 22:05:34 +02:00
Raymond Kuiper
3e638c6f78
Update netbox_zabbix_sync.py
Minor bug fix for empty Netbox to zabbix inventory field mappings.
2024-04-10 14:57:08 +02:00
Raymond Kuiper
634f4b77d5 tweaked exception handling 2024-03-28 09:51:08 +01:00
Raymond Kuiper
c006e7feb5 Let's make pylint happy :) 2024-03-27 20:35:32 +01:00
Raymond Kuiper
091c9746c0 Fixed proxy issue, rewrite of inventory logic (eval was ugly) 2024-03-27 20:33:02 +01:00