Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.

Cpups_apps is a example plugin for netdata monitoring system

Notifications You must be signed in to change notification settings

abra7134/example-netdata-cpups-apps-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cpups_apps netdata plugin

Cpups_apps is a example plugin for netdata monitoring system.
It collects statistics of the processor usages as a percentage for the selected applications.
Realized on shell and intended for use with the netdata's charts.d module.

ATTENTION

As the mechanism of statistics collection through /proc filesystem is used, it is not possible to obtain completely reliable data for cases when controlled process finishes the operation. For tasks where accurate accounting of such scenarios is important it is necessary to use the pacct mechanism just as it's used by the atop utility.

Install

  • Install netdata
  • Copy cpupc_apps.chart.sh to ${NETDATA_INSTALL_PREFIX}/usr/libexec/netdata/charts.d/cpupc_apps.chart.sh
  • Copy cpupc_apps.conf to ${NETDATA_INSTALL_PREFIX}/etc/netdata/charts.d/cpupc_apps.conf
  • Edit the configuration (cpupc_apps.conf) by specifying the needed application for monitoring
  • Restart netdata

Example

Screenshot

TODO

  • Add get the cpu usage statistics through cgroup's cpuacct controller

About

Cpups_apps is a example plugin for netdata monitoring system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages