Feature Requests
Share ideas, discuss and vote on requests from other users in community
 
This object is in archive! 

terminated client bandwidth useage

Denver Prophit Jr. shared this idea 6 years ago
Under Consideration

I haven't quite wrapped my head around a shell script that will check terminated accounts that still have our nameservers and the query denied entries just pile up. One client had over 98k line entries in a month! resulting in a file output size of over 354 Megs.

I would like to collaborate to run something after checking status terminated to get the domain and check /var/log/messages every 7 days with:

  1. grep -i query /var/log/messages.4 | grep denied | grep -in "$domain" > /somewhere/$domain.txt or other means to prove the activity occured and bill for it.