I find it much easier to cut-and-paste into a file using 'pico -w' then using 'vi' - vi automatically indents, so when I cut and paste the output usually doesn't look like the input. pico, on the other hand, does NOT automatically indent... (but without the "-w" it will automatically wrap long lines, causing another set of problems...).
Which is by way of saying that if deleting the last } in 92nagios doesn't do the trick, I'd try recreating the file using pico -w 92nagios