ਮੇਨ (Munin) ਨੂੰ ਊਬੰਟੂ (Ubuntu) 'ਤੇ ਥਰਮਲ ਨਿਗਰਾਨੀ ਲਈ ਸੈੱਟ ਕਰਨਾ

ਸਰਵਰ 'ਤੇ:

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

ਹੁਣ ਆਪਣੇ ਕਲਾਇੰਟਸ (clients) 'ਤੇ 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 ਵਿੱਚ ਆਪਣੇ ਸਾਰੇ ਨੋਡ (nodes) ਸ਼ਾਮਲ ਕਰੋ:

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

ਸਬੰਧਤ ਉਤਪਾਦ