XBCreepinJesus / MMM-ServerStatus

A module for MagicMirror² to check the up/down status of servers/devices on your network.
19 stars 2 forks source link

Stuck on "Awaiting pings" #5

Open ebowcock opened 3 years ago

ebowcock commented 3 years ago

I have a fresh install of the module using a raspberry pi for my magic mirror. I've made some modifications off of an example in an older issue, but the module's status just shows "Awaiting pings..."

Config is below. I even tried "npm install ping" just to make sure that wasn't a missing dependency.

            {
            module: "MMM-ServerStatus",
            position: "bottom_left",
            header: "HOME STATUS",
            config: {
                    hosts: [
                            { name: "Internet", ip: "1.1.1.1" },
                            { name: "USG", ip: "10.1.3.1" }
                    ],
            pingInterval: 10,
            upSymbol: "toggle-on",
            upColor: "green",
            downSymbol: "toggle-off",
            downColor: "red"
                    }
            },

If I run a netstat to see if the pings are being sent, I don't see any connections: sudo netstat -nputw | grep 1.1.1.1

Kevin11Price commented 1 year ago

Have the same issue. Have updated all the MM modules on Pi, reinstalled latest OS, "External" activities, like weather api and news feed all work ok. Same @ebowcock can see ICMP just nothing displayed other than awaiting pings.. the npm install ping displayed some problems, but npm audit fix --force seems to have resolved. Can anyone point me in the right direction please?

zheinrich1 commented 3 months ago

works for me, just installed. Didn't start working until I restarted the MagicMirror though. That's what brought me here.