(#3299) integration spec for the nagios type

This is a very rough draft for a spec test wrt. the "mode" parameter.
Testing group and owner is difficult since unprivileged rspec users
cannot use chown or chgrp.

This is open for discussion and should be revised before merging.