Ad Widget

Collapse

Triggers and items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vivek17apr
    Junior Member
    • Jan 2018
    • 2

    #1

    Triggers and items

    I have created an item in zabbix for monitoring of port 22 and sshd service.

    The rule of the item is net.tcp.service[ssh,,22]

    The name of the item is SERVICE_SSH

    Now the issue is how do we add this item for triggers in our zabbix setup.

    I have around 500 hosts in our setup. How to setup those triggers for all the hosts in setup.

    I have to setup around 5-6 alerts for different services too. I am using version 3.2.

    Awaiting quick updates as this is a bit urgent.

    Thanks,
    Vivek
  • jsolarin
    Junior Member
    • Dec 2017
    • 7

    #2
    You should be adding this into a template to apply to the 500 devices you have.

    Then when you create the trigger it should look like this...

    {TemplateName:net.tcp.service[ssh,,22].last(0)}<1

    This will alarm when the number of service ports for port 22 fall below 1.

    Comment

    • vivek17apr
      Junior Member
      • Jan 2018
      • 2

      #3
      Zabbix

      Thanks for the answer.

      Want to know the exact procedure of adding a trigger.

      Is it template>item>trigger?

      If you have added a sample template, can you please help me with an example?

      Comment

      • jsolarin
        Junior Member
        • Dec 2017
        • 7

        #4
        Yes, you create the template first.
        Create the Item for the SSH service in the template.
        Then create the Trigger to alarm when the Item crosses your threshold.
        Then apply that template to the servers you want to monitor SSH on.

        Comment

        Working...