nagios: trivial cleanups

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
nagios: code cleanup

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>