Unable to insert data into mongodb through python

For a project I am using Mongodb with python. When I tried to connect to the database and insert the data, I was able to get the id back from the insert command but when I checked the database...

How to configure collectd-snmp to poll a router?

I am trying to use a Raspberry Pi to poll the interface MIB (IF:MIB) of a TP-LINK router and then send the metrics to Librato. Setting up collectd and integrating it with Librato is no problem at...

Collectd multiple instances of write_graphite

Does collectd properly support multiple instances of write_graphite plugin? Collectd manpage seems to suggest this in an example:...

How to measure the CPU utilization of Each container in Mesos?

I have many apps running on containers in Mesos, managed via marathon. I have given CPU allocation for each app while deploying via marathon like 1, .5 etc. But the CPU allocation in marathon,...

Collectd - How to get version installed

I have installed collectd using sudo apt-get install collectd. Is there any command to get the current installed version of Collectd? I tried collectd -v. Apparently it does not work. I do not see...

Collectd with CSV output

I have installed Collectd on Linux Ubuntu and I added plugin for CSV output in collectd.conf file, I am getting 2 column values in the csv ,but as there is no column name specifically, could...

Stackdriver Monitoring floods collectd uc_update: Value too old in syslog

Let me preface this, by stating that I am not a DevOp, so my experience with Linux administration is limited. I basically followed this How-To...

How to collect data from a local sqlite database with collectd's DBI plugin

I'm trying to collect some stats from a calibre library which stores metadata in an sqlite database. I'm attempting to use collectd's dbi plugin but I can't figure out the right options to get it...

ksql - creating a stream from a json array

My kafka topic is pushing data in this format (coming from...

How would I graph cpu usage in grafana using Prometheus and the collectd exporter?

New to promql and I'm trying to graph cpu usage over time and I've found the following example getting a static percent of usage but how would I convert it to a rate for grafana? 100 * (1 -...

ipv4 https request not forwarded to docker container

I have an annoying problem with Docker and my ovh server (ubuntu xenial). I run a NGINX official docker image (15.x) on my server and I forward some port from my server to my docker image (to host...

How to aggregate/Sum multiple CPU cores to get one CPU metric in grafana?

Is there a way to aggregate across metrics/metric-names? For example, on a four core system, you have the following metric-names: cpu.0.system cpu.1.system cpu.2.system cpu.3.system I would like...

InfluxDB docker container disk usage

I have a docker container running InfluxDB v1.0 with volume mapping. On the host, the size is of 22G, whereas if I run du -sh /* on the container, it is exactly 5 times lower, 4.4G. Yesterday, I...

How to get the difference between current value and the previous value in the influx db

I am using collectd to push my system metric, influxdb as by database and grafana for visualization. I need to monitor the network metric Tx-is total number of packets transmitted. RX packets are...

AWS CloudWatch Agent not starting

I have an Ubuntu EC2 instance. I manually created the following basic CloudWatch Agent config file in: /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json { "metrics": { ...

Invalid json format, please check. Reason: invalid character 'a' looking for beginning of object key string

could you please assist me here? I have validated JSON but the issue appears.. also the strange thing is that when I create the JSON file with the wizard the issue does not appear. Thank you in...

Postgresql Monitoring using Grafana

I am very new in Grafana. We have setup grafana and now we want to monitor our postgresql DB using it. We have created the postgresql datasource and provide all the required detail of our psql DB...

Using tmpfs in MacOS

I am new to Docker and trying to run a container in Docker on my macOS so it doesn't run on persistent memory. On my Linux machine, I figured I can execute it this way: sudo docker run -dit --name...

Running CloudWatch Agent in my Docker image on AWS ECS fails

Understand for this question that I'm relatively new to Docker and AWS. The goal is to create a single AWS ECS instance that runs Apache and PHP with a basic Laravel application. I want to run a...

No such object (32) error while trying to modify olcDatabase={2}hdb.ldif

I have installed LDAP and I am able to start it. While I am trying to modify the olcDatabase={2}hdb.ldif file I am getting "ldap_modify: No such object (32)" error. Steps followed to...

GCP stackdriver-agent installed on VM send strange logs every minute

please can you help me with the following issue. I have a backend service on node.js I deployed it on GCE VM. It's working fine, but after installing logging and monitoring agent I see very...

Logging custom metrics using AWS Cloudwatch Agent and Python

We send up custom metrics to AWS using Python (see existing code below) and separately use the AWS CloudWatch Agent to send up metrics for our EC2 machine. However, we'd like to stop sending the...

Adding custom jmx metrics to google cloud monitoring collectd configuration

I've added the JVM Monitoring plugin as described here That's all working great and I can, but now I'd like to add more JMX metrics. e.g. MemoryPool specific counters So I've added this config to...

Creating ECS Cluster with CloudFormation ERROR

I am trying to create a CF template that builds an ECS cluster with two EC2 instances and the SSM agent installed and running. However, I am getting the following error, "Failed to receive 1...

GenericJMXConfMBean: No MBean matched the ObjectName kafka.network:type=RequestMetrics,name=RequestsPerSec,request=Produce

I am working on a project where I am trying to collect the apache Kakfa request rate metric using the mbean metric...

How do I install php-curl in CentOS 8?

How do I quickly install php-curl on CentOS 8? It doesn't seem to be available in the base software repository, or even Not available at EPEL either. Update: [[email protected] ~]# dnf repolist ...

Unable to calculate the ratio of two metrics in Prometheus

I am collecting ZFS metrics in Prometheus v.2.19 from Linux servers using ZFS Exporter. The data is being collected from all targets and the values are correct, however there is this strange...

adding a custom plugin to google-fluentd

I need to capture file descriptors for a given process. This is simular to what collectd's processes plugin does, but need to get this on the fluentd, google-fluentd specifically rails. I've added...

Get sum of two Metrics

Get sum of metrics Hello there, I am currently working on a little project for my company. And now I am facing a problem where I have to get the sum of two metrics. Currently I 4 metrics 2 of them...

Yocto bitbake build error when adding fftw package

I am using Yocto Warrior release to build linux for Dart-imx8m SOM. Documentation can be found here : https://variwiki.com/index.php?title=DART-MX8M_Yocto&release=RELEASE_WARRIOR_V1.1_DART-MX8M. I...