Ad Widget

Collapse

Ping monitoring question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pigi_102
    Member
    • Sep 2021
    • 35

    #1

    Ping monitoring question

    Hello all.
    I would like to implement a check to verify if the frontend router of a switch is working before eventually trigger problems on the switch it self.
    To better explain, I have a lot of remote switches that are connected via WAN and in front of them there is a router ( handled by several providers ).
    From the zabbix server I check the routers via SNMP, but if the router ( which is not under my control ) is down I don't want to execute the check, nor sending the alert from the triggers.
    To implement this I have added a macro to every switch with the address of the router:
    Click image for larger version

Name:	Screenshot_20240926_155532.png
Views:	85
Size:	22.1 KB
ID:	491831

    I would like to create a check Item that ping the DEFGW address, and in case it is not reachable the trigger would be the dependance for all other triggers.


    Is there a way to realize this ? Also with some external action eventually.



    Thanks in advance

    Pierluigi
    Attached Files
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    But thas exactly how trigger dependencies are working https://www.zabbix.com/documentation...s/dependencies
    You cannot prevent checking, but you can prevent notifications being sent...

    Comment

    • Pigi_102
      Member
      • Sep 2021
      • 35

      #3
      Thanks Cyber.
      I have found a way:
      Create a macro in the host:
      Click image for larger version

Name:	Screenshot_20240928_072726.png
Views:	99
Size:	17.4 KB
ID:	491919

      Then create an item that use this macro as simple action/icmpping:
      Click image for larger version

Name:	Screenshot_20240928_072813.png
Views:	79
Size:	11.4 KB
ID:	491920

      Then it's easy to create a trigger and use it as dependency.

      My problem was how to create the item, and I've found how
      Thanks all.


      Pigi

      Comment

      Working...