039.sql: create a new table processes
	processes.inc.php: show all processes from given device including sort-options

Changed:
	unix-agent.inc.php: insert all processes reported by check_mk_agent
	device.inc.php: added tab with link to process-list
This commit is contained in:
f0o
2015-01-15 07:18:10 +00:00
parent 1581f70d64
commit 42de11884e
4 changed files with 114 additions and 4 deletions

1
sql-schema/039.sql Normal file
View File

@@ -0,0 +1 @@
CREATE TABLE IF NOT EXISTS `processes` ( `device_id` int(11) NOT NULL, `pid` int(255) NOT NULL, `vsz` int(255) NOT NULL, `rss` int(255) NOT NULL, `cputime` varchar(12) NOT NULL, `user` varchar(50) NOT NULL, `command` varchar(255) NOT NULL, KEY `device_id` (`device_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;