自定义Template

Configuration------->Create template------->:

Template name:DIY(Template的名子)

Visible name:可以为空

Groups in groups:Linux servers

完成Template

新建监控项:

Configuration---->DIY------->Create item----->Checksum of /etc/ssh/sshd_config

Name:Checksum of $1

Type:Zabbix agent(注意是被动不是主动zabbix agent“active”)

创建Triggers:

Configuration------>DIY----->Triggers------->Create trigger:

Name:/etc/ssh/sshd_config has been changed on {HOST.NAME}

Expression:{DIY:vfs.file.cksum[/etc/ssh/sshd_config].diff()}=1

 

原文地址:https://www.cnblogs.com/bass6/p/6738927.html