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

List of active events #1398

Open
Pigi-102 opened this issue Sep 30, 2024 · 2 comments
Open

List of active events #1398

Pigi-102 opened this issue Sep 30, 2024 · 2 comments
Labels
enhancement New feature or request module The issue or pull request is related to Zabbix module

Comments

@Pigi-102
Copy link

Pigi-102 commented Sep 30, 2024

SUMMARY

Would it be possible to have a module that, invoked, return a list of active event like the zabbix_group_events_info or the zabbix_host_events_info but indipendent from host or group ?

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

zabbix_events_info

ADDITIONAL INFORMATION

I have several host in different hostgroup that have a different SLA for notifications.
The 24x7 always get the notification, but thos in 9x5, if the event get triggered during night time, does not get the notification, as when the notification period starts ( say at 9.00 AM ) the event already has happened and so only the notification does not starts.
With such a module I can get a list of events and create a playbook to inform someone via mail that there is a problem.

@pyrodie18 pyrodie18 added enhancement New feature or request module The issue or pull request is related to Zabbix module labels Oct 1, 2024
@masa-orca
Copy link
Collaborator

I think it is caused by user setting. Please check period of user_medias.

https://docs.ansible.com/ansible/latest/collections/community/zabbix/zabbix_user_module.html#parameter-user_medias/period

@Pigi-102
Copy link
Author

Pigi-102 commented Nov 5, 2024

No, it's not.
I basically would like to have a recap of every event happened during night time and are still active at the moment I run my playbook, either if the mail have been sent or not.
At the moment I can get a list of all events, or a list of event filtered in some way, except for "active" state.
Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module The issue or pull request is related to Zabbix module
Projects
None yet
Development

No branches or pull requests

3 participants