smeserver-zabbix-agent/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf.d/yumupdates.conf/10All

12 lines
336 B
Plaintext

# Description: Number of updates available through yum
# Type: Agent or Agent (active)
# Key: updates.available
# Type of information: Numeric (integer 64bit)
# Units: packages
# Custom multiplier: Do not use
# Store Value: As is
UserParameter=updates.available,/usr/bin/sudo /sbin/e-smith/db yum_updates show | grep package | wc -l