[monitord] fix compiler warnings
Merge pull request #384 from cgzones/monitord

[monitord] fix compiler warnings