Skip to content

IT Blog

Vyacheslav Gapon – personal blog, manuals, articles, notes, development

  • РусскийРусский

Tracking file changes via Zabbix

Posted byVyacheslav 04.03.201926.09.2019 Leave a comment on Tracking file changes via Zabbix

I will give an example of checking the integrity of a file through checksum calculation using Zabbix agent.

It’s quite simple, we create a data element with the type “Zabbix agent” and, for example, a key (where /dir/file.txt is the file to be checked):

vfs.file.cksum[/dir/file.txt]

Now to find out when the file changes, create a trigger with the expression:

{Template:vfs.file.cksum[/dir/file.txt].diff(0)}>0

See also my article:
File Integrity Check Script

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • More
  • Click to share on Pocket (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to print (Opens in new window)
Posted byVyacheslav04.03.201926.09.2019Posted inMonitoring, Zabbix

Post navigation

Previous Post Previous post:
How to solve the error “Unknown Object Identifier (Index out of range: XXX (ifIndex))”
Next Post Next post:
IPTables rules for Asterisk AMI

Leave a comment

Leave a Reply Cancel reply

Categories

Contacts
DONATE
About it
Privacy
Subscribe by Email (EN)
Подписаться по Email (RU)
YouTube
Instagram

При использовании материалов, активная ссылка на сайт ixnfo.com обязательна!
When using materials, an active link to ixnfo.com is required!

IT Blog © 2013-2023 Privacy Policy