Prometheus 監視
git clone [email protected]:Grawlily/NodeMonitor.git
cd NodeMonitor
chmod +x setup-monitor.sh
./setup-monitor.sh
- Using ufw command
ufw allow 9100
- Using iptables with OCI
sudo vim /etc/iptables/rules.v4
# Add
-A INPUT -p tcp -m state --state NEW -m tcp --dport 9100 -j ACCEPT
sudo /sbin/iptables-restore < /etc/iptables/rules.v4