Skip to content

Instantly share code, notes, and snippets.

View ttshivers's full-sized avatar
🐱

ttshivers ttshivers

🐱
  • Austin, TX
View GitHub Profile
@ttshivers
ttshivers / yum.pl
Last active July 7, 2017 02:41
Xymon Yum Script
#!/usr/bin/perl -w
#
# This script determines the number of outstanding updates (patches) for this
# RHEL host. The count is reported to the Xymon monitoring server. This script
# requires that:
# A- the yum-security plug-in is installed, and
# B- that sudo is configured to have this script run `yum`.
#
# Written by W.J.M. Nelis, wim.nelis@nlr.nl
#