Ad Widget

Collapse

Maybee external scripts could need a number check on the input. When using integers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fableman
    Member
    • Oct 2007
    • 78

    #1

    Maybee external scripts could need a number check on the input. When using integers

    My input into azbbix with my external script was
    12
    14
    16
    18
    29
    13

    The number 18 never showed up in zabbix.

    why ?

    Mark my numbers and you see an extra space after the number 18.

    Maybee zabbix should only allow the numbers it founds from the input into zabbix and trash the other characters.

    Now zabbix take the space character after a number as invalid number.

    This small error on my side was driving me nutts last days hehe cos it was kinda hard to spot cos everything was looking correct in my debug and hard to see space characters.

    I know it was my fault to add that extra space after one of the numbers but maybee save some one other from going nutts.
    It can be a good thing to only grab numbers from an input when selecting integer, just an idee
Working...