1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Linux Malware Detectのログの保存場所

Last updated at Posted at 2020-02-29

Zabbixでログ監視しようと思ったのだけど、
肝心のログがネットで見ると/usr/local/maldetect/logs/inotify_logにあるとか書いてあるけど、無い。

[root@hayate conf.d]# maldet -l

Linux Malware Detect v1.6
            (C) 2002-2017, R-fx Networks <proj@rfxn.com>
            (C) 2017, Ryan MacDonald <ryan@rfxn.com>
This program may be freely redistributed under the terms of the GNU GPL v2

Viewing last 50 lines from /var/lib/maldetect/logs/event_log:

~~~

[root@hayate conf.d]# ll /var/lib/maldetect/logs/event_log
-rw-r--r-- 1 root root 1604593  2月 29 14:56 /var/lib/maldetect/logs/event_log
[root@hayate conf.d]#

上記のコマンドを打つことで、ログの保存場所が表示される。
/var/lib/maldetect/logs/event_logとのこと。
故意に設定した記憶は無いけど、私の場合は何故かここだった。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?