"nagios" module: fix NameError/'host' not defined

Add missing 'host' variable, which is read a few lines later on in some cases.
Merge pull request #2429 from b6d/nagios-module-fix

"nagios" module: fix NameError/'host' not defined