Ad Widget

Collapse

Item Value in trigger-name does not work?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • softy
    Junior Member
    • Jan 2012
    • 5

    #1

    Item Value in trigger-name does not work?

    Hi!

    I downloaded a template to check Windows disk usage via snmp ( i think i found it in this forum,but i can't find the thread ).

    There's an item "Disk 4 - Description" which collects the info of hrStorageDescr.4 via snmp.

    The trigger belongs to another item, to alarm when the disk space is over X% use:

    Name of trigger:

    Code:
    Disk 4 ({Windows Disk usage:disk_4_desc.last(0)}) usage = {ITEM.VALUE}%0

    Now the the trigger name is shown as "Disk 4 ({Windows Disk usage:disk_4_desc.last(0)}) = 60%" and not like "Disk 4 D:\ = 60%"

    Is it not possible to use the item value of "Disk 4 - Description" in trigger name?
    I didn't change the trigger name of this template; maybe it worked some time ago?
    Or: What's the fault?

    Thank you!!
  • softy
    Junior Member
    • Jan 2012
    • 5

    #2
    Mh, i tried different things now, but without resolving this problem.
    I searched in this forum, but didn't find anything, that helped....

    Code:
    Trigger Name: Disk 2 ({Windows Disk usage:disk_2_desc.last(0)}) usage = {ITEM.VALUE}%
    Code:
    Trigger Expression:{Windows Disk usage:disk_2_used_pct_calc.last(0)}>50
    The Item value of disk_2_desc.last is:

    C:\ Label:OS

    Hope that someone can help

    Comment

    • softy
      Junior Member
      • Jan 2012
      • 5

      #3
      Ha,i got it. But the event state is "unknown" . Why?

      Comment

      • efrain02
        Banned
        • Apr 2011
        • 81

        #4
        how do you solved???. I'm on the same thing and i can't get it work.
        Thanks.

        Comment

        • softy
          Junior Member
          • Jan 2012
          • 5

          #5
          Yes, i solved it.
          The trigger looks like this:

          Name:
          <code>
          Disk 2 {ITEM.VALUE} usage = {ITEM.VALUE2}%
          </code>

          Expression:
          <code>
          {Windows Disk usage:disk_2_desc.strlen(0)}>3 & {Windows Disk usage:disk_2_used_pct_calc.last(0)}>90
          </code>

          Comment

          • efrain02
            Banned
            • Apr 2011
            • 81

            #6
            Ok. Thanks for your help. Now is working for me also

            Comment

            Working...