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

    Mailreport useful command lines

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 285 Views 2 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.
    • chudakC Offline
      chudak
      last edited by chudak

      Wonder if these is a place where Mailreport useful command lines can be found or somebody wants to share here ?

      Thx

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN Offline
        NogBadTheBad
        last edited by

        Snort alerts from yesterday:-

        grep ^date -v-1d +"%D" /var/log/snort/snort_igb0.2*/alert ; echo

        Interface stats via a shell script:-

        /root/scripts/vnstat-daily

        #!/bin/csh
        foreach int ( igb0.2 igb0.3 igb0.4 igb0.5 igb0.6 igb0.7 igb0.9 igb0.11 enc0 pppoe0 )
        echo
        /usr/local/bin/vnstat -i $int -h
        echo
        end

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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