Created
June 30, 2014 00:02
-
-
Save discreet/0629367e3e0fba1d07de to your computer and use it in GitHub Desktop.
Puppet Fact for Nagios Check_Disk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Disks to check for Nagios alerting | |
Facter.add("Check_Disks") do | |
confine :osfamily => "RedHat" | |
setcode do | |
Check_Disks = Facter::Util::Resolution.exec("cat /etc/nagios/check_disk.cfg | cut -c 9-19") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment