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

    Get PPPoE Connection time via CLI

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 186 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.
    • O Offline
      Overlord
      last edited by

      Hey guys

      Is there a way to get the PPPoE connection time (the established connectin) somewhere via CLI? I would like write a script for CheckMK, but can't find that information.

      Greetz
      Ovrld

      GertjanG D 2 Replies Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @Overlord
        last edited by

        @Overlord

        Everything is always in the logs ^^
        Go here /var/log/ and look which log file is used to write out the progress, thus connection time, of the pppoe link.
        can't tell you which one, as I haven't used pppoe for years now.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • D Offline
          darcey @Overlord
          last edited by

          @Overlord
          I think ppp-uptime.sh pppoe0 should give you that.

          GertjanG 1 Reply Last reply Reply Quote 2
          • GertjanG Offline
            Gertjan @darcey
            last edited by

            @darcey

            Cool !

            [24.03-RELEASE][root@pfSense.bhf.tld]/root: ppp-uptime.sh ovpns1
            93693
            

            uptime of my OpenVPN server ...

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

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