Ad Widget

Collapse

Value mapping can't resolve my task

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • g-host
    Junior Member
    • Oct 2020
    • 6

    #1

    Value mapping can't resolve my task

    Hi, everybody.
    I have an item which return numeric type value: 0,1 or 2-10000 and I want create my value map rule which will do the next: 0=>OK, 1=>BAD, 2-10000=>NOTFOUND.
    How can I do it? Can i use '2-10000' or i should write for every number from 2 to 10000: 2=>NOTFOUND, 3=>NOTFOUND,...,10000=>NOTFOUND?
  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    Hi. Just use validation in preprocessing and convert all values more than 1 to 2.

    Comment

    • g-host
      Junior Member
      • Oct 2020
      • 6

      #3
      Originally posted by Semiadmin
      Hi. Just use validation in preprocessing and convert all values more than 1 to 2.
      Ok, but in 'Monitoring' in 'Problems' window in 'Operational data' column i want to see the real values returned from agent, and if i do as you say i will see '2' for every value more than 1

      Comment

      Working...