ਉਬੰਟੂ 'ਤੇ ਥਰਮਲ ਮਾਨੀਟਰਿੰਗ ਲਈ ਮੁਨਿਨ ਸੈੱਟ ਅੱਪ ਕਰਨਾ
ਸਰਵਰ 'ਤੇ:
sudo apt -y install munin apache2 libapache2-mod-fcgid
/etc/munin/munin.conf ਵਿੱਚ ਹੇਠ ਲਿਖੀਆਂ ਸੈਟਿੰਗਾਂ ਚਾਲੂ ਕਰੋ:
graph_strategy cgi
html_strategy cgi
/etc/munin/apache24.conf ਵਿੱਚ ਹੇਠ ਲਿਖੀਆਂ ਸੈਟਿੰਗਾਂ ਚਾਲੂ ਕਰੋ:
# Alias /munin /var/cache/munin/www
ScriptAlias /munin /usr/lib/munin/cgi/munin-cgi-html
ਫਿਰ ਇਹ ਚਲਾਓ:
sudo a2enconf munin
sudo systemctl reload apache2
ਅੱਗੇ, ਆਪਣੇ ਕਲਾਈਂਟਾਂ 'ਤੇ munin-node ਚਾਲੂ ਕਰੋ:
chroot /storage/spins/u20-x86/
apt -y update
apt -y upgrade
apt -y install munin-node
/etc/munin/munin-node.conf ਵਿੱਚ ਹੇਠ ਲਿਖੀਆਂ ਸੈਟਿੰਗਾਂ ਸ਼ਾਮਲ ਕਰੋ:
allow ^192\.168\.11\.1$
ਆਖਰਕਾਰ, ਆਪਣੇ ਸਾਰੇ ਨੋਡ munin.conf ਵਿੱਚ ਸ਼ਾਮਲ ਕਰੋ:
sudo su -
cd /etc/munin
for d in `seq 10 250` ; do echo -e "[$d.localdomain]\n address 192.168.11.$d\n use_node_name yes\n"; done >> munin.conf