Needed just a bit of work, but saved my a$$

I have the same exact problem, so this really helped. Had to adjust it a bit, maybe to fit the recent version? Also, tweaked a bit to have line breaks between hosts/services.. Here are my cents:

host_status.awk:
1c1
#!/bin/awk -f
30c30
/^[[:space:]]*host {[[:space:]]*$/ {
36c36
/^[[:space:]]*service {[[:space:]]*$/ {

service_status.awk:
1c1
#!/bin/awk -f
30c30
/^[[:space:]]*host {[[:space:]]*$/ {
34c34
/^[[:space:]]*service {[[:space:]]*$/ {
36d35