Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress "smartmatch is experimental" warnings #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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