Ad Widget

Collapse

How can I make notification without an obligation to close the problem?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • awrow
    Junior Member
    • May 2020
    • 16

    #1

    How can I make notification without an obligation to close the problem?

    I need to receive a notification when authentication on the client happens. I have an item with key:
    Code:
     log[/var/log/auth.log,(sshd.*)?(Accepted)]
    Also I have trigger with key:
    Code:
     {test.test.ru:log[/var/log/auth.log,(sshd.*)?(Accepted)].str(Accepted,#1)}=1
    I need that there will be only notification without raising a problem. With my config I always should deactivate the problem and I receive a second notification I don't need. How can I make notification without an obligation to close the problem or to receive second notification?
    Last edited by awrow; 06-05-2020, 18:05.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    The best thing to do is to read the documentation and understand the relationship between triggers, events and notifications.
    https://www.zabbix.com/documentation.../config/events
    https://www.zabbix.com/documentation.../notifications
    In short: a trigger always triggers an event (problem) - but not every event triggers an notification.

    Comment

    • awrow
      Junior Member
      • May 2020
      • 16

      #3
      Hamardaban do u mean OK event generation = None setting on a trigger tab? It still makes the problem instance in the Problems log. How can I do what I need without making a problem or something close to that?

      Comment

      • awrow
        Junior Member
        • May 2020
        • 16

        #4
        I got it! Thanks! When I started this my trigger was caught by already existed action instance. And that action instance had recovery operation steps. So all I needed was to create another action instance with no recovery steps.

        Comment

        Working...