Ad Widget

Collapse

Action Email - {ITEM.LASTVALUE} not complete

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wispman
    Junior Member
    • Jun 2007
    • 7

    #1

    Action Email - {ITEM.LASTVALUE} not complete

    I have been setting up triggers with the action to email the status but the {ITEM.LASTVALUE} field isn't reporting the full value of the data point in the email, just the whole number. eg. for an item value of 4.9532 the email will only report a value of 4.
    Is this a bug or am I missing something?
    Thanks!
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    which version of zabbix (i'll admit being lazy and not trying out myself yet ) ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • wispman
      Junior Member
      • Jun 2007
      • 7

      #3
      Sorry,
      The version is 1.6.4 Would be glad to know if it works for someone!

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        i haven't gotten to testing with 1.6 branch yet, but it works as expected for me in trunk
        Zabbix 3.0 Network Monitoring book

        Comment

        • ldunston
          Junior Member
          • May 2009
          • 12

          #5
          I'm having a similar issue with apache logs that are truncated in the email. Is there a maxbuffer return size that can be adjusted for ITEM.LASTVALUE?

          --Les

          Comment

          • tekknokrat
            Senior Member
            • Sep 2008
            • 140

            #6
            I also get the whole output reported

            e.g msg looks like this:
            Cyrus processes consumes > 128MB memory on vlxp01-dd: PROBLEM

            Last value was:
            10.43 MB
            but another issue with this because 10.43MB < 128MB
            The trigger checks the sum of different items.

            Code:
            ({svc_cyrus:proc.mem[cyrmaster,cyrus].avg(300)}+{svc_cyrus:proc.mem[imapd,cyrus].avg(300)})>134217728
            Regarding the changelog of 1.6.3 this should be fixed, imo that means the sum of items output should be used in mail!?

            Comment

            • richlv
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2005
              • 3112

              #7
              hmm. i think you can use ITEM.VALUE1-9 to include all positional items. see manual for more detail. that way you could have something like :

              memory used by cyrmaster : {ITEM.VALUE1}
              memory used by imapd : {ITEM.VALUE2}

              and so on.
              Zabbix 3.0 Network Monitoring book

              Comment

              Working...