There was a task recently to add a new group of recipients for nagios notifications. Because for each host we have a separate config I had to change more than a hundred files. Furthermore it was necessary to correct only those files that contain service descriptions from nagvis configs. Here is one-line solution (divided to…