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

    Lightsquid reports via email

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 2.2k 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.
    • D Offline
      Delmir
      last edited by

      How do we set up lightsquid reports to be sent via email?

      My first idea was to use "mailreport" to run an script, or the result of a script.

      Another way to ask this question is… how can the output of ....

      "https://pfsense/lightsquid/day_detail.cgi?year=2014&month=05&day=28"

      be automated from the command line?

      Or... is there already something else that can send squid email reports?

      Thanks,

      Del

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        I've seen it done with mailreports before.

        You can use "/usr/bin/fetch -o - https://[…]" to include the contents of the page in the report, though I seem to remember that having a formatting issue of some sort.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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