ఉబుంటు పై థర్మల్ మానిటరింగ్ కోసం మునిన్ సెటప్ చేయడం
సర్వర్ పై:
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