ezservermonitor-sh
ezservermonitor-sh copied to clipboard
Errors with Debian on WSL2
Hello,
with Debian default installation on WSL2, last boot info is missing (module System), a wget error is returned (showed in Memory but related to Network) and we get also and we have device name error (module Network)
System
...
Uptime 0 day(s), 0 hours(s), 10 minute(s)
Last boot
Memory
RAM 6179 Mb free of 6250 Mb
./eZServerMonitor.sh: line 258: wget: command not found
Network
IP LAN (lo) 127.0.0.1
IP LAN (bond0)
IP LAN (dummy0)
Device "sit0@NONE" does not exist.
IP LAN (sit0@NONE)
IP LAN (eth0) xxx.xxx.xxx.xxx
IP WAN
I may propose some adaptation if needed (ongoing test localy)
Kind regards, bwolfbarn
Hello, Thank you for the information.
-
For the "last boot", I don't have a solution with WSL2. The
who
command returns nothing... -
I don't have the error. Please install
wget
on your distribution. -
I corrected the error! You can download the new file from this repo.
Thank you again for your feedback.
Regards,
Hello Shevabam,
Thanks for the quick reaction.
- Indeed, who return nothing. May be shoud the last boot time be calculated from time since start. What do you think about ?
- Indeed, wget is needed to collect external IP. May be should we have a message when not installed (like we have for temperature related applications)
- Thank you. I will test it (suppose you limited to active port) Have a nice day. Kind regards,
Hello,
- I will think how to do it, for the moment I do not know!
- It's fixed, I improved the detection of curl and wget
Thanks again!