summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin
AgeCommit message (Collapse)Author
2019-12-17proc_pressure: increment fail_count on read fail (#7547)Haochen Tong
2019-12-03Health: Proposed restructuring of health documentation (#7329)Joel Hans
* Squashed commits for PR * Addressing comments from Chris and Thiago * Changed sidebar title * Fixes for Vlad
2019-12-02proc.plugin: add pressure stall information (#7209)Haochen Tong
* proc.plugin: add pressure stall information * dashboard_info: add "Pressure" section * proc.plugin: mention PSI collector in doc * dashboard_info: fix grammar in PSI section * proc_pressure: fix wrong line name for "full" metrics * proc_pressure: fix copypasta * proc_pressure: refactor to prepare for cgroup changes * cgroups.plugin: add pressure monitoring * add proc_pressure.h to targets * Makefile.am: fix indentation * cgroups.plugin: remove a useless comment * cgroups.plugin: fix pressure config name * proc.plugin: arrange pressure charts under corresponding sections * dashboard_info: rearrange pressure chart descriptions * dashboard_info: reword PSI descriptions
2019-11-18- Retrieve current affinity of the process and make sure not to (#7318)Stelios Fragkakis
* - Retrieve current affinity of the process and make sure not to start an idle thread (wake_cpu_thread) if the core is not in the allowed cpu set. * - Use pthread_getaffinity_np to match wake_cpu_thread that uses pthread_setaffinity_np - Add error check + error logging
2019-11-11Makefile.am files indentation (#7252)Konstantinos Natsakis
* Use 4 spaces for indentation of non-recipe lines in Makefile.am files * Be more consistent in the use of space before = in Makefile.am files
2019-10-30Disable pagetypeinfo by default (#7230)Vladimir Kobal
2019-10-25coverity_350131: Fix sizeof on callocz (#7187)thiagoftsm
The original plugin was allocating memory with wrong size, this commit fixes this
2019-10-21[collector/proc.plugin] Add /proc/pagetypeinfo parser (#6843)Adrien Mahieux
* [proc.plugin/proc_pagetypeinfo] Initial commit * [Fix] Generate graphs for pagetypeinfo * [Fix] Create node/zone/type graphs * [Fix] Use directly size and order * [Add] Configuration handling * [Imp] Changed SetId to identify NodeNumber * [Fix] Standard name for chart priority and value * [Fix] use dynamic pagesize * [Enh] allow prefix for containerized netdata * [Fix] global system graph always on, but for explicit no * [Fix] Add more checks for pageorders_cnt and really use it * [Enh] Special config value of netdata_zero_metrics_enabled * [Fix] Check we parsed at least a valid line
2019-10-07Fix resource leak (#7007)Vladimir Kobal
2019-09-20Fix some errors reported by Coverity (#6797)thiagoftsm
* coverity_20190905: Fix reported bugs This commit has fixes for some bugs reported by Coverity in the present day * coverity_20190905: Fix missing report FIx a missing report of error * coverity_20190905: Pipe close The previous fix had an error that wolud allow a socket continue opened, this commit fixes this * coverity_20190905: Error pattern The call of perror would generate a different error report, instead I am using strerror() to keep pattern * coverity_20190905: Error function Rewrite the call to error function * coverity_20190905: Fix missing tests The previous fix did not have correct tests after to clean the variables * coverity_20190905: Fix readable I changed for an else instead a new if, it is more clean this way * coverity_20190905: remove unecessary test This commit is removing an unecessary test for a variable that will never be NULL. * coverity_20190905: Add neccessary NULLL After to clean the variable, I am setting NULL to variable to avoid clean again * coverity_20190905: Remove false error The condition added to fix Coverity was generating false positives, so we are changing to debug * coverity_20190905: Remove false error The condition added to fix Coverity was generating false positives, so we are changing to debug * coverity_20190905: Bring else to avoid error Bring an else to solve the problem to read a FD not opened * coverity_20190905: Return After to analyse the last changes, I decided to return, because they were not necessary * coverity_20190905: Remove NULL Remove unecessary set of variable to NULL
2019-08-29Display uptime for processes (#6654)Vladimir Kobal
* Get process uptime * Calculate target uptime * Update charts * Show collected data * Fix chart names * Update the documentation * Fix a flag value * Add an explanation note for the 'carried over uptime' chart * Move the functions for getting uptime to libnetdata * Rename the function for geting uptime * Remove redundant code * Fix starttime calculation * More accurate definition for the carried over uptime * fix group starttime calculation * Fix typo
2019-08-15Fix Markdown Lint warnings (#6664)Promise Akpan
* make remark access all directories * detailed fix after autofix by remark lint * cross check autofix for this set of files * crosscheck more files * crosschecking and small fixes * crosscheck autofixed md files
2019-08-13 Change "netdata" to "Netdata" in all docs (#6621)Joel Hans
* First pass of changing netdata to Netdata * Second pass of netdata -> Netdata * Starting work on netdata with no whitespace after * Pass for netdata with no whitespace at the end * Pass for netdata with no whitespace at the front
2019-08-12(re-open) ZRAM info collector module (proc.plugin) (#6424)Vilkov Adel
* ZRAM collector module ZRAM: Implemented zram device id detection ZRAM: Implemented zram device enumeration WIP ZRAM: Memory usage graph (needs other graphs) ZRAM: Added ratio and efficiency graph ZRAM: Added chart description and context names, code formatting * ZRAM: Proper handling of zram device removal * ZRAM: Added additional checks, removed redundant logging
2019-07-12Add global configuration option for zero metrics (#6419)Vladimir Kobal
* Add global configuration option for zero metrics * Add the option to the cgroup plugin * Add the option to the proc plugin (diskstats, meminfo, net_dev, netstat, sctp_snmp, snmp, snmp6, sockstat, sockstat6, synproxy, vmstat, system_edac_mc, system_node, btrfs, ksm, zfs) * Add the option to the macos plugin * Add the option to the freebsd plugin (devstat, getifaddrs, getmntinfo, sysctl) * Change the option behaviour with the 'auto' value * Add the option to the tc plugin * Update the documentation
2019-07-09Revert "Add ZRAM collector module to the proc plugin"Pavlos Emm. Katsoulakis
This reverts commit c7ab028f787f1c3f1325f6195ea0cb2afc95ab95. **Removed as it was seen to cause crashes. Change will be revised and re-published at a later stage**
2019-07-09Add ZRAM collector module to the proc pluginVilkov Adel
The module gets the ZRAM device list by reading /proc/devices, obtaining an device ID from it, then enumerating the devices in /dev filtering them by corresponding major device number it got from previous step. It takes the data from /sys/block/{name}/mm_stat.
2019-06-20Update the documentation on charts with zero metrics (#6314)Vladimir Kobal
2019-06-04Fix mdstat disks chart (#6164)Vladimir Kobal
* Fix mdstat disks chart * Fix ommited total
2019-04-03Add preferred disk id pattern (#5779)Vladimir Kobal
* Add simple pattern for preferred disk ids * Update the documentation * Fix typo * Preserve the customary naming * Fix typo
2019-03-13Fix memory leaks (#5604)Vladimir Kobal
2019-03-06Add IPC shared memory charts (#5522)Vladimir Kobal
2019-03-06Add zero minimum (#5395)Vladimir Kobal
2019-02-21Fix Coverity defects (#5394)Vladimir Kobal
* Fix Checked Return issue * Fix Unintended Integer Division issue
2019-02-20cpuidle handle newlines in names (#5425)Chris Akritidis
* Fix issue #5418 * Use trim to take out new line
2019-02-14Add documentation for network interfaces (#5381)Vladimir Kobal
* Add documentation for network interfaces * Minor fix * Format chart names * Add an example
2019-02-13Add support for tera-byte size for Linux bcache. (#4719) (#5373)Kamran Amini
2019-02-11Add message queue statistics (#5115)Vladimir Kobal
* Add IPC message queue charts * Add obsolete flag for dimensions * Delete obsolete dimensions from memory * Remove files for obsolete dimensions, filter requests * Make empty charts obsolete * Minimize obsolete dimension checks * Limit the number of dimensions in memory * Remove obsolete dimensions on netdata exit * Update documentation * Move flag to the end * Fix typo * Fix typo
2019-01-24Don't show zero charts for ZFS filesystem (#5211)Vladimir Kobal
* Check if any pools exist * Don't show zero charts
2019-01-11Fix cached memory calculation (#5151)Vladimir Kobal
2018-12-28Fix cpuidle statistics in containers (#5065)Vladimir Kobal
2018-12-28Disable cpuidle module if schedstat file is missing (#5059)Vladimir Kobal
2018-12-28Fix coverity issues (#5061)Vladimir Kobal
2018-12-17Make units compliant with IEC standard (#4985)Vladimir Kobal
* Change GB to GiB * Change MB to MiB in apps.plugin * Change MB to MiB in cgroups.plugin * Change MB to MiB in freebsd.plugin and macos.plugin * Change MB to MiB in proc.plugin * Change KB to KiB * Change kB to KiB for divisor 1024 * Fix units for memory.failcnt * Fix other units * Change CPU time percentage * Change kilobytes to KiB in apps.plugin * Small fixes
2018-12-14Fix crash in mdstat module (#4992)Vladimir Kobal
2018-12-13Add support for nonredundant arrays (#4923)Vladimir Kobal
* Add support for nonredundant arrays * Change charts representation and add an alarm * Minor cleanup for chart priorities * Add configuration options * Make charts obsolete when raid diappears * Fix small bugs, add config option for making charts obsolete * Fix mdstat parsing
2018-12-13Move power supply python module to proc plugin (#4960)Vladimir Kobal
* Add power supply module * Use linked list * Add charts for all properties * Organize charts menu * Fix line endings * Keep files open * Add options for chart disabling * Final cleanup * Add documentation, disable python module * Fix file attributes * Mark python module as obsolete * Allow symbolic links to power source directories
2018-12-12Fix file permissions (#4974)Vladimir Kobal
2018-12-12Fix mdstat parsing (#4977)Vladimir Kobal
2018-12-08Temporary workaround for #4945 (#4951)Chris Akritidis
Comment out the error line that is flooding the log until a proper fix is provided
2018-12-07Ga (#4938)Chris Akritidis
* Added GA tags to markdowns * Add GA tags to mds
2018-12-05Move mdstat python module to proc plugin (#4768)Vladimir Kobal
* Add mdstat health chart * Add disks configuration charts * Add operation data collection * Add operation charts * Fix data types * Add mismatch_cnt charts * Handle raid renaming properly, major cleanup * Add modification time checks for mismatch_cnt files * Disable python module, minor cleanup * Add mdstat section to the proc plugin documentation * Remove modification time checks * Fix update conditions * Move mismatch_cnt config option * Minor documentation fix
2018-12-04Move cpuidle python module to proc plugin (#4635)Vladimir Kobal
* Add cpuidle charts * Add cpuidle states * Minor cleanup * Add wake cpu threads * Minor fixes, disable python plugin * Fix memory leaks * Separate config option for keeping cpuidle files open * Close cpuidle name files after rescan
2018-11-30Improve SYNPROXY documentation (#4800)Chris Akritidis
Add a bit more explanation on the prerequisites for SYNPROXY, based on @ktsaou instructions in #4782
2018-11-22Add CPU section to proc plugin documentation (#4704)Vladimir Kobal
2018-11-15Move cpufreq python module to proc plugin (#4562)Vladimir Kobal
* Add time_in_state file to processing * Add time_in_state calculation logic and TODOs * Add time_in_state calculation and switching * Final cleanup * Add info messages * Remove excessive array * Rename chart and disable python module
2018-11-14properly parse network interface names with colon on them (#4653)Costa Tsaousis
2018-11-13Replace Anti-DDoS demo site in proc plugin README (#4647)Chris Akritidis
New demo site: https://registry.my-netdata.io/#menu_netfilter_submenu_synproxy
2018-11-12Htmldoc (#4607)Chris Akritidis
* First html documentation debug set * Test 2 * Relative path changed * Updated comments * Cleanup, installation draft added * fixes * test * test * test * First html documentation debug set * Test 2 * Relative path changed * Updated comments * Cleanup, installation draft added * fixes * test * test * test * First set of major cleanup/deduplication * 2nd major cleanup * update getting started structure * Cleanup in using netdata * Final cleanup/deduplication * Added initial CONTRIBUTING.md, updated some info related to contributing on the orchestrators * Removed Why-Netdata (included in new README in master), added link to CONTRIBUTING.md * First html documentation debug set * Updated Makefile.am to ignore the new md and htmldoc generation files * Removing files from rebase * First html documentation debug set * Test 2 * Relative path changed * Updated comments * Cleanup, installation draft added * fixes * test * test * test * First html documentation debug set * Test 2 * Relative path changed * Updated comments * Cleanup, installation draft added * test * test * First set of major cleanup/deduplication * 2nd major cleanup * update getting started structure * Cleanup in using netdata * Final cleanup/deduplication * Added initial CONTRIBUTING.md, updated some info related to contributing on the orchestrators * Removed Why-Netdata (included in new README in master), added link to CONTRIBUTING.md * First html documentation debug set * Updated Makefile.am to ignore the new md and htmldoc generation files * Removing files from rebase * Fixed Makefile.am * Same line header and badges * Fixed broken link * CPU monitoring is in apps plugin * Removed obsolete files * Remove obsolete files * - Make the Health API part of health/README.md new file web/api/health/README.md - Make installer/LAUNCH.md part of deamon/README.md - Move installer/MAINTAINERS.md to packaging/maintainers/README.md - Move installer/DOCKER.md to docker/README.md - Move system/README.md to daemon/config/README.md - Move web/CUSTOM-DASHBOARDS.md to web/gui/custom/README.md - Move web/CONFLUENCE-DASHBOARDS.md to web/gui/confluence/README.md * Resolve codacy issue $(..) syntax instead of `..` * Fix following warnings and add svgs to the data_structures/README.md - CHANGELOG.md - CODE_OF_CONDUCT.md - CONTRIBUTORS.md - REDISTRIBUTED.md - diagrams/data_structures/README.md - docker/README.md WARNING - Documentation file 'README.md' contains a link to 'collectors/plugins.d' which does not exist in the documentation directory. WARNING - Documentation file 'README.md' contains a link to 'collectors/statsd.plugin' which does not exist in the documentation directory. WARNING - Documentation file 'CONTRIBUTING.md' contains a link to 'web/CUSTOM-DASHBOARDS.md' which does not exist in the documentation directory. WARNING - Documentation file 'CONTRIBUTING.md' contains a link to 'web/CONFLUENCE-DASHBOARDS.md' which does not exist in the documentation directory. * Wrong urls in data_structures/README.md svgs * Fix svg URLs number 2 * Modify the first line of the main README.md, to enable proper static html generation. Executed after copying the file to htmldoc/src * Added back Why Netdata * Fixed link to registry in Why-Netdata.md * Added Why-Netdata to buildyaml and to Makefile.am * Replaced http links causing mixed content warnings * Made buildhtml ignore the directory node_modules created by Netlify * Corrected CONTRIBUTING.MD to CONTRIBUTING.md
2018-11-10fixed conntrack_max alarm (#4595)Costa Tsaousis