Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
png
 
 
 
 

README.md

Discover Linux users having bash environment.

Utilize the file /etc/passwd and JavaScript preprocessing feature to feed the file into low-level discovery. This will allow us to monitor some files per user profile.

IMAGE ALT TEXT

Dependencies

Zabbix server

Must have at least version 4.2 because of "JavaScript preprocessing feature" and "Discard unchanged" feature.

Zabbix agent

It is suggested to run Zabbix agent under the root environment to be able to access anything in each user profile.

AllowRoot=1

Items

Pick up bash history:

logrt[{#PATH}/.bash_history*,,utf8]

Pick up MySQL history:

logrt[{#PATH}/.mysql_history*,,utf8]

Take a backup of .bashrc file. Usefull if you invent your own command alias

vfs.file.contents[{#PATH}/.bashrc,utf8]

About

Discover Linux by utilizing the content of /etc/passwd file. Al least Zabbix 4.2 required

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.