Skip to content

Commit

Permalink
Merge pull request #21 from cdwv/master
Browse files Browse the repository at this point in the history
Support yum_update_count in Zabbix 3.x
  • Loading branch information
kporembinski authored Feb 8, 2019
2 parents 7c64911 + 7136822 commit de1327b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/Template OS CentOS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3361,7 +3361,7 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>yum-update-count</key>
<key>yum_update_count</key>
<delay>3600</delay>
<history>7</history>
<trends>365</trends>
Expand Down
1 change: 1 addition & 0 deletions zabbix_agentd.conf.d/yum.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UserParameter=yum_update_count,cat /tmp/yum-update-pending | wc -l

0 comments on commit de1327b

Please sign in to comment.