Added timeout-checking and tungsten 1.3.2 compatibility

Had to make some changes to account for changes in the nagios
scripts for tungsten 1.3.2.  Also added a timeout, to prevent
lots of false alerts when tungsten's communication times out.