Questions tagged [google-cloud-ops-agent]
41 questions
0
votes
1 answer
Google Cloud Platform: VM Monitoring agent installation failing
I tried installing the monitoring agent multiple times using both Google Cloud Console & Command Line. None of the approach worked.
My OS Version:
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Installation Logs:
curl…

Pritesh Mhatre
- 3,847
- 2
- 23
- 27
0
votes
1 answer
creating receivers for logs and pipeline for new receivers
In Google Cloud Ops Agent, an example of MySQL config.yaml is given as:
logging:
receivers:
mysql_error:
type: mysql_error
mysql_general:
type: mysql_general
mysql_slow:
type: mysql_slow
service:
pipelines:
…

metacogni
- 23
- 1
- 7
0
votes
1 answer
How to include config files for the Google Ops-agent
I want to do some configurations for Google Cloud Ops-Agent in order to deploy it via Ansible.
For example /etc/google-cloud-ops-agent/kafka.yaml
How to include *.yaml configs?
If using /etc/google-cloud-ops-agent/config.yaml I'm worried then the…

mmn
- 1
- 1
0
votes
1 answer
How to get messages with line break google-cloud-ops-agent to recognize it with a single message
I am trying to configure google-cloud-ops-agent to collect log records from an application.
I have the configuration pretty advanced, but I have problems when the log message contains more than one line, for example:
11:18:18,396 INFO …

Jordan Párraga
- 1
- 3
0
votes
1 answer
How to use a wildcard in Google Cloud Ops Agent configuration file
I am using a custom configuration file for the Ops Agent to send logs from a specified path to Cloud Logging (GCP). When I am inserting the full path of a file (i.e. - C:/nginx-1.20.2/logs/access.log), I am able to successfully send the logs to…

TechEnth
- 79
- 3
- 12
0
votes
1 answer
Google Cloud Ops Agent too many errors
On one of my server in GCP something wrong with google-cloud-ops-agent. Fluent Bit that agent uses for logs writes too many errors logs. For three days it had 88 GB, and before we already cleaned. I can’t recognize what exactly logs mean. Can…

Anton Makarov
- 1
- 1
0
votes
0 answers
Some charts stopped working in instance group monitoring after installing Ops Agent in Google Cloud
I have installed the new Ops Agent in a fleet of servers that are part of a managed instance group.
Since I did the update, some graphs stopped working in the "Monitoring" tab of the instance group.
Here's the screens
As you can see at 11:35am the…

Trak
- 677
- 1
- 5
- 7
0
votes
1 answer
Ops Agent does not install in ubuntu 18.04 gcloud VM instance
I am currently trying to install the ops agent on some ubuntu 18.04 gcloud VM instance I am creating with a bash script, based off the gcloud guide accessible here. The script goes as following:
echo "Installing components for agent policies"
…

Rafael
- 1
- 1
0
votes
0 answers
Set the service account for GCP ops agent fluentbit
I have installed the GCP ops agent into some machines which are in production, to get its metrics and be able to create alerts. They don't have any service account assigned and cannot be changed because they are in production (and some of them…

Daniel Carrasco
- 11
- 1
- 4
0
votes
1 answer
getting logs from a file with Ops Agent
I have a python script on a vm that writes logs to a file and I want to use them in the google logging.
I tried this config yaml:
logging:
receivers:
syslog:
type: files
include_paths:
- /var/log/messages
-…

nivsk98
- 23
- 7
-2
votes
1 answer
using TF to install ops-agent fails
so using tf this command is generated..
gcloud beta compute instances ops-agents policies create ops-agents-policy-centos-7 --agent-rules=enable-autoupgrade=true,package-state=installed,type=ops-agent,version=current-major --group-labels=jvr=jvr…

jvanryn
- 294
- 1
- 3
- 11