Commit graph

14 commits

Author SHA1 Message Date
Sven Putteneers
dfaf64c3b7 Fix "Smartmatch is experimental at …" warnings
Added the "no warnings" pragma to suppress warnings about smartmatch being an
experimental feature.
2022-07-15 11:48:00 +02:00
Sven Putteneers
7088534f08 Allow Zabbix time spec instead of just seconds for check-delay and disc-delay
In Zabbix, the item check interval and discovery intervals can be
specified not just with a number of seconds, but with more convenient
units using time suffixes as well.

See https://www.zabbix.com/documentation/current/en/manual/appendix/suffixes
for a list of supported suffixes.

By allowing strings as arguments to --check-delay and --disc-delay,
these interval specifications can be used.

No checking for correct syntax (i.e. valid time suffixes) is done; if
required, this can be added to the code as well.
2022-07-15 11:46:08 +02:00
Christopher Arceneaux
a12dc964f0 fixed logic error when validating snmp v3 args 2017-12-29 14:07:55 -05:00
Ryan Armstrong
59ee5ceb21 Trimmed trailing whitespace 2017-07-31 21:31:04 +08:00
Ryan Armstrong
ccc8bdfb66 v3 args are now case-insensitive. Ref: #13 2017-07-31 21:30:16 +08:00
Richlv
dc83502b44 Update mib2zabbix.pl
minor typo fix
2016-09-10 12:37:53 +03:00
Ryan Armstrong
b95ca6b310 Change default template prefix to 'Template SNMP' 2016-09-09 08:40:59 +03:00
Ryan Armstrong
20bfdd8a70 Added unit translations for common mib units 2016-08-17 16:18:18 +08:00
Ryan Armstrong
b456061778 Fixed discovery rules for Zabbix v3 2016-08-17 15:06:08 +08:00
Ryan Armstrong
b390b827cb Fixed empty value maps error 2016-08-17 12:20:53 +08:00
Ryan Armstrong
10f682b497 Added support for OIDs without the . prefix 2016-08-17 11:35:33 +08:00
Ryan Armstrong
3ea7e98b56 Removed unused get_child_by_label function 2016-08-08 18:18:57 +08:00
Ryan Armstrong
2ac32ded1a Updated script for Zabbix v3 support 2016-08-08 17:55:05 +08:00
Ryan Armstrong
6d24aad64b Initial commit 2016-06-01 15:33:08 +08:00