Ad Widget

Collapse

Discussion thread for official Zabbix SMART Disk monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dv8472
    Junior Member
    • Aug 2025
    • 2

    #136
    Hello,
    how about to extend the default temperature (or perhaps even other) triggers with the User macros with context?
    Could be useful in case, when one has various disks with different thresholds

    Template macros would be like:
    {$SMART.TEMPERATURE.MAX.CRIT:"{#NAME}"}
    {$SMART.TEMPERATURE.MAX.WARN:"{#NAME}"}

    The triggers would be then like:
    avg(/SMART by Zabbix agent 2/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.CRIT:"{#NAME}"}
    avg(/SMART by Zabbix agent 2/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.WARN:"{#NAME}"}

    I wanted first to check with the people here, whether something like that makes some sense in your eyes.
    If yes, I'll open a ticket for this.

    Comment

    • dv8472
      Junior Member
      • Aug 2025
      • 2

      #137
      I made there a minor mistake, it's supposed to be w/o the template macros, hence:

      Originally posted by dv8472
      Hello,
      how about to extend the default temperature (or perhaps even other) triggers with the User macros with context?
      Could be useful in case, when one has various disks with different thresholds

      The triggers would be then like:
      avg(/SMART by Zabbix agent 2/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.CRIT:"{#NAME}"}
      avg(/SMART by Zabbix agent 2/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.WARN:"{#NAME}"}

      I wanted first to check with the people here, whether something like that makes some sense in your eyes.
      If yes, I'll open a ticket for this.

      Comment

      Working...