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

Different intervals for active items of one host #8

Open
romanrajniak opened this issue Jun 11, 2020 · 2 comments
Open

Different intervals for active items of one host #8

romanrajniak opened this issue Jun 11, 2020 · 2 comments

Comments

@romanrajniak
Copy link

I tried workaround for this functionality using predefined names of Applications which represents some Intervals. This Application names are filtered and used for create separate cache files with name item-Interva_n-...list
In crontab is separate line for each used Interval_n with new parameter which is used to compose right file name in cache directory.
Is this woraround OK? Or there is another better solution.

@romanrajniak romanrajniak changed the title Different intervals for items of one host Different intervals for active items of one host Jun 11, 2020
@Lelik13a
Copy link
Owner

It might be better to make an optional parameter for a item in template.
And call from the cron with a parameter that determines what to launch.
I'll think about it.

@romanrajniak
Copy link
Author

But with Active items and ZabbixAPI , posible configuration attiribute and then filtering with it, is an Application one parameter, what I found.

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

No branches or pull requests

2 participants