Ad Widget

Collapse

Parsing text file with vfs.file.regexp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tivrobo
    Junior Member
    • May 2014
    • 9

    #1

    Parsing text file with vfs.file.regexp

    Hi all!

    I'm faced with problem, when try to parse text file to extract decimal value from it.
    I trying to use vfs.file.regexp item key, but Zabbix return to me: Received value [] is not suitable for value type [Numeric (float)] or Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal] (try both)

    Version: Zabbix server v2.2.3 (revision 44105) (7 April 2014)

    Item key: vfs.file.regexp[C:\drv\Sessions.log,"aurora:tiv[0-9]+)",,,,\1]
    Active check used

    text file:
    aurora:a.gontarenko:1
    aurora:tiv:1
    hq-dev-02:debug:0
    hq-dev-02:dev1:0

    Asking for help
Working...