nipunbatra / Home_Deployment

http://iawe.github.io
7 stars 5 forks source link

Zwave program was stopped #31

Closed nipunbatra closed 11 years ago

nipunbatra commented 11 years ago

Need error logging for the Python script. Several times now i have seen that the Python program is not running.

nipunbatra commented 11 years ago

Found that Plug Computer was out of space. The Logs had consumed all the space. Cleared all the logs for now. The logs by themself had taken about 50% of Disk Space.

nipunbatra commented 11 years ago

There was some error with run.py file. For some reason it's contents were nil. Copied this file again from github and now the program atleast starts. I think, when space was full, something happened, which forced contents of run.py to be nil.

nipunbatra commented 11 years ago

Will need to add a script to delete older log files to ensure that disk does not get full. Also will run the script to alert in such events.

amarjeet-iiitd commented 11 years ago

Try to maintain logs at a lower frequency but for the whole deployment.

Please do collect logs about network connectivity as well. Maybe just run ping for 15 consecutive minutes and then store the summary characteristics that come at the end and then restart ping.

Best regards Amarjeet Singh On Jun 2, 2013 9:46 AM, "Nipun Batra" notifications@github.com wrote:

Will need to add a script to delete older log files to ensure that disk does not get full. Also will run the script to alert in such events.

— Reply to this email directly or view it on GitHubhttps://github.com/nipunreddevil/Home_Deployment/issues/31#issuecomment-18801767 .

nipunbatra commented 11 years ago

Current logs include the following:

I would try and see if i can add those ping statistics here as well. In general, connectivity has been good.

amarjeet-iiitd commented 11 years ago

We want to make an argument later for hosting local desktop for data collection. Collecting network statistics, even at 5-15 minute resolution will help.

Best regards Amarjeet Singh On Jun 2, 2013 11:17 AM, "Nipun Batra" notifications@github.com wrote:

Current logs include the following:

  • Disk Space
  • RAM
  • CPU
  • Local Time

I would try and see if i can add those ping statistics here as well. In general, connectivity has been good.

— Reply to this email directly or view it on GitHubhttps://github.com/nipunreddevil/Home_Deployment/issues/31#issuecomment-18802619 .

nipunbatra commented 11 years ago

Added a script to remove older log files from plug computer. Now it should not eat up the entire disk space.