1
0
mirror of https://github.com/limosek/zaf-plugins.git synced 2025-11-01 18:17:37 +01:00

process-info reworked

This commit is contained in:
Lukas Macura
2016-03-24 17:27:02 +01:00
parent 32cb8c651e
commit 9fdf433a6d
2 changed files with 19 additions and 4 deletions

View File

@@ -1,16 +1,23 @@
Plugin: process-info
Plugin which will make deeper look to processess and their usage.
Maintainer: Lukas Macura <lukas@macura.cz>
Item: cpu[*]
This item will return cpu usage of given process. In zabbix, it will be prefixed automaticaly by plugin name (processlist.cpu)
Item-cmd-cpu[*]: {PLUGINDIR}/cpu-get.sh
Item-cmd-cpu[*]: {ZAFLIB} {PLUGINDIR}/cpu-get.sh
Item: discovery
Discovery of runing processes
Item-cmd-discovery: {PLUGINDIR}/cpu-get.sh
Item-cmd-discovery: {ZAFLIB} {PLUGINDIR}/proc-discovery.sh
Binary-Depends: echo ps awk sort uniq sed
Binary-depends: echo ps awk sort uniq sed
Dpkg-depends: sed
Opkg-depends: busybox
Install-bin: cpu-get.sh proc-discovery.sh