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

Add commands to verify monitoring agents are active #2150

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions modules/scripts/startup-script/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,16 @@ sudo bash add-logging-agent-repo.sh --also-install
sudo service stackdriver-agent start
```

You can test if one of the agents is running using the following commands:
tpdownes marked this conversation as resolved.
Show resolved Hide resolved

```bash
# For Cloud Ops Agent
sudo systemctl status google-cloud-ops-agent

# For Stackdriver Agent
sudo service stackdriver-agent status
```

### Example

```yaml
Expand Down
Loading