MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    ServerStatus from IP list: up or down?

    Scheduled Pinned Locked Moved Requests
    15 Posts 4 Posters 9.7k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      Phate @KirAsh4
      last edited by

      @KirAsh4

      I figured that for some of the things I wanted to accomplish…

      Is there something you recommend thats basic and runs on the pi… that someone… not me lol… Might be able to integrate…

      1 Reply Last reply Reply Quote 0
      • KirAsh4K Offline
        KirAsh4 Moderator
        last edited by

        For my own network, I use Monitorix, however it only stores the localhost data. You can have it look at remote servers, but it won’t store that data. So you can look for other network tools that monitor all of your network devices. A lot of them do store the data that you can then get out of the database.

        The easiest really is to write a simple python script that runs a scan on a set interval and dump the data in a file. Then have MM read that file.

        A Life? Cool! Where can I download one of those from?

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          amanzimdwini @KirAsh4
          last edited by

          @KirAsh4
          Having the PI only display, but not query, makes architectural sense. And you are correct, there are other options for running programs that can dump results to be displayed. [I can actually think of a boatload of watchdog programs that I’d love to display in a command-like center off a little Pi sitting on my desk!]

          Do you have something for MM2 to display such results (either txt or xml files) that you particularly like? I looked at
          https://forum.magicmirror.builders/topic/268/mmm-httprequestdisplay
          but I am running into problems, and the Dev seems to be out of country.

          I don’t know JS & simply don’t have the time to learn it - but I can recognize that the PI MM2 is great for a command center. I could dump the result files onto a local dir from anywhere, and the PI would not have to struggle with domain authentication (I understand that is a problem).

          Thanks for yanking the discussion back to where it should be.

          1 Reply Last reply Reply Quote 0
          • KirAsh4K Offline
            KirAsh4 Moderator
            last edited by

            Personally, I use Monitorix on my network. It dumps data into RRD files. While I haven’t implemented a display on my mirror (because I have a different display elsewhere for that), one could use rrdtools to fetch the data and display it.

            A Life? Cool! Where can I download one of those from?

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              amanzimdwini @KirAsh4
              last edited by

              @KirAsh4
              Looks interesting. I guess I’ll have to ask someone how to use THAT for MM2. Let me look if I can use it at my work for other stuff: I spend my days monitoring & then having others fix things :)

              1 Reply Last reply Reply Quote 0
              • KirAsh4K Offline
                KirAsh4 Moderator
                last edited by

                Monitorix can be installed on an rpi, and it even has an rpi module already built-in for monitoring temperature.

                A Life? Cool! Where can I download one of those from?

                1 Reply Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer
                  last edited by

                  @amanzimdwini is this what you asked for in first place?

                  [card:fewieden/MMM-ping]

                  Please create a github issue if you need help, so I can keep track

                  A 2 Replies Last reply Reply Quote 0
                  • A Offline
                    amanzimdwini @strawberry 3.141
                    last edited by

                    @strawberry-3.141
                    Let me have a look. On first inspection, it looks perfect. I’ll let you know

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      amanzimdwini @strawberry 3.141
                      last edited by

                      @strawberry-3.141
                      Pls update your Readme to REPLACE module: 'MMM-ip" with ‘MMM-ping’ :)
                      Could not get the options

                                              colored: true,
                                              display: 'offline',
                      

                      0_1469660559867_MMMPingConfig.JPG
                      to work - display is still both and white only:
                      0_1469660603547_MMMPingResult.JPG
                      (how is the display order sorted?)

                      I also want to change the font size down - custom.css for me…
                      Thanks, though!

                      strawberry 3.141S 1 Reply Last reply Reply Quote 0
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer @amanzimdwini
                        last edited by

                        @amanzimdwini

                        config has to look like this

                        {
                            module: 'MMM-ping',
                            position: 'bottom_left',
                            config: {
                                hosts: ['www.github.com', '192.168.1.888'],
                                colored: true,
                                display: 'offline'
                            }
                        }
                        

                        the config options neet to be part of the config section

                        Please create a github issue if you need help, so I can keep track

                        A 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy