Ad Widget

Collapse

Links with spanning tree monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sir_Yaro
    Member
    • Nov 2008
    • 37

    #1

    Links with spanning tree monitoring

    Hi.
    In my network I have switches with spanning tree. Recently i've started to monitor spanning tree status on a ports. My goal is to use them to light on and off links on the map. It works quite well but there is a "small" problem.
    If port has status disabled (value 1) or blocking(2), trigger shows it self on a dashboard and (what is even worse) on a maps as a problem.

    This is an example of my trigger:
    {MM-10.99.0.11-Pestalozziego 24:spanning-tree.status.3. last( 0 ) }#5
    In this case trigger shows only STP status and if it's other than 5 it doesn't really mean there is any problem.

    My question is - how to use it (trigger) or modificate it to not display it on a dashboard and maps ? Is there any other type of event than 'problem' ?
  • Sir_Yaro
    Member
    • Nov 2008
    • 37

    #2
    Sollution:
    In file maps.inc.php in line ~481 add
    ' AND t.priority >= 1'.
    ' AND t.description NOT LIKE "spanning-tree%"'

    (if your trigger is like "spanning-tree...")

    Comment

    • Calimero
      Senior Member
      • Nov 2006
      • 481

      #3
      Errrr.... before patching zabbix, maybe you should trying writing the right trigger ?

      What values exactly are considered as errors and should fire the trigger ?

      Comment

      • Sir_Yaro
        Member
        • Nov 2008
        • 37

        #4
        Originally posted by Calimero
        What values exactly are considered as errors and should fire the trigger ?
        That's a thing - there is not such a value. No matter if port is disabled(1), blocked(2) or fowarding(5) it's only an information not error of any kind. If port is blocked it doesn't mean something is wrong.

        Actually I don't really need any trigger for this but I can't use directly any item value to change link color on a map. You have to use a trigger for that. But no matter how important trigger is it always generate a "PROBLEM" on a map and an issue on a dashboard. ANd I don't want it.
        Last edited by Sir_Yaro; 22-09-2009, 20:57.

        Comment

        Working...