Skip to content

Suppress "smartmatch is experimental" warnings#28

Open
sputtene wants to merge 2 commits intozabbix-tools:masterfrom
sputtene:fix/no-warnings-smartmatch
Open

Suppress "smartmatch is experimental" warnings#28
sputtene wants to merge 2 commits intozabbix-tools:masterfrom
sputtene:fix/no-warnings-smartmatch

Conversation

@sputtene
Copy link

No description provided.

sputtene added 2 commits July 15, 2022 11:46
…sc-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.
Added the "no warnings" pragma to suppress warnings about smartmatch being an
experimental feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant