Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New source install script #485

Merged
merged 18 commits into from
May 13, 2013
Merged

New source install script #485

merged 18 commits into from
May 13, 2013

Conversation

remh
Copy link
Contributor

@remh remh commented May 2, 2013

  • High level logging
  • Dependency check (sysstat and python)
  • Better failure handling
  • Automated reporting (needs user approval)
  • Do not try to log in /var/log for source installation

Fix #476
Fix #473
Fix #378
Fix #139
Fix #478

remh added 3 commits May 2, 2013 16:53
	* High level logging
	* Dependency check (sysstat and python)
	* Better failure handling
	* Automated reporting (needs user approval)

Fix #476 Fix #473 Fix #378 Fix #139
@ghost ghost assigned remh May 2, 2013
@remh
Copy link
Contributor Author

remh commented May 2, 2013

Also, I need to make sure that the dogweb endpoint for failure reporting is functional (was created months ago)

@ghost ghost assigned clofresh May 2, 2013
@remh
Copy link
Contributor Author

remh commented May 3, 2013

Also do not merge until it's 100% ready, merging it to master would mean that it would be used on prod by everyone installing the agent using the source install.

printf "$1" | tee -a $logfile

while true; do
read -p "Do you want to send a failure report to Datadog ? (y/n)" yn
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before you ask for confirmation, you should dump out the report so they can look at it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unknow -> unknown

@clofresh
Copy link
Contributor

clofresh commented May 7, 2013

Besides the comments, it looks great. Did you test on Linux too?


# Function to display a message passed as an argument in red and then exit
quit_error() {
printf "\033[31m"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably worth having constants for these color delimiters

@alq666
Copy link
Member

alq666 commented May 13, 2013

Should also fix #449 if file logging is turned off by default.

remh added a commit that referenced this pull request May 13, 2013
@remh remh merged commit 3397a8a into master May 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment