Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
@russoisraeli
Member Since: October 30, 2009
Favorites0
Views
Projects0
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
Reviewed 16 years ago