Ad Widget

Collapse

Log monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • threepac
    Junior Member
    • Jul 2007
    • 3

    #1

    Log monitoring

    Is there a way to get my file.regmatch or log[] items to not grep the entire log each time?

    I would like it to grep on new lines since the last check. Is this possible with built in functionality or would it be best to just call a custom script to save the line position?

    danke
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Log[] does remeber last position! It won't parse or process all log file to get access to newly added lines.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...