librenms: more syntax fixups

Change-Id: Ib6d7f358ae0b705acd64d0a6e829ca0854151d2a