Ad Widget

Collapse

issue with context marcos with snmp devices

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rjurek
    Junior Member
    • Dec 2014
    • 15

    #1

    issue with context marcos with snmp devices

    I have a template that has a filesystem discovery for my hnas devices.

    Filesystem discovery:
    discovery[{#SNMPVALUE},1.3.6.1.4.1.11096.6.1.1.1.3.5.2.1.3]

    The template has 2 marcos to set the default thresholds for high and low space.
    {$FILESYTEM_HIGH} = 95
    {$FILESYTEM_LOW} = 90

    The triggers are:
    Filesystem Space {$FILESYTEM_HIGH:"{#SNMPVALUE}"} percent on {#SNMPVALUE}
    Filesystem Space {$FILESYTEM_LOW:"{#SNMPVALUE}"} percent on {#SNMPVALUE}

    i want to change the threshold per filesystem on the individual host(s), so I added a marco on the host, but it seems to not be working.

    Host marco
    tried {$FILESYSTEM_HIGH} = 96 and the alerts still came in as 95%
    tried {$FILESYSTEM_HIGH:"BLAH_FS"} = 99 and the alerts still came in with 95%

    I have looked at this server times and still can not get the host marcos to cause the default values from the template to change.
    I need a second pair of eyes or context marco's do not work for snmp devices.

    Thanks
    Ross
  • rjurek
    Junior Member
    • Dec 2014
    • 15

    #2
    Also I am on zabbix version 6.0.4

    Comment

    Working...