Commit Graph

99 Commits

Author SHA1 Message Date
TheNetworkGuy
c185b7364d Fixes #57. 2024-05-22 09:24:17 +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
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
Raymond Kuiper
364d376f55 corrected even more linting errors 2024-03-27 16:33:06 +01:00
Raymond Kuiper
ab2a341fa7 Corrected more linting errors 2024-03-27 16:26:15 +01:00
Raymond Kuiper
fbb9eeb48c Corrected linting errors 2024-03-27 16:24:26 +01:00
Raymond Kuiper
5b08d27a5e Added support for syncing Zabbix Inventory, this is also a fix for https://github.com/TheNetworkGuy/netbox-zabbix-sync/issues/44 2024-03-27 15:37:50 +01:00
Raymond Kuiper
583d845c40 revert because of file formatting issue 2024-03-27 15:22:43 +01:00
Raymond Kuiper
27a4a5c6eb Corrected more pylint errors 2024-03-25 11:57:46 +01:00
Raymond Kuiper
537710a4b9 Corrected pylint errors 2024-03-25 11:56:17 +01:00
Raymond Kuiper
71f604a6f6 Added functionality to build full region and site_group paths to be used in hostgroup names. 2024-03-25 11:49:41 +01:00
Raymond Kuiper
0d7c581ee2 fixed undefined-variable 2024-03-08 14:29:12 +01:00
Raymond Kuiper
c684ac4a9d Futher cleanup 2024-03-08 14:23:47 +01:00
Raymond Kuiper
2fcd21a723 code cleanup 2024-03-08 14:00:15 +01:00
Raymond Kuiper
0d02e096e9 Disable pylint name checking 2024-03-08 13:49:18 +01:00
Raymond Kuiper
de8143e89f Cleaning up code 2024-03-08 13:30:21 +01:00
Raymond Kuiper
c8e42b366f Added support for Zabbix API tokens and updated README.md 2024-03-01 08:51:07 +01:00
Raymond Kuiper
1f4a81e2e4 Implemented workaround for Zabbix 7.0.x API changes. 2024-03-01 03:33:31 +01:00
Raymond Kuiper
8aba95525b
Update in Zabbix proxy logic
- Fixed var typo (`proxys` vs `proxies`)
- Workaround for Zabbix 7.0.x API changes in `proxy.get()`: `host` was replaced with `name`.
2024-02-23 15:53:48 +01:00
TheNetworkGuy
3f28986c09 Implemented #48 2024-02-22 14:10:59 +01:00
TheNetworkGuy
e2ddb068e9 Added new hostgroup variables 2024-02-21 13:07:42 +01:00
TheNetworkGuy
528efd0ff8 Added #39. Updated code, documentation and config example 2023-12-27 15:33:45 +01:00
TheNetworkGuy
6389146342 Updated script to support config context as source for Zabbix templates. Updated config and readme with instructions 2023-05-10 21:03:56 +02:00
TheNetworkGuy
75d822f62a Rolled back contaminated code meant for #27 in main branch, issue created in #34 2023-04-12 17:53:10 +02:00
TheNetworkGuy
e269b28381 Rolled back contaminated code meant for #27 in main branch, issue created in #34 2023-04-12 17:51:56 +02:00
TheNetworkGuy
df77eca944 Fixed #32 and fixed SNMP Bulk bug 2023-04-11 22:17:30 +02:00
TheNetworkGuy
eef905acbe Added configuration file in response to #25 2022-11-29 17:03:05 +01:00
Twan K
988cf10c9a
Merge pull request #24 from TheNetworkGuy/hostgroup_cf
Implemented #20
2022-11-24 19:59:26 +01:00
TheNetworkGuy
a7be35de87 Fixed #22 2022-11-24 19:56:22 +01:00
TheNetworkGuy
3b4744b419 Implemented #20 2022-11-22 12:27:44 +01:00
TheNetworkGuy
14c83ba50d Filtering devices which do not have a name. Posible related to #22, nontheless a good practice to ignore these devices. 2022-11-22 11:19:10 +01:00
Twan K
74d9445616 Removed tenant flag and config. Created the -l flag for #16. Updated documentation 2022-09-09 11:06:56 +02:00
Twan K
17969c1da5 Fixes #15 2022-09-08 21:59:58 +02:00
Twan K
66ceaffb11 Returns an error when user has a VC configured without the master selected. 2022-09-08 21:36:11 +02:00
Twan K
c2525a1122 Added journal functionality for write action 2022-01-10 21:33:02 +01:00
Twan Kamans
c19707740b Fixes #12 2021-10-01 15:58:28 +02:00
Twan Kamans
55e28a7095 Fixed #10 2021-10-01 13:13:13 +02:00
Twan Kamans
ea680aa1f5 Fixed #11 2021-10-01 12:01:58 +02:00
Twan Kamans
135c04af98 Forced integer to Netbox custom field HostID, added support for #8. Added new -p flag to force proxy link removal. 2021-07-16 19:56:54 +02:00
Twan Kamans
036a0c06d1 Fixed #6 2021-04-29 10:15:35 +02:00
Twan Kamans
cef24a768d Updated README and modified interface update log messages. 2021-04-29 09:40:23 +02:00
Twan Kamans
4535cdbeba Basic secrets functionality implemented 2021-04-28 20:41:12 +02:00
Twan Kamans
430fc6969f Fixed -H function. 2021-04-22 16:48:40 +02:00
Twan Kamans
bff611ca67 Added path config to log filehandler. 2021-04-19 22:47:39 +02:00
Twan Kamans
1b84f2c2eb Fixed problem with SNMP version change and added log message when changing interface type. 2021-04-19 21:26:41 +02:00
Twan Kamans
fb2c64cbb8 Added basic SNMP interface configuration options in Netbox. 2021-04-18 22:32:31 +02:00