
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
pm2-notifier
Advanced tools
pm2 install pm2-notifier
Option | Type | Required | Default |
---|---|---|---|
events | string[] | no | ['log:err', 'process:exception', 'process:event'] |
polling | number | no | 10000 (ms) |
max_polling_time | number | no | 60000 (ms) |
dingtalk | object | no | |
- access_token | string | yes | |
- secret | string | yes | |
- at_mobiles | string[] | no | |
- at_all | boolean | no | false |
- enable | boolean | no | true |
feishu | object | no | |
- access_token | string | yes | |
- enable | boolean | no | true |
Add environment variables in your ecosystem
file, here is an example write in yaml
format.
apps:
- script: ./main.js
name: app
env_notifier:
events:
- log:err
- process:event
dingtalk:
access_token: # your dingtalk access token
secret: # your dingtalk secret
at_all: true
feishu:
access_token: # your feishu access token
enable: false # disable feishu notification
Now, start your processes with pm2 start ecosystem.config.yml
.
Copyright (c) 2020, Acathur
FAQs
PM2 notifier. Sending notifications via DingTalk or Feishu.
We found that pm2-notifier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.