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

Incorrect Login URL, results in 404 #68

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Incorrect Login URL, results in 404

Changed the account login URL check to the appropriate login page. Currently, checking ````$LOGGLY_ACCOUNT_URL/login```` results in a 404 which causes the script to fail.
  • Loading branch information
ericcholis committed Jul 16, 2014
commit 072d6ed6606ab6f2d9f6216a6e78b57356aa8f0a
@@ -214,7 +214,7 @@ setLinuxVariables()
checkIfLogglyServersAccessible()
{
echo "INFO: Checking if $LOGGLY_ACCOUNT_URL is reachable."
if [ $(curl -s --head --request GET $LOGGLY_ACCOUNT_URL/login | grep "200 OK" | wc -l) == 1 ]; then
if [ $(curl -s --head --request GET $LOGGLY_ACCOUNT_URL/accounts/login | grep "200 OK" | wc -l) == 1 ]; then
echo "INFO: $LOGGLY_ACCOUNT_URL is reachable."
else
logMsgToConfigSysLog "WARNING" "WARNING: $LOGGLY_ACCOUNT_URL is not reachable. Please check your network and firewall settings. Continuing to configure Loggly on your system."
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.