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.
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.