Ad Widget

Collapse

[Help] Script to monitor logs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • romanrsr
    Junior Member
    • May 2014
    • 4

    #1

    [Help] Script to monitor logs

    Hello friends, first of all sorry for my poor English.
    I have an item set as follows:
    logrt["/var/log/file_.*.log","error"]

    And a trigger like this:
    {srv-prb:logrt[/var/log/test_.*.log,"error"].nodata(30)}=0

    The problem I have is that when I get a notification by mail of an error in the logs, it appears that no specific log, then I have to look for one. Is there any way for me to report by mail log is specific?
    Thank you!
    Greetings!
    Last edited by romanrsr; 30-05-2014, 22:06. Reason: Correction
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    This was a question?
    Sincerely yours,
    Aleksey

    Comment

    • romanrsr
      Junior Member
      • May 2014
      • 4

      #3
      Originally posted by aib
      This was a question?
      Sorry, I had misspoken. Now edit it.

      Comment

      Working...