Fixes nil access in template when monit attributes are not defined

If monit attributes are not defined, a nil access error will occur.