{"id":618,"date":"2014-10-24T10:00:20","date_gmt":"2014-10-24T08:00:20","guid":{"rendered":"http:\/\/dety.net.ua\/?p=618"},"modified":"2014-10-28T17:25:53","modified_gmt":"2014-10-28T15:25:53","slug":"pfsense-sarg-reports","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=618","title":{"rendered":"PFSense + Sarg reports"},"content":{"rendered":"<p>I met a strange behavior in PFSense Sarg module.<\/p>\n<p>Reports didn&#8217;t appear and sarg index.html didn&#8217;t generated.<\/p>\n<p>Work config for success report:<\/p>\n<p>Report Options \/usr\/pbi\/sarg-amd64\/etc\/sarg\/sarg.conf:<\/p>\n<p>user graphics<br \/>\nremove temporary files<br \/>\ngenerate the main index<br \/>\ngenerate the index tree<br \/>\noverwrite report<br \/>\nuse comma instead pint in reports<\/p>\n<p>report_type topusers topsites sites_users users_sites <strong>date_time<\/strong> denied auth_failures <strong>site_user_time_date<\/strong> downloads<\/p>\n<p>Sarg args for yesterday :\u00a0 -d `date -v-1d +%d\/%m\/%Y`<\/p>\n<p>Now it works.<\/p>\n<p>P.S.: after every click &#8220;Save&#8221; in Sarg&#8217;s panel it will be overwrite your direct editing and may don&#8217;t work again &#8211; check it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I met a strange behavior in PFSense Sarg module. Reports didn&#8217;t appear and sarg index.html didn&#8217;t generated. Work config for success report: Report Options \/usr\/pbi\/sarg-amd64\/etc\/sarg\/sarg.conf: user graphics remove temporary files generate the main index generate the index tree overwrite report use comma instead pint in reports report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6,13],"tags":[],"class_list":["post-618","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux","category-novosti"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=618"}],"version-history":[{"count":3,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/618\/revisions"}],"predecessor-version":[{"id":623,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/618\/revisions\/623"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}