Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
fluent-plugin-monitor-agent-detail
Advanced tools
Fluentd plugin to monitor executing Fluentd plugins based in_monitor_agent plugin.
This plugin outputs below additional informations compared with in_monitor_agent.
fluentd | ruby |
---|---|
>= v0.14.0 | >= 2.1 |
<source>
@type monitor_agent_detail
bind 0.0.0.0
port 24220
</source>
This configuration launches HTTP server with 24220 port and get metrics like below:
$ curl http://host:24220/api/plugins.json
Available parameters except @type are same as in_monitor_agent.
Show output example with following configuration:
<source>
@type monitor_agent_detail
bind 0.0.0.0
port 24220
</source>
<source>
@type forward
port 24224
</source>
<match **>
@type forward
@id forward_to_aggregation
require_ack_response true
<buffer tag>
@type file
path "/var/log/td-agent/buffer/forward_to_aggregation.*.log"
flush_mode interval
total_limit_size 10m
flush_interval 1.0
flush_thread_burst_interval 0.1
flush_thread_count 1
retry_forever true
retry_max_interval 30s
</buffer>
<server>
name aggregation_process01
host 127.0.0.1
port 24321
</server>
<server>
name aggregation_process02
host 127.0.0.1
port 24322
</server>
</match>
{
"plugins": [
{
"plugin_id": "object:3fc716c6ea54",
"plugin_category": "input",
"type": "monitor_agent_detail",
"config": {
"@type": "monitor_agent_detail",
"bind": "0.0.0.0",
"port": "24220"
},
"output_plugin": false,
"retry_count": null
},
{
"plugin_id": "object:3fc717453d14",
"plugin_category": "input",
"type": "forward",
"config": {
"@type": "forward",
"port": "24224"
},
"output_plugin": false,
"retry_count": null
},
{
"plugin_id": "forward_to_aggregation",
"plugin_category": "output",
"type": "forward",
"config": {
"@type": "forward",
"require_ack_response": "true"
},
"output_plugin": true,
"buffer_queue_length": 1,
"buffer_total_queued_size": 3643,
"buffer_total_queued_ratio": 0.0003,
"retry_count": 0,
"retry": {}
}
]
}
{
"plugins": [
{
"plugin_id": "object:3fc716c6ea54",
"plugin_category": "input",
"type": "monitor_agent_detail",
"config": {
"@type": "monitor_agent_detail",
"bind": "0.0.0.0",
"port": "24220"
},
"output_plugin": false,
"retry_count": null
},
{
"plugin_id": "object:3fc717453d14",
"plugin_category": "input",
"type": "forward",
"config": {
"@type": "forward",
"port": "24224"
},
"output_plugin": false,
"retry_count": null
},
{
"plugin_id": "forward_to_aggregation",
"plugin_category": "output",
"type": "forward",
"config": {
"@type": "forward",
"require_ack_response": "true"
},
"output_plugin": true,
"buffer_queue_length": 1204,
"buffer_total_queued_size": 7836254,
"buffer_total_queued_ratio": 0.7473,
"retry_count": 976,
"retry": {
"start": "2018-05-23 09:45:56 +0900",
"steps": 975,
"next_time": "2018-05-23 12:11:14 +0900"
}
}
]
}
FAQs
Unknown package
We found that fluent-plugin-monitor-agent-detail demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.