Comments on: A Shell Script to Monitor Network, Diske, Uptime, Load, and RAM in Linux https://www.tecmint.com/linux-server-health-monitoring-script/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Mon, 22 Apr 2024 14:16:29 +0000 hourly 1 By: Name https://www.tecmint.com/linux-server-health-monitoring-script/comment-page-1/#comment-2161457 Mon, 22 Apr 2024 14:16:29 +0000 http://www.tecmint.com/?p=13258#comment-2161457 In reply to Ravi Saive.

Be very careful when using dot notation combined with delete. The command itself can remove anything, even if you are located in a different directory than you might expect, especially when operating as the root user.

]]>
By: Ravi Saive https://www.tecmint.com/linux-server-health-monitoring-script/comment-page-1/#comment-2156487 Mon, 08 Apr 2024 05:07:09 +0000 http://www.tecmint.com/?p=13258#comment-2156487 In reply to Sven.

@Sven,

To include checking IPv6 address alongside IPv4, you can modify the script as follows:

# Check Internal IPv4 and IPv6
internalip=$(hostname -I)
echo -e '\E[32m'"Internal IPv4 :" $tecreset $(echo $internalip | awk '{print $1}')
echo -e '\E[32m'"Internal IPv6 :" $tecreset $(echo $internalip | awk '{print $2}')

# Check External IPv4 and IPv6
externalip=$(curl -s ifconfig.me)
echo -e '\E[32m'"External IPv4 : $tecreset "$(echo $externalip | awk '{print $1}')
echo -e '\E[32m'"External IPv6 : $tecreset "$(echo $externalip | awk '{print $2}')
]]>
By: Sven https://www.tecmint.com/linux-server-health-monitoring-script/comment-page-1/#comment-2155500 Fri, 05 Apr 2024 09:50:18 +0000 http://www.tecmint.com/?p=13258#comment-2155500 Great script, but it shows only one external IP. I have ipv4 and ipv6. I see only ipv6.

]]>
By: nova https://www.tecmint.com/linux-server-health-monitoring-script/comment-page-1/#comment-1691799 Wed, 29 Dec 2021 11:51:37 +0000 http://www.tecmint.com/?p=13258#comment-1691799 Thank you so much, tecmint group. The script is great and working…

]]>
By: Nova Nova https://www.tecmint.com/linux-server-health-monitoring-script/comment-page-1/#comment-1691779 Wed, 29 Dec 2021 10:20:16 +0000 http://www.tecmint.com/?p=13258#comment-1691779 Good day, sir, I have copied the GitHub link to download the script, but I received an error message, the page was not found.

]]>