Ad Widget

Collapse

Generation of notification based on content of text file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sonavaneu
    Junior Member
    • Jul 2016
    • 4

    #1

    Generation of notification based on content of text file

    To generate mail notification based on content of text file I have
    1) Created "Item" with "vfs.file.regexp[/usr2/usonavan/text.txt,Error,]" Zabix 2.2.3
    2) Tried create trigger for this item with Function as "Find string V in last (most recent) value. N = 1 - if found, 0 - otherwise".
    Here specified V = Error
    and N = 1

    But on clicking "Insert" button give error as
    'Incorrect item value type "Numeric (unsigned)" provided for trigger function "str(Error)" '

    Many I know where I have gone wrong?
    Is selection of "Function" option is correct?

    Thanks & Regards
    Umesh
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please check your 'Type of information' setting for that item.
    Are you selected Character or Text?

    Comment

    • sonavaneu
      Junior Member
      • Jul 2016
      • 4

      #3
      Thanks

      Thanks a lot Atsushi. My problem solved.

      Comment

      Working...