Alexis Letessier
0028abc077
megacli: prevent crash when drive temperature is N/A
...
Intel SSD do not report their temperature in MegaCLI output
Drive Temperature : N/A
9 years ago
Jari Takkala
21ce0cbda9
Add support for stats from /proc/net/snmp as well.
9 years ago
Siavash Safi
8c4a5b0f65
stats: Fix formatting.
9 years ago
Siavash Safi
dddb273dfc
Fix some error messages.
9 years ago
Siavash Safi
93708f3dda
devstat: Fix metric types, disable free metrics.
9 years ago
Siavash Safi
f8ede82488
cpu: Fix build constraints.
9 years ago
Siavash Safi
9e66d4f2ae
meminfo: Code cleanup.
9 years ago
Siavash Safi
d303a2ebc3
loadavg: Fix build constraints.
9 years ago
Siavash Safi
d80b2af492
loadavg: Split the collector for linux and other platforms.
9 years ago
Siavash Safi
720198e047
netdev: Code cleanup.
9 years ago
Siavash Safi
78bf63ffd8
filesystem: Code cleanup.
9 years ago
Siavash Safi
462b708742
cpu: Code cleanup.
9 years ago
Siavash Safi
f93125ba10
loadavg: Remove unnecessary global variable.
9 years ago
Siavash Safi
ccbea34465
filesystem: Remove unused const variable.
9 years ago
Siavash Safi
71abff14b1
devstat: Fix wrong labels for 'other' metrics.
9 years ago
Siavash Safi
c5669f0a1a
Add devstat collector for FreeBSD.
9 years ago
Siavash Safi
f7563fe7a2
Remove config from collectors.
9 years ago
Siavash Safi
1ebda4c0aa
Remove linux build contraint from meminfo test source code.
9 years ago
Siavash Safi
9b6843db60
netdev: use counters instead of gauges.
9 years ago
Siavash Safi
c651d7ccd9
meminfo: use bytes, fix type conversion bug.
9 years ago
Siavash Safi
a10ab2c102
Check caller's euid and egid when accessing /dev/mem on FreeBSD.
9 years ago
Siavash Safi
6ef3b7a4e8
Add filesystem collector for FreeBSD.
9 years ago
Siavash Safi
13d5f969a5
Removed freebsd build constraints from source code.
9 years ago
Siavash Safi
ae5aea0191
Add netdev collector for FreeBSD.
9 years ago
Siavash Safi
66e0171159
Rename linux collectors for build constraints.
9 years ago
Siavash Safi
d7ec7eac1f
Revert "Add build constraint for linux collectors."
9 years ago
Siavash Safi
4c5db2787e
Add meminfo collector for FreeBSD.
9 years ago
Siavash Safi
ad73b87d1e
Add build constraint for linux collectors.
9 years ago
Siavash Safi
23bb9c44b9
Add cpu collector for FreeBSD.
9 years ago
Siavash Safi
f9fa6d05cf
loadavg: Use getloadavg() from stdlib.h
9 years ago
Ian Hansen
64affe205b
Allows netdev devices to be ignored
9 years ago
Will Rouesnel
676ed5c6ac
Change "filesystem" to "mountpoint" to better reflect the new labels.
10 years ago
William Rouesnel
b22d2e9739
Add device,fsType collection to the filesystem exporter.
...
Collects more information for labelling scraped filesystems with the device
and fsType. This is useful for setting alerts which should change based on
filesystem type, or for filtering out shared mounts such as with NFS volumes.
10 years ago
Julius Volz
e65bc868fc
Switch logging from glog to github.com/prometheus/log.
10 years ago
Julius Volz
9f046cd88e
Run gofmt.
10 years ago
Johannes 'fish' Ziemke
665b05eedc
Use flags instead of config and remove attributes
10 years ago
Julius Volz
072ddabf62
Fix /proc/net/dev column parsing.
...
This fixes https://github.com/prometheus/node_exporter/issues/73
10 years ago
Matthias Rampke
2ee8470004
remove cgo dependency
...
by hardcoding `USER_HZ` (aka. `_SC_CLK_TCK`) to 100, which it is for all
platforms Go supports. See prometheus/node_exporter#52 for discussion around this too.
Closes prometheus/node_exporter#52 .
10 years ago
Matthias Rampke
37c7e5e60f
Add IPVS stats collector.
...
This collector exposes IPVS status from `/proc/net/ip_vs` and stats from
`/proc/net/ip_vs_stats`.
Note that it is _not_ tested with IPv6, YMMV.
10 years ago
KOJIMA Kazunori
e4da771b21
Add collector for /proc/net/tcp
10 years ago
Benjamin Staffin
df7ba0af85
Switch protobuf import to its new github URL
10 years ago
Julius Volz
efcce45c90
Make collector-specific flags consistent with others.
...
This puts all collector-specific flags into their own namespace under
"collector.<collector-name>", and moves from camel case to dashes, which
is the standard in Prometheus land now.
10 years ago
Stephen Shirley
54da76f575
Match fd0, not fda0
...
Add fd/sr/vda examples to test input
10 years ago
Stephen Shirley
686a0c768c
Fix typo, match fd0, not fdd0
10 years ago
Stephen Shirley
72404d9ed1
Ignore floppy disk devices, due to it being 2015
10 years ago
Stephen Shirley
0c7d45cc5d
Also ignore vda1 and friends
10 years ago
Daniel Speichert
1763908013
Fixed panic when parsing /proc/stat on 2.6.32-25-pve
...
Fixes issue described in #38
/proc/stat reports a blank line which needs to be ignored.
Old kernels misses one CPU time field, this needs to be ignored too.
10 years ago
Brian Brazil
352cde6d20
Add text file exporter
...
This allows static metrics (e.g. an attributes collector replacement),
and cronjobs to expose stats by echoing into a file.
For example:
echo "my_metric 123" > mycronjob.prom.$$
mv mycronjob.prom.$$ mycronjob.prom
10 years ago
Tobias Schmidt
0aacec2335
Fix ganglia namespace
...
Remove double underscore usage.
10 years ago
Tobias Schmidt
74971c46ba
Consolidate build flags
...
The build of any collector can be deactivated by using "no<name>".
10 years ago