Questions tagged [collectd]

collectd is a high definition,plugin based, performance and statistics monitor/collector for networks. It runs on linux and solaris systems.

83 questions
3
votes
2 answers

Bash convert character in variable

I am writing a collectd nagios custom check script in bash. The problem I am having is that nagios shows hostnames as host.name.domain but collectd holds WSP files as host_name_domain. My question is how can I make a variable convert the hostname…
cr0c
  • 1,116
  • 3
  • 15
  • 32
3
votes
3 answers

collectd:Monitoring server not showing clients

I have setup a monitoring server with the following setup. Listen "0.0.0.0" "25826" Now my clients are sending data to the monitoring server(verified through tcpdump). Even the collection folder shows that the data is…
Quintin Par
  • 4,293
  • 10
  • 46
  • 72
2
votes
2 answers

collectd network plugin (if_octets) download speed vs wget download speed

I set up collectd, InfluxDB and Grafana to monitor my servers. I observed that Grafana shows (based on collectd network plugin) higher download speeds than wget. I have stable 300 Mbps fiber connection. I chose Debian Stretch DVD as a testing…
kmwil
  • 225
  • 1
  • 2
  • 12
2
votes
2 answers

What do MBean parameters mean in collectd?

I'm using JMX to monitor an Apache Kafka cluster with collectd's GenericJMX plugin. However, I'm not sure what some of the MBean parameters mean. Particularly, I have one metric called kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec,…
Matheus Portela
  • 171
  • 1
  • 9
2
votes
1 answer

Wrong measurements being reported by JMX and collectd for Apache Kafka

I'm using JMX to gather metrics from Apache Kafka and send to Librato, a visualization and monitoring service, via collectd. The problem is that some metrics seems to be reporting wrongly. For instance, without anyone using the Kafka cluster, some…
Matheus Portela
  • 171
  • 1
  • 9
2
votes
2 answers

how to debug/troubleshoot collectd?

I have an issue with custom script using exec plugin. From shell the script works well and nothing useful in /var/log/collectd.log. LoadPlugin logfile LogLevel info File "/var/log/collectd.log" Timestamp…
Putnik
  • 2,095
  • 3
  • 23
  • 40
2
votes
1 answer

How reliable is /sys/class/net/eth0/statistics/rx_bytes for bandwidth statistics?

I found this script at https://github.com/Cosmologist/collectd-network-bandwidth-usage. Exec user "/tmp/exec-network-bandwidth-usage.sh" "eth0" It runs a bash script that checks /sys/class/net/eth0/statistics/rx_bytes…
ujjain
  • 3,963
  • 15
  • 50
  • 88
2
votes
1 answer

Collectd "interface" plugin reporting cumulative value rather than rate

Collectd's interface plugin is supposed to report octets per second and packets per second, as documented here: https://collectd.org/wiki/index.php/Plugin:Interface, but for me, it reports cumulative octets and packets (as ifconfig does). I know…
Ryan
  • 123
  • 4
2
votes
2 answers

Collectd write_graphite plugin - multiple/different prefixes?

I'm using collectd with the snmp and write_graphite plugins. I want certain metrics to go to Graphite with prefix A, and others to go with prefix B, to keep the data in Graphite/Whisper organized. For example, I would like to divide things up like…
digdoug
  • 21
  • 1
  • 2
2
votes
0 answers

What is the correct way to log PHP script's execution time and memory usage?

I want to monitor the execution time and memory usage for my web application running on Nginx + FPM. To that end, I am generating execution time and memory data in the page footer. I can also insert this into the FPM error log file, to be read later…
Rohit
  • 300
  • 1
  • 7
2
votes
1 answer

Is there a way to collect WMI or WBEM/CIM data with Collectd?

I've got an Ubuntu server running statsd, collectd and Graphite. I'm looking to collect data from Windows servers via WMI. I don't see an official plugin for WMI or WBEM/CIM on Collectd's web site. Is there a third party plugin available, or some…
bshacklett
  • 1,378
  • 4
  • 19
  • 37
2
votes
1 answer

Collectd and graphite imports data every 5 minutes, rather than 1 minute

I'm a bit new to graphite, so bear with me on this. I'm looking into alternatives for a large and fairly unwieldy cacti installation, so I've been playing with graphite. We pull a lot of data via SNMP, so I've also downloaded, compiled and installed…
growse
  • 7,830
  • 11
  • 72
  • 114
2
votes
2 answers

Collectd agent, Munin master

For monitoring and graphing of servers and services, I would like to make a setup where collectd is the agent, collecting the data on the server, and munin is on the monitoring server, collecting the data from the agents an process it. Reasons for…
blauwblaatje
  • 953
  • 1
  • 6
  • 19
2
votes
1 answer

How to make a POST request using the Collectd curl plugin?

How do I make a post request using the curl plugin? I see no option where I can specify the post data, or the type of request. Is it even possible with the plugin, or is there an alternative plugin I can use?
Dominique
1
vote
1 answer

Port is added to IP table but why not listening?

I have two centos Machine, Machine A and Machine B. In machine A i have installed collectd and influxdb. So, the system metric from machine A is pushed into influxdb using collectd. I have installed collectd in machine B. Now, I need to push the…