- Timestamp:
- Apr 24, 2009, 12:31:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
noc/nagios/status-user/finger.sh
r1099 r1100 18 18 19 19 gethgmembers() { 20 gethostgroups | grep "^$1 " | cut -f 2 -d " " | sed 's/,/\n/g' | perl -pe 's/\n/|/g' | sed 's/|$//'20 gethostgroups | grep "^$1 " | cut -f 2 -d " " | sed 's/,/\n/g' | sort -u | perl -pe 's/\n/|/g' | sed 's/|$//' 21 21 } 22 22
Note: See TracChangeset
for help on using the changeset viewer.