The following charts.d plugins are supported:
The plugin will monitor one or more mysql servers
It will produce the following charts:
- Bandwidth in kbps
- in
- out
- Queries in queries/sec
- queries
- questions
- slow queries
- Operations in operations/sec
- opened tables
- flush
- commit
- delete
- prepare
- read first
- read key
- read next
- read prev
- read random
- read random next
- rollback
- save point
- update
- write
- Table Locks in locks/sec
- immediate
- waited
- Select Issues in issues/sec
- full join
- full range join
- range
- range check
- scan
- Sort Issues in issues/sec
- merge passes
- range
- scan
You can configure many database servers, like this:
You can provide, per server, the following:
- a name, anything you like, but keep it short
- the mysql command to connect to the server
- the mysql command line options to be used for connecting to the server
Here is an example for 2 servers:
mysql_opts[server1]="-h server1.example.com"
mysql_opts[server2]="-h server2.example.com --connect_timeout 2"
The above will use the mysql
command found in the system path.
You can also provide a custom mysql command per server, like this:
mysql_cmds[server2]="/opt/mysql/bin/mysql"
The above sets the mysql command only for server2. server1 will use the system default.
If no configuration is given, the plugin will attempt to connect to mysql server at localhost.
The plugin will monitor a squid server.
It will produce 4 charts:
- Squid Client Bandwidth in kbps
- in
- out
- hits
- Squid Client Requests in requests/sec
- requests
- hits
- errors
- Squid Server Bandwidth in kbps
- in
- out
- Squid Server Requests in requests/sec
- requests
- errors
The plugin will by itself detect squid servers running on localhost, on ports 3128 or 8080.
It will attempt to download URLs in the form:
cache_object://HOST:PORT/counters
/squid-internal-mgr/counters
If any succeeds, it will use this.
If you need to configure it by hand, create the file
/etc/netdata/squid.conf
with the following variables:
squid_host=IP
the IP of the squid hostsquid_port=PORT
the port the squid is listeningsquid_url="URL"
the URL with the statistics to be fetched from squidsquid_timeout=SECONDS
how much time we should wait for squid to respondsquid_update_every=SECONDS
the frequency of the data collection
Example /etc/netdata/squid.conf
:
squid_host=127.0.0.1
squid_port=3128
squid_url="cache_object://127.0.0.1:3128/counters"
squid_timeout=2
squid_update_every=5
The plugin will provide charts for all configured system sensors
This plugin is reading sensors directly from the kernel. The
lm-sensors
package is able to perform calculations on the kernel provided values, this plugin will not perform. So, the values graphed, are the raw hardware values of the sensors.
The plugin will create netdata charts for:
- Temperature
- Voltage
- Current
- Power
- Fans Speed
- Energy
- Humidity
One chart for every sensor chip found and each of the above will be created.
This is the internal default for /etc/netdata/sensors.conf
# the directory the kernel keeps sensor data
sensors_sys_dir="${NETDATA_HOST_PREFIX}/sys/devices"
# how deep in the tree to check for sensor data
sensors_sys_depth=10
# if set to 1, the script will overwrite internal
# script functions with code generated ones
# leave to 1, is faster
sensors_source_update=1
# how frequently to collect sensor data
# the default is to collect it at every iteration of charts.d
sensors_update_every=
The plugin will collect the postfix queue size.
It will create two charts:
- queue size in emails
- queue size in KB
This is the internal default for /etc/netdata/postfix.conf
# the postqueue command
# if empty, it will use the one found in the system path
postfix_postqueue=
# how frequently to collect queue size
postfix_update_every=15
The plugin will collect UPS data for all UPSes configured in the system.
The following charts will be created:
- UPS Charge
- percentage changed
- UPS Battery Voltage
- current voltage
- high voltage
- low voltage
- nominal voltage
- UPS Input Voltage
- current voltage
- fault voltage
- nominal voltage
- UPS Input Current
- nominal current
- UPS Input Frequency
- current frequency
- nominal frequency
- UPS Output Voltage
- current voltage
- UPS Load
- current load
- UPS Temperature
- current temperature
This is the internal default for /etc/netdata/nut.conf
# a space separated list of UPS names
# if empty, the list returned by 'upsc -l' will be used
nut_ups=
# how frequently to collect UPS data
nut_update_every=2