How to configure logstash-output-nagios, getting error Unknown setting 'nagios_host' for nagios

The nagios output works by sending the event to an external command. The command file defaults to /var/lib/nagios3/rw/nagios.cmd, which does not exist on your server. So you need to set the commandfile option on the output to tell it where that file is.