Bugfix, nagios script did not work.
Merge pull request #23 from alphacomm/bugfix-nagios

Fix nagios check script.