Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
jwhowell
byjwhowell, November 18, 2019
Script works fine except that some of my servers return a % in the output from df -k. Needed to modify line 77 and change the awk statement to read:
awk '{gsub("%",""); print $2 ":" $3 ":" $4 ":" $5}'
awk '{gsub("%",""); print $2 ":" $3 ":" $4 ":" $5}'