• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.1k 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
    Delmir
    last edited by May 29, 2014, 12:16 PM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jun 3, 2014, 2:29 PM

      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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received