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

How to properly install and run cachet-monitor #37

Closed
apssupport opened this issue Jun 19, 2016 · 10 comments
Closed

How to properly install and run cachet-monitor #37

apssupport opened this issue Jun 19, 2016 · 10 comments

Comments

@apssupport
Copy link

Good afternoon,

I've searched and read through the documentation as well as searched online for instructions, but I am not sure if I installed it properly. I did a git clone and git checkout, created a new cachet-monitor.config.json but when trying to run it, I get "cachet-monitor: command not found"

Please advise if you can.

@matejkramny
Copy link
Member

Hi,

You should follow the install instructions

@apssupport
Copy link
Author

apssupport commented Jun 19, 2016

Hello,

Thanks for quick reply. I did follow install instructions. I downloaded
binary, create config and tried to run it like it says but I get command
not found. I just need help with the actual "installation" if it even needs
to be installed.

On Sun, Jun 19, 2016 at 4:19 PM, Matej Kramny notifications@github.com
wrote:

Hi,

You should follow the install
https://github.com/CastawayLabs/cachet-monitor#installation instructions


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#37 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ASvmsz516mk_2_6d_CSmephejwe2uOq6ks5qNaQ3gaJpZM4I5O0u
.

Evangelos Liandrakis

@matejkramny
Copy link
Member

I see, sorry.

You should either:

  1. configure your $PATH to include the folder you downloaded cachet-monitor to
  2. move the binary to /usr/bin/cachet-monitor

Then it will be found.

Hope this helps!

@apssupport
Copy link
Author

Definitely appreciate you helping me out with this (probably something so simple) yet I am not getting it to work. Followed your advice above and it is still saying the same.

screen shot 2016-06-19 at 4 39 29 pm

@apssupport
Copy link
Author

Hi ticket #26 helped with installing cachet-monitor. The go get -d github.com/castawaylabs/cachet-monitor was the missing link to getting it installed.

@apssupport
Copy link
Author

Still getting the command not found error. Below is the output of $PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/go/bin:/go/bin:/go/bin/:/usr/local/go/bin

Cachet-monitor was installed after following ticket #26 and it was automatically placed in its own directory

/go/src/github.com/castawaylabs/cachet-monitor

Created the config /etc/cachet-monitor.config.json and no matter what and how I run it, I get command not found.

@matejkramny
Copy link
Member

Cachet-monitor is not go installable.

Follow this:

  1. curl -L <download-link> > /usr/local/bin/cachet-monitor
  2. cachet-monitor -c ....

@apssupport
Copy link
Author

That was it! Thank you so much, especially for helping out on a Sunday!

@matejkramny
Copy link
Member

No worries. Its not a Sunday for me ;)

@apssupport
Copy link
Author

Well, have a great new week then. Thank you again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants