monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the best approach to check log files using "journalctl"?


From: Jorge Pereira
Subject: What is the best approach to check log files using "journalctl"?
Date: Thu, 16 Feb 2017 21:32:51 -0200

Hi,

  Usually, I use the option 'content' to polling a file looking for the token. what should I use if I am running a system with systemd?

<snip>
check file telegraf_notwrite with path /var/log/mysystem.log
    if content = "MyString" then alert
</snip>

do we have some plans to support some checks using the journalctl?

I mean: journalctl -x -u mysystem.service
--
--
Jorge Pereira

reply via email to

[Prev in Thread] Current Thread [Next in Thread]