########################################################## # Configuration file for innreport (3.*). # # Sample file for INN. # Tested with INN 2.3, 2.1, 1.7.2 and 1.5.1. # # (c) 1997, 1998, 1999 by Fabien Tassin # version 3.0.2 ########################################################## # Default parameters (ここでは各サイト固有の設定をします) }; ########################################################################### # Index page section index { column { title "Dates"; value "date"; }; column { title "In & Out feeds Traffic"; name "in-traffic|in-traffic(bytes)|out-traffic|out-traffic(bytes)"; value "bytes(total(%inn_flow_size))|total(%inn_flow_size)| bytes(total(%innfeed_accepted_size) + total(%innfeed_rejected_size) + total(%innxmit_bytes) + total(%innxmit_accepted_size) + total(%innxmit_rejected_size))| total(%innfeed_accepted_size) + total(%innfeed_rejected_size) + total(%innxmit_bytes) + total(%innxmit_accepted_size) + total(%innxmit_rejected_size)"; }; graph { title "In & Out feeds Traffic"; value "val1"; color "#FFFFCE"; unit "bytes"; data { name "incomming-traffic"; color "#50A0D0"; value "val3"; }; data { name "outgoing-traffic"; color "#0000FF"; value "val5"; }; }; }; ########################################################################### # Report section innd_connect { title "Incoming Feeds (INN):"; data "%innd_seconds"; sort "$innd_accepted{$b} <=> $innd_accepted{$a}"; numbering true; column { name "Server"; format_name "%-21.21s"; format "%-24.24s"; value "$key"; format_total "TOTAL: %-17.17s"; total "$num"; }; column { name "Connects"; format_name "%5s"; format "%5d"; value "$innd_connect{$key}"; total "total(%innd_connect)"; }; column { name "Offered"; format_name "%8s"; format "%8d"; value "$innd_offered{$key}"; total "total(%innd_offered)"; }; column { name "Taken"; format_name "%7s"; format "%7d"; value "$innd_accepted{$key}"; total "total(%innd_accepted)"; }; column { name "Refused"; format_name "%7s"; format "%7d"; value "$innd_refused{$key}"; total "total(%innd_refused)"; }; column { name "Reject"; format_name "%7s"; format "%7d"; value "$innd_rejected{$key}"; total "total(%innd_rejected)"; }; column { name "%Accpt"; format_name "%6s"; format "%4d%%"; value "$innd_offered{$key} == 0 ? 0 : $innd_accepted{$key} / $innd_offered{$key} * 100"; total "total(%innd_offered) == 0 ? 0 : total(%innd_accepted) / total(%innd_offered) * 100"; }; column { name "Elapsed"; format_name "%8s"; format "%9s"; value "time($innd_seconds{$key})"; total "time(total(%innd_seconds))"; }; graph { title "Articles received by server"; type histo3d; sort "%innd_accepted"; data { name "Articles accepted"; color "#0000FF"; value "%innd_accepted"; }; data { name "Articles refused"; color "#FFAF00"; value "%innd_refused"; }; data { name "Articles rejected"; color "#FF0000"; value "%innd_rejected"; }; }; }; section inn_flow { title "Incoming articles:"; data "%inn_flow"; sort "&DateCompare"; column { name "Date"; format "%-27.27s"; value "$key"; format_total "TOTAL: %-20.20s"; total "time(total(%inn_flow_time))"; }; column { name "Articles"; format_name "%8s"; value "$inn_flow{$key}"; format "%8d"; total "total(%inn_flow)"; }; column { name "%Arts"; format_name "%8s"; value "$inn_flow{$key} / $inn_flow_total * 100"; format "%7.1f%%"; total "100"; }; column { name "Art/sec"; format_name "%7s"; value "$inn_flow{$key} / $inn_flow_time{$key}"; format "%7.2f"; total "total(%inn_flow) / total(%inn_flow_time)"; }; column { name "Size"; value "bytes($inn_flow_size{$key})"; format "%9s"; total "bytes(total(%inn_flow_size))"; }; column { name "%Size"; format_name "%7s"; value "$inn_flow_size{$key} / total(%inn_flow_size) * 100"; format "%6.1f%%"; total "100"; }; column { name "KB/sec"; format_name "%7s"; value "$inn_flow_size{$key} / $inn_flow_time{$key} / 1024"; format "%7.2f"; total "total(%inn_flow_size) / total(%inn_flow_time) / 1024"; }; graph { title "Incoming articles"; type histo; data { name "Hours"; value "%inn_flow_labels"; }; data { name "Art/sec"; factor 3600; value "%inn_flow"; }; }; graph { title "Incoming articles (size)"; type histo; data { name "Hours"; value "%inn_flow_labels"; }; data { name "Kb/sec"; factor 3686400; # 3600 * 1024 value "%inn_flow_size"; }; }; }; section innxmit_connect { title "Outgoing Feeds (innxmit) by Articles:"; data "%innxmit_times"; sort "$innxmit_accepted{$b} <=> $innxmit_accepted{$a}"; numbering true; column { name "Server"; format "%-27.27s"; value "$key"; format_total "TOTAL: %-20.20s"; total "$num"; }; column { name "Offered"; format_name "%7s"; format "%7d"; value "$innxmit_offered{$key}"; total "total(%innxmit_offered)"; }; column { name "Taken"; format_name "%7s"; format "%7d"; value "$innxmit_accepted{$key}"; total "total(%innxmit_accepted)"; }; column { name "Refused"; format_name "%7s"; format "%7d"; value "$innxmit_refused{$key}"; total "total(%innxmit_refused)"; }; column { name "Reject"; format_name "%7s"; format "%7d"; value "$innxmit_rejected{$key}"; total "total(%innxmit_rejected)"; }; column { name "Miss"; format_name "%5s"; format "%5d"; value "$innxmit_missing{$key}"; total "total(%innxmit_rejected)"; }; column { name "%Acc"; format_name "%4s"; format "%3d%%"; value "$innxmit_offered{$key} == 0 ? 0 : $innxmit_accepted{$key} / $innxmit_offered{$key} * 100"; total "total(%innxmit_offered) == 0 ? 0 : total(%innxmit_accepted) / total(%innxmit_offered) * 100"; }; column { name "Elapsed"; format "%8s"; value "time($innxmit_times{$key})"; total "time(total(%innxmit_times))"; }; graph { title "Outgoing Feeds (innxmit)"; type histo3d; sort "%innxmit_accepted"; data { name "Art. accepted"; color "#0000FF"; value "%innxmit_accepted"; }; data { name "Art. refused"; color "#FFAF00"; value "%innxmit_refused"; }; data { name "Art. rejected"; color "#FF0000"; value "%innxmit_rejected"; }; data { name "Art. missing"; color "#00FF00"; value "%innxmit_missing"; }; }; }; section innxmit_volume { title "Outgoing Feeds (innxmit) by Volume:"; data "%innxmit_accepted_size"; sort "$innxmit_accepted_size{$b} <=> $innxmit_accepted_size{$a}"; numbering true; column { name "Server"; format "%-24.24s"; value "$key"; format_total "TOTAL: %-17.17s"; total "$num"; }; column { name "AcceptVol"; format "%9s"; value "bytes($innxmit_accepted_size{$key})"; total "bytes(total(%innxmit_accepted_size))"; }; column { name "RejectVol"; format "%9s"; value "bytes($innxmit_rejected_size{$key})"; total "bytes(total(%innxmit_rejected_size))"; }; column { name "TotalVol"; format "%9s"; value "bytes($innxmit_accepted_size{$key} + $innxmit_rejected_size{$key} + $innxmit_bytes{$key})"; total "bytes(total(%innxmit_accepted_size) + total(%innxmit_rejected_size) + total(%innxmit_bytes))"; }; column { name "KB/s"; format_name "%5s"; format "%5.1f"; value "($innxmit_accepted_size{$key} + $innxmit_rejected_size{$key} + $innxmit_bytes{$key}) / $innxmit_times{$key} / 1024"; total "(total(%innxmit_accepted_size) + total(%innxmit_rejected_size) + total(%innxmit_bytes)) / total(%innxmit_times) / 1024"; }; column { name "Vol/Art"; format "%9s"; value "bytes(($innxmit_accepted_size{$key} + $innxmit_rejected_size{$key} + $innxmit_bytes{$key}) / ($innxmit_accepted{$key} + $innxmit_rejected{$key}))"; total "bytes((total(%innxmit_accepted_size) + total(%innxmit_rejected_size) + total(%innxmit_bytes)) / (total(%innxmit_accepted) + total(%innxmit_rejected)))"; }; column { name "Elapsed"; format "%8s"; value "time($innxmit_times{$key})"; total "time(total(%innxmit_times))"; }; graph { title "Outgoing Feeds (innxmit)"; type histo3d; sort "%innxmit_accepted"; data { name "Articles accepted"; color "#0000FF"; value "%innxmit_accepted_size"; }; data { name "Articles rejected"; color "#FFAF00"; value "%innxmit_rejected_size"; }; data { name "Total"; color "#FF0000"; value "%innxmit_missing"; }; }; }; section nnrpd_no_permission { title "NNRP no permission clients:"; data "%nnrpd_no_permission"; sort "$nnrpd_no_permission{$b} <=> $nnrpd_no_permission{$a}"; column { name "System"; format "%-71.71s"; value "$key"; format_total "TOTAL: %-64.64s"; total "$num"; }; column { name "Conn"; format_name "%7s"; format "%7d"; value "$nnrpd_no_permission{$key}"; total "total(%nnrpd_no_permission)"; }; };