added zabbix-agent install
This commit is contained in:
6
assets/zabbix/apt.conf
Normal file
6
assets/zabbix/apt.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
# Treat security and regular updates differently
|
||||
# This is just a simulation, that can be run under zabbix user
|
||||
# Since updating packages lists (apt-get update) requires root user,
|
||||
# use APT::Periodic or some other functionality for that
|
||||
UserParameter=apt.security,apt-get -s upgrade | grep -ci ^inst.*security | tr -d '\n'
|
||||
UserParameter=apt.updates,apt-get -s upgrade | grep -iPc '^Inst((?!security).)*$' | tr -d '\n'
|
||||
Reference in New Issue
Block a user