I think I may have found a clever work around for this. I don't want to risk making Nagios FUBAR by trying to put a loop into the code. So I've decided to opt for the copy and paste route. I have a csv file of about 300 UPS devices. So I'm going to use PHP to take the file, and auto place the names of the UPS devices into a preset convention, then print it out to the screen. Then I can just copy and paste If anyone knows of an easier method, PLEASE let me know.