Added checks to see if data node is running
forgot about that unnecessary stuff I added at the bottom, woops.
Forgot my hardcoded path - removed
Merge pull request #1 from PaulTimmins/master

Added checks as the nagios script does not report an error if the node is not connected or is in state "starting"