Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
AgentX是alinode团队开发的agent命令程序,用于协助alinode的性能数据上报和问题诊断。
$ npm install agentx -g
以上命令会将agentx安装为一个全局的命令行工具。
agentx需要一个配置文件来进行使用,agentx仅会在配置指定下的目录执行命令或读取日志。
该配置格式如下:
{
"server": "<SERVER IP>:8080",
"appid": "<YOUR APPID>",
"secret": "<YOUR SECRET>",
"cmddir": "</path/to/your/command/dir>",
"logdir": "</path/to/your/log/dir>",
"reconnectDelay": 10,
"heartbeatInterval": 60,
"reportInterval": 60,
"error_log": [
"</path/to/your/error.log>",
"您的应用在业务层面产生的异常日志的路径",
"例如:/root/.logs/error.#YYYY#-#MM#-#DD#-#HH#.log",
"可选"
],
"packages": [
"</path/to/your/package.json>",
"可以输入多个package.json的路径",
"可选"
]
}
配置中的#YYYY#、#MM#、#DD#、#HH#是通配符,如果您的异常日志是按时间生成的,请使用它。
保存为config.json
。上述不明确的地方请咨询旺旺群:1406236180。
完成配置后,请使用以下命令进行执行:
$ nohup agentx config.json &
agentx将以常驻进程的方式执行。部署完成后,请访问http://alinode.aliyun.com/dashboard查看您的应用详情。如果一切正常,稍等片刻(1分钟)即可收到你的应用性能数据。
The agentx is released under the MIT license.
FAQs
agentx is powered by alinode
The npm package agentx receives a total of 2,507 weekly downloads. As such, agentx popularity was classified as popular.
We found that agentx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.