Fix threshold checking

Fix a bug of undefined threshold value, if threshold is not defined
then there will not be threshold monitoring

This is just fixing current issue but code can be enhanced for better
handling, will modify it later.

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Change-Id: I8f54552f202ac1aeee14ad655d7846446f516bc4
1 file changed