Commit Graph

25 Commits

Author SHA1 Message Date
Cameron Sparr 2e68d3cb3c Merge pull request #198 from mced/fix_mem_used_perc
[fix] mem_used_perc returns percentage of used mem
2015-09-15 15:24:48 -07:00
Cédric Menassa 4d6f11b61f [fix] mem_used_perc returns percentage of used mem 2015-09-15 12:58:51 +02:00
mced 6d6158ff08 [fix] mem_used_perc returns percentage of used mem
Closes #189
2015-09-14 12:18:31 -07:00
Cameron Sparr 11126cf4ae Add a server name tag to the RabbitMQ server list
Fixes #183
2015-09-11 16:46:49 -07:00
Ruslan Islamgaliev bd00f46d8b Fix docker stats to make it work on centos 7.
issue #58
issue #84
2015-09-11 16:26:08 -07:00
Cameron Sparr d8482cc286 darwin net plugin fix, really need to godep vendor gopsutil 2015-09-10 13:57:57 -06:00
subhachandrachandra 8d034f544c Fixed memory reporting for Linux systems
/proc/meminfo reports memory in KiloBytes and so needs a multiplier of 1024 instead of 1000.
The kernel reports in terms of pages and the proc filesystem is left shifting by 2 for 4KB pages to get KB. Since this is a binary shift, Bytes will need to shift by 10 and so get multiplied by 1024.

From the kernel code. PAGE_SHIFT = 12 for 4KB pages
"MemTotal:       %8lu kB\n", K(i.totalram)

Closes #131
2015-08-25 14:18:14 -06:00
subhachandrachandra ca1d2c7000 Fixed total memory reporting for Darwin systems. hw.memsize is reported as bytes instead of pages. 2015-08-25 14:16:18 -06:00
Cameron Sparr 03c7d564d9 Merge pull request #118 from srfraser/diskusage_windows_fix
Get disk usage stats working on windows
2015-08-18 15:58:13 -06:00
Simon Fraser 7273e2e6f2 Get disk usage stats working on windows 2015-08-18 21:31:33 +01:00
Cameron Sparr 04963f12a3 Allow a PerCPU configuration variable, issue #108 2015-08-13 13:30:11 -06:00
Simon Fraser d280b968d7 Ensure tests pass now that we're passing fstype around
go fmt checks

Rework the example configuration snippets
2015-08-10 19:20:49 -06:00
Simon Fraser 1d8c7a74d6 to filter by filesystem type, we need to pass that up the chain 2015-08-10 19:19:36 -06:00
Cameron Sparr 42a7203b1e Skip per-cpu unit test when in a circle ci container 2015-08-05 16:49:40 -06:00
Cameron Sparr 611ad26d1b go fmt fixes 2015-08-04 16:09:59 -06:00
Cameron Sparr 3ff2ea8d4e Creating circleci job to just lint and vet code 2015-08-04 11:22:26 -06:00
Evan Phoenix 1653330421 Tivan is dead, long live Telegraf. Fixes #3 2015-05-22 16:45:14 -07:00
Evan Phoenix 2820c0391e Fix all imports 2015-04-07 09:39:23 -07:00
Evan Phoenix 470ae6548e Report that docker isn't available better in psutils 2015-04-06 17:21:43 -07:00
Evan Phoenix da3aeca720 Fix a few more imports 2015-04-06 17:21:22 -07:00
Evan Phoenix 941c9acabf Fix a couple imports and a float comparison test 2015-04-06 16:22:34 -07:00
Evan Phoenix 07261e885f Fix docker stats 2015-04-06 16:02:58 -07:00
Evan Phoenix 71461e7a49 Disable gopsutil tests that don't work on darwin 2015-04-06 09:46:47 -07:00
Evan Phoenix d1cc82653a Switch plugin API to use an accumulator 2015-04-06 09:32:10 -07:00
Evan Phoenix 9c42aea28c Vendor psutils and remove neko 2015-04-03 17:22:31 -07:00