node_exporter/collector
Derek Marcotte 2678d68dcc Fix for #945, cpu temperature is signed. (#965)
* Fix for #945, cpu temperature is signed.

Added a type conversion to cpu temperature sysctl.  Will still
collect/report -1 when the value is -1, this is because it should be up
to interpretation whether this is the correct value for the system or
not.

Some drivers will report -1 for cpu temperature.  Other sensors will
report "an input into the fan control algorithm", i.e. not the actual
temperature, but how much fan it wants.  Some people cool their machines
with liquid nitrogen.

Signed-off-by: Derek Marcotte <554b8425@razorfever.net>
2018-06-07 15:01:25 +02:00
..
fixtures Adding support for evaluating octal characters in mountpoint (#954) 2018-06-06 16:49:19 +02:00
arp_linux.go
bcache_linux.go Fix spelling mistakes found by codespell 2018-04-09 18:27:17 +02:00
bonding_linux.go Enable bonding collector by default. (#872) 2018-03-29 15:18:12 +01:00
bonding_linux_test.go
boot_time_bsd.go collector: implement node_boot_time_seconds for OpenBSD/NetBSD/Darwin 2018-04-15 08:26:46 +00:00
buddyinfo.go Fix remaining metric naming issues (#799) 2018-02-12 18:53:31 +01:00
collector.go Remove unused func, var, and const (#928) 2018-04-29 14:35:43 +02:00
conntrack_linux.go
cpu_common.go Fix some golint issues (#927) 2018-04-29 14:34:47 +02:00
cpu_darwin.go Fix some golint issues (#927) 2018-04-29 14:34:47 +02:00
cpu_dragonfly.go Fix some golint issues (#927) 2018-04-29 14:34:47 +02:00
cpu_dragonfly_test.go
cpu_freebsd.go Fix for #945, cpu temperature is signed. (#965) 2018-06-07 15:01:25 +02:00
cpu_linux.go Remove unused func, var, and const (#928) 2018-04-29 14:35:43 +02:00
cpu_openbsd.go Fix some golint issues (#927) 2018-04-29 14:34:47 +02:00
devstat_dragonfly.go
devstat_freebsd.c
devstat_freebsd.go
devstat_freebsd.h
diskstats_darwin.go Align Darwin disk stat names with Linux (#930) 2018-05-02 11:32:55 +02:00
diskstats_linux.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
diskstats_linux_test.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
drbd_linux.go
edac_linux.go
entropy_linux.go
exec_bsd.go collector: implement node_boot_time_seconds for OpenBSD/NetBSD/Darwin 2018-04-15 08:26:46 +00:00
filefd_linux.go
filefd_linux_test.go
filesystem_bsd.go
filesystem_common.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
filesystem_freebsd.go Fix memory corruption when number of filesystems > 16 (#900) 2018-04-16 12:39:15 +02:00
filesystem_linux.go Adding support for evaluating octal characters in mountpoint (#954) 2018-06-06 16:49:19 +02:00
filesystem_linux_test.go Adding support for evaluating octal characters in mountpoint (#954) 2018-06-06 16:49:19 +02:00
helper.go
hwmon_linux.go
infiniband_linux.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
infiniband_linux_test.go
interrupts_common.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
interrupts_linux.go Use lowercase cpu label name in interrupts (#849) 2018-03-08 15:04:49 +01:00
interrupts_linux_test.go
interrupts_openbsd.go Use lowercase cpu label name in interrupts (#849) 2018-03-08 15:04:49 +01:00
ipvs_linux.go
ipvs_linux_test.go
ksmd_linux.go
kvm_bsd.c Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547) 2018-01-04 12:23:26 +01:00
kvm_bsd.go Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547) 2018-01-04 12:23:26 +01:00
kvm_bsd.h Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547) 2018-01-04 12:23:26 +01:00
loadavg.go
loadavg_freebsd.go
loadavg_linux.go
loadavg_linux_test.go
loadavg_solaris.go
loadavg_unix.go
logind_linux.go
logind_linux_test.go
mdadm_linux.go
mdadm_linux_test.go
meminfo.go Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547) 2018-01-04 12:23:26 +01:00
meminfo_darwin.go
meminfo_linux.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
meminfo_linux_test.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
meminfo_numa_linux.go
meminfo_numa_linux_test.go
meminfo_openbsd.go Use swpginuse instead of swpgonly in meminfo_openbsd (#813) 2018-02-16 11:34:41 +01:00
memory_bsd.go Move FreeBSD/DragonflyBSD out of meminfo add kvm. (#547) 2018-01-04 12:23:26 +01:00
mountstats_linux.go
netdev_bsd.go
netdev_bsd_test.go
netdev_common.go
netdev_darwin.go
netdev_linux.go Fix /proc/net/dev/ interface name handling 2018-04-18 12:53:59 +02:00
netdev_linux_test.go Fix /proc/net/dev/ interface name handling 2018-04-18 12:53:59 +02:00
netdev_openbsd.go
netstat_linux.go Greatly trim what netstat collector exposes by default (#876) 2018-03-30 19:28:08 +01:00
netstat_linux_test.go
nfs_linux.go Cleanup NFS metrics (#834) 2018-02-21 07:25:41 +01:00
nfsd_linux.go Cleanup NFS metrics (#834) 2018-02-21 07:25:41 +01:00
ntp.go
paths.go
paths_test.go
processes_linux.go Add processes exporter (#950) 2018-06-05 19:38:32 +02:00
processes_linux_test.go Add processes exporter (#950) 2018-06-05 19:38:32 +02:00
qdisc_linux.go Fix some golint issues (#927) 2018-04-29 14:34:47 +02:00
runit.go
sockstat_linux.go
sockstat_linux_test.go
stat_linux.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
supervisord.go Fix spelling mistakes found by codespell 2018-04-09 18:27:17 +02:00
sysctl_bsd.go collector: implement node_boot_time_seconds for OpenBSD/NetBSD/Darwin 2018-04-15 08:26:46 +00:00
systemd_linux.go Only use one dbus connection, required some refactoring. 2018-01-31 15:19:18 +00:00
systemd_linux_test.go Fix tests. 2018-01-31 15:22:17 +00:00
tcpstat_linux.go
tcpstat_linux_test.go
textfile.go Remove unused func, var, and const (#928) 2018-04-29 14:35:43 +02:00
textfile_test.go Treat custom textfile metric timestamps as errors (#769) 2018-02-27 19:43:38 +01:00
time.go Add _seconds suffix to node_time. (#823) 2018-02-14 16:59:08 +00:00
timex.go Make metrics better follow guidelines (#787) 2018-01-17 17:55:55 +01:00
uname_linux.go
vmstat_linux.go Update fixtures 2018-03-29 22:00:02 +01:00
wifi_linux.go
xfs_linux.go
zfs.go updates for zfsonlinux 0.7.5 (#779) 2018-02-16 15:46:31 +01:00
zfs_linux.go updates for zfsonlinux 0.7.5 (#779) 2018-02-16 15:46:31 +01:00
zfs_linux_test.go updates for zfsonlinux 0.7.5 (#779) 2018-02-16 15:46:31 +01:00