Adding mode for usage as nagios plugin

I added the ability to output data as Nagios plugin (I'm using it to monitor temperature with a raspberry pi) with warning and critical as temperature ranges.