Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Not pfSense related.. but i hopefully someone can help

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    6 Posts 4 Posters 3.0k Views
    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.
    • L
      luke240778
      last edited by

      Hey, so from the shell, does anyone know if its possible and hoe i can create a script that i can run which will ping all my client antenna IP's for a set amount of time, and output the results for each IP to a text file that i can check out later?

      so for example i want it to run: ping -c 1000 192.168.10.100  and do this for each IP address that is in the script, and output its findings to a txt file.

      I am having issues with clients (who are all connected via antenna) having slowness problems with web browsing, but i cant see this problem when i check out their connection.  SO i was hoping maybe this to be a good way to say run this for a long amount of time, various times throughout the day to see whats happening.

      Looking forward to your responses.

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        I think the best way to monitor your link is using nagios or zabix.

        Logging ping is just the first step on monitoring.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • L
          luke240778
          last edited by

          Thanks for that.. i'll take a look at those. Have never heard of either so will see how it goes.

          What i would love is somehow having a way of testing the bandwidth of one of my clients links, for example i allocate them a connection of 2mb/1mb and they complain about speed, i would like to be able to check their connection, similar to going to a speedtest site from their computer, but doing this from my server.  Something that tellls me that their antenna is receiving 2mb/1mb or if not, then what are they receiving.

          I don't know if this is possible?

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            Hey,

            you can write a script which does the ping for you and wrote the results to a file. the shedule the scripte you can use cron (pfsense package) and start the package - lets say every 12h or so.

            But please don't ask me to write this script for you - I can not.

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              Iperf is very usefull to test bandwidth, take a look on it.

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • GruensFroeschliG
                GruensFroeschli
                last edited by

                You could add the IPs you want to monitor as gateways under "routing". (even though these probably arent actual gateways).
                Under RRD-graphs quality you can now see how the delay to these configured pseudo-gateways behaves over time.

                We do what we must, because we can.

                Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.