Skip to content

Simple top input plugin - #134

Open
akvlad wants to merge 2 commits into
sipcapture:nextfrom
akvlad:top_input_plugin
Open

Simple top input plugin#134
akvlad wants to merge 2 commits into
sipcapture:nextfrom
akvlad:top_input_plugin

Conversation

@akvlad

@akvlad akvlad commented Jul 23, 2022

Copy link
Copy Markdown
Contributor

Scrape top output (RAM & CPU) and send it to qryn

input {
  top {
    ps => ["node index.js (how process command is displayed in ps aux)", "another command" ],
    pids => [1234, 456, <program PID> ... ]
    pidfiles => ["/tmp/proc1.pid", "/tmp/proc2.pid"]
  }
}

output {
  stdout{}
}

The plugin produces message consumable by output_loki or any other compatible.

@CLAassistant

CLAassistant commented Jul 23, 2022

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants