Ad Widget

Collapse

Items and triggers for active checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • s0r1n
    Junior Member
    • Feb 2013
    • 23

    #1

    Items and triggers for active checks

    I already tested, the active checks are working fine, for example I configured already the following item
    log["/var/log/messages","SEND FAX","UTF-8",200]
    and the corresponding trigger:
    {fax_server:log["/var/log/messages","SEND FAX","UTF-8",200].nodata(300)}=0

    I want to search for more keywords in the file and I defined more triggers for one item, here my example:
    {fax_server:log["/var/log/messages",,"UTF-8",200].str("SEND FAX")}=0
    {fax_server:log["/var/log/messages",,"UTF-8",200].str("SEND FAILED")}=0
    {fax_server:log["/var/log/messages",,"UTF-8",200].str("Document has been rejected")}=0
    but it seems my attempt failed, while the triggers do not collect data. Is there a way to use one item only or shall I define a new item for each new keyword? Please provide your opinion. Thanks, Sorin.
Working...