# Orca configuration file for orcallator files.
# Require at least this version of Orca.
require Orca 0.265
# base_dir is prepended to the paths find_files, html_dir, rrd_dir,
# and state_file only if the path does not match the regular
# expression ^\\?\.{0,2}/, which matches /, ./, ../, and \./.
base_dir @RRD_DIR@/orcallator
# rrd_dir specifies the location of the generated RRD data files. If
# rrd_dir is a relative path, then it is made relative to base_dir if
# base_dir is set.
rrd_dir .
# state_file specifies the location of the state file that remembers
# the modification time of each source data file. If state_file is a
# relative path, then it is made relative to base_dir is base_dir is
# set.
state_file orca.state
# html_dir specifies the top of the HTML tree created by Orca.
html_dir @HTML_DIR@/orcallator
# By default create .meta tag files for all PNGs or GIFs so that the
# web browser will automatically reload them.
expire_images 1
# Find files at the following times:
# 0:10 to pick up new orcallator files for the new day.
# 1:00 to pick up late comer orcallator files for the new day.
# 6:00 to pick up new files before the working day.
# 12:00 to pick up new files during the working day.
# 19:00 to pick up new files after the working day.
find_times 0:10 1:00 6:00 12:00 19:00
# This defines the email address of people to warn when a file that is
# being updated constantly stops being updated. For mathematical
# expressions use the word `interval' to get the interval number for
# the data source.
warn_email root@localhost
late_interval interval + 30
# These parameters specify which plots to generate.
generate_hourly_plot 0
generate_daily_plot 1
generate_weekly_plot 1
generate_monthly_plot 1
generate_quarterly_plot 1
generate_yearly_plot 1
# This sets the HTML markup that is placed at the very top of every
# web page and is primarly used to display the site's logo.
html_page_header
Put your site's logo here.
# This sets the text that is placed in the pages'
# element and just after the html_page_header HTML markup text is
# placed on the page.
html_top_title Orca Host Status
# This sets the HTML markup that is placed at the bottom of every web
# page.
html_page_footer
These plots brought to you by your local system administrator.
# This defines where the find the source data files and the format of
# those files. Notes about the fields:
# find_files
# You'll notice that all but the first () has the form (?:...).
# This tells Perl to match the expression but not save the matched
# text in the $1, $2, variables. Orca uses the matched text to
# generate a subgroup name, which is used to place files into
# different subgroups. Here, only the hostname should be used to
# generate a subgroup name, hence all the (?:...) for matching
# anything else.
# interval
# The interval here must match the interval used by orcallator to
# record data. Do not change this, as it has an effect on the
# generated RRD data files.
group orcallator {
find_files @VAR_DIR@/orcallator/(.*)/(?:(?:orcallator)|(?:percol))-\d{4}-\d{2}-\d{2}(?:-\d{3,})?(?:\.(?:Z|gz|bz2))?
column_description first_line
date_source column_name timestamp
interval 300
filename_compare sub {
my ($ay, $am, $ad) = $a =~ /-(\d{4})-(\d\d)-(\d\d)/;
my ($by, $bm, $bd) = $b =~ /-(\d{4})-(\d\d)-(\d\d)/;
if (my $c = (( $ay <=> $by) ||
( $am <=> $bm) ||
(($ad >> 3) <=> ($bd >> 3)))) {
return 2*$c;
}
$ad <=> $bd;
}
}
plot {
title %g System Overview
source orcallator
data state_c / 2
data state_D / 2
data state_N / 2
data state_t / 2
data state_n / 2
data state_s / 2
data state_r / 2
data state_k / 2
data state_m / 2
data state_d / 2
data state_i / 2
line_type line3
summary_format %8.2lf %S
legend CPU power
legend Disk
legend Network
legend TCP/IP stack
legend NFS RPC client
legend Swap space
legend RAM demand
legend Kernel memory
legend Kernel contention
legend DNLC
legend Inode cache
y_legend Severity level
data_min 0
plot_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#system_overview
}
plot {
title %g Average # Processes in Run Queue (Load Average)
source orcallator
data 1runq
data 5runq
data 15runq
legend 1 minute average
legend 5 minute average
legend 15 minute average
y_legend Number Processes
data_min 0
data_max 1000
href http://www.orcaware.com/orca/docs/orcallator.html#processes_in_run_queue
}
plot {
title %g CPU Usage
source orcallator
data usr%
data sys%
data wio%
data idle%
line_type area
line_type stack
line_type stack
line_type stack
legend User
legend System
legend Wait IO
legend Idle
y_legend Percent
data_min 0
data_max 100
plot_min 0
plot_max 100
rigid_min_max 1
href http://www.orcaware.com/orca/docs/orcallator.html#cpu_usage
}
plot {
title %g Processes in Run Queue/Waiting/Swapped
source orcallator
data #runque
data #waiting
data #swpque
line_type area
line_type stack
line_type stack
legend # processes in run queue
legend # processes waiting for IO
legend # processes swapped
y_legend Number Processes
data_min 0
}
plot {
title %g New Process Spawn Rate
source orcallator
data #proc/s
data #proc/p5s
line_type area
line_type line1
legend 5 min average
legend Peak 5 second
y_legend New processes/s
data_min 0
data_max 100000
href http://www.orcaware.com/orca/docs/orcallator.html#new_process_spawn_rate
}
plot {
title %g Number of System & Web Server Processes
source orcallator
data #proc
data #httpds
line_type line1
line_type area
legend System total
legend Number web servers
y_legend Number Processes
data_min 0
data_max 10000
color 0000ff
color 00ff00
href http://www.orcaware.com/orca/docs/orcallator.html#number_system_processes
}
plot {
title %g Number of Web Server Processes
source orcallator
data #httpds
line_type area
legend Number web servers
y_legend Number Processes
data_min 0
data_max 10000
href http://www.orcaware.com/orca/docs/orcallator.html#number_web_server_processes
}
plot {
title %g Web Server Hit Rate
source orcallator
data httpop/s
data http/p5s
line_type area
line_type line1
legend 5 min average hits/s
legend Peak 5 second hits/s
y_legend Hits/s
data_min 0
color 00ff00
color 0000ff
href http://www.orcaware.com/orca/docs/orcallator.html#web_server_hit_rate
}
plot {
title %g Web Server File Size
source orcallator
data %to1KB
data %to10KB
data %to100KB
data %to1MB
data %over1MB
line_type area
line_type stack
line_type stack
line_type stack
line_type stack
legend 0 - 1 KB
legend 1 - 10 KB
legend 10 - 100 KB
legend 100 - 1000 KB
legend Greater than 1 MB
y_legend Percent
data_min 0
data_max 100
plot_min 0
plot_max 100
rigid_min_max 1
href http://www.orcaware.com/orca/docs/orcallator.html#web_server_file_size
}
plot {
title %g Web Server Data Transfer Rate
source orcallator
data httpb/s
line_type area
legend Bytes/s
y_legend Bytes/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#web_server_data_transfer_rate
}
plot {
title %g Web Server HTTP Error Rate
source orcallator
data htErr/s
line_type area
legend HTTP errors/s
y_legend Errors/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#web_server_error_rate
}
# Interface bits per second for 10 Mbit interfaces.
plot {
title %g Interface Bits Per Second: $1
source orcallator
data 1024 * 8 * ((?:(?:elxl)|(?:le)|(?:qe))\d+)InKB/s
data 1024 * 8 * $1OuKB/s
line_type area
line_type line1
legend Input
legend Output
y_legend Bits/s
data_min 0
data_max 10000000
href http://www.orcaware.com/orca/docs/orcallator.html#interface_bits_per_second
}
# Interface bits per second for 100 Mbit interfaces.
plot {
title %g Interface Bits Per Second: $1
source orcallator
data 1024 * 8 * ((?:(?:be)|(?:dmfe)|(?:eri)|(?:hme)|(?:qfe)|(?:znb))\d+)InKB/s
data 1024 * 8 * $1OuKB/s
line_type area
line_type line1
legend Input
legend Output
y_legend Bits/s
data_min 0
data_max 100000000
href http://www.orcaware.com/orca/docs/orcallator.html#interface_bits_per_second
}
# Interface bits per second for 1 Gbit interfaces.
plot {
title %g Interface Bits Per Second: $1
source orcallator
data 1024 * 8 * ((?:(?:ce)|(?:v?ge)|(?:skge))\d+)InKB/s
data 1024 * 8 * $1OuKB/s
line_type area
line_type line1
legend Input
legend Output
y_legend Bits/s
data_min 0
data_max 1000000000
href http://www.orcaware.com/orca/docs/orcallator.html#interface_bits_per_second
}
plot {
title %g Interface Packets Per Second: $1
source orcallator
data (.*\d+)Ipkt/s
data $1Opkt/s
line_type area
line_type line1
legend Input
legend Output
y_legend Packets/s
data_min 0
data_max 100000
flush_regexps 1
href http://www.orcaware.com/orca/docs/orcallator.html#interface_packets_per_second
}
plot {
title %g Interface Errors Per Second: $1
source orcallator
data (.*\d+)IErr/s
data $1OErr/s
line_type area
line_type line1
legend Input
legend Output
y_legend Errors/s
data_min 0
flush_regexps 1
href http://www.orcaware.com/orca/docs/orcallator.html#interface_errors_per_second
}
plot {
title %g Interface Deferred Packet Rate
source orcallator
data (.*\d+)Defr/s
line_type area
legend $1
y_legend Defers/s
data_min 0
flush_regexps 1
href http://www.orcaware.com/orca/docs/orcallator.html#interface_deferred_packet_rate
}
plot {
title %g Interface Collisions
source orcallator
data (.*\d+)Coll%
line_type area
legend $1
y_legend Percent
data_min 0
data_max 200
flush_regexps 1
href http://www.orcaware.com/orca/docs/orcallator.html#interface_collisions
}
plot {
title %g Interface Nocanput Rate
source orcallator
data (.*\d+)NoCP/s
line_type area
legend $1
y_legend Nocanput/s
data_min 0
flush_regexps 1
href http://www.orcaware.com/orca/docs/orcallator.html#interface_nocanput_rate
}
plot {
title %g TCP Bits Per Second
source orcallator
data 1024 * 8 * tcp_InKB/s
data 1024 * 8 * tcp_OuKB/s
line_type area
line_type line1
legend Input
legend Output
y_legend Bits/s
data_min 0
data_max 1000000000
href http://www.orcaware.com/orca/docs/orcallator.html#TCP_bits_per_second
}
plot {
title %g TCP Segments Per Second
source orcallator
data tcp_Iseg/s
data tcp_Oseg/s
line_type area
line_type line1
legend Input
legend Output
y_legend Segments/s
data_min 0
data_max 20000
href http://www.orcaware.com/orca/docs/orcallator.html#TCP_segments_per_second
}
plot {
title %g TCP Retransmission & Duplicate Received Percentage
source orcallator
data tcp_Ret%
data tcp_Dup%
line_type area
line_type line1
legend Retransmission
legend Duplicate received
y_legend Percent
data_min 0
data_max 200
href http://www.orcaware.com/orca/docs/orcallator.html#TCP_retransmission_duplicate_received_percentage
}
plot {
title %g TCP New Connection Rate
source orcallator
data tcp_Icn/s
data tcp_Ocn/s
line_type area
line_type line1
legend Input - passive
legend Output - active
y_legend New Connections/s
data_min 0
data_max 10000
href http://www.orcaware.com/orca/docs/orcallator.html#TCP_new_connection_rate
}
plot {
title %g TCP Number Open Connections
source orcallator
data tcp_estb
line_type area
legend # open connections
y_legend Number Open TCP Connections
data_min 0
data_max 50000
href http://www.orcaware.com/orca/docs/orcallator.html#TCP_number_open_connections
}
plot {
title %g TCP Reset Rate
source orcallator
data tcp_Rst/s
line_type area
legend Number TCP resets/s
y_legend Resets/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#TCP_reset_rate
}
plot {
title %g TCP Attempt Fail Rate
source orcallator
data tcp_Atf/s
line_type area
legend TCP attempt fails/s
y_legend TCP Attempt Fails/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#TCP_attempt_fail_rate
}
plot {
title %g TCP Listen Drop Rate
source orcallator
data tcp_Ldrp/s
data tcp_LdQ0/s
data tcp_HOdp/s
legend TCP listen drops
legend TCP listen drop Q0
legend TCP half open drops
y_legend TCP Listen Drops/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#TCP_listen_drop_rate
}
plot {
title %g Sleeps on Mutex Rate
source orcallator
data smtx
data smtx/cpu
line_type area
line_type line1
legend Sleeps on mutex
legend Sleeps on mutex/cpu
y_legend Sleeps on Mutex/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#sleeps_mutex_rate
}
plot {
title %g NFS Server Call Rate
source orcallator
data nfss_calls
data v2reads
data v2writes
data v3reads
data v3writes
data nfss_bad
data_type counter
line_type area
line_type area
line_type stack
line_type stack
line_type stack
line_type stack
legend NFS server calls/s
y_legend NFS Server Calls/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#NFS_server_call_rate
}
plot {
title %g NFS Server Call Distribution
source orcallator
data v2reads
data v2writes
data v3reads
data v3writes
data_type counter
line_type area
line_type stack
line_type stack
line_type stack
line_type stack
y_legend NFS Server Calls/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#NFS_server_call_distribution
}
plot {
title %g NFS Client Call Rate
source orcallator
data nfs_call/s
line_type area
legend NFS client calls/s
y_legend NFS Client Calls/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#NFS_client_call_rate
}
plot {
title %g NFS Timeouts & Bad Transmits Rate
source orcallator
data nfs_timo/s
data nfs_badx/s
line_type area
line_type line1
legend NFS timeouts
legend Bad transmits
y_legend Count/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#NFS_timeouts_bad_transmits_rate
}
plot {
title %g Disk System Wide Reads/Writes Per Second
source orcallator
data disk_rd/s
data disk_wr/s
line_type area
line_type line1
legend Reads/s
legend Writes/s
y_legend Ops/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#disk_system_wide_reads_writes_per_second
}
plot {
title %g Disk System Wide Transfer Rate
source orcallator
data 1024 * disk_rK/s
data 1024 * disk_wK/s
line_type area
line_type line1
legend Read transfer rate
legend Write transfer rate
y_legend Bytes/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#disk_system_wide_transfer_rate
}
plot {
title %g Disk Run Percent
source orcallator
data disk_runp_((?:c\d+t\d+d\d+)|(?:c\d+d\d+)|(?:[ms]d\d+))
line_type line2
legend $1
y_legend Run Percent
data_min 0
data_max 100
plot_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#disk_run_percent
}
plot {
title %g Disk Space Percent Usage
source orcallator
data mntP_(.*)
line_type line2
legend $1
y_legend Percent Used
data_min 0
data_max 100
plot_min 0
plot_max 100
href http://www.orcaware.com/orca/docs/orcallator.html#disk_space_percent_usage
}
plot {
title %g Disk Inode Percent Usage
source orcallator
data mntp_(.*)
line_type line2
legend $1
y_legend Percent Used
data_min 0
data_max 100
plot_min 0
plot_max 100
href http://www.orcaware.com/orca/docs/orcallator.html#disk_inode_percent_usage
}
plot {
title %g Tape System Wide Reads/Writes Per Second
source orcallator
data tape_rd/s
data tape_wr/s
line_type area
line_type line1
legend Reads/s
legend Writes/s
y_legend Ops/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#tape_system_wide_reads_writes_per_second
}
plot {
title %g Tape System Wide Transfer Rate
source orcallator
data 1024 * tape_rK/s
data 1024 * tape_wK/s
line_type area
line_type line1
legend Read transfer rate
legend Write transfer rate
y_legend Bytes/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#tape_system_wide_transfer_rate
}
plot {
title %g Tape Run Percent
source orcallator
data tape_runp_(.*)
line_type line2
legend $1
y_legend Run Percent
data_min 0
data_max 100
plot_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#tape_run_percent
}
plot {
title %g Cache Hit Percentages
source orcallator
data dnlc_hit%
data inod_hit%
line_type area
line_type line1
legend DNLC
legend Inode cache
y_legend Percent
data_min 0
data_max 100
href http://www.orcaware.com/orca/docs/orcallator.html#cache_hit_percentages
}
plot {
title %g Cache Reference Rate
source orcallator
data dnlc_ref/s
data inod_ref/s
line_type area
line_type line1
legend DNLC
legend Inode cache
y_legend References/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#cache_reference_rate
}
plot {
title %g Cache Inode Steal Rate
source orcallator
data inod_stl/s
line_type area
legend Inode w/page steals/s
y_legend Steals/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#inode_steal_rate
}
plot {
title %g Memory Free
source orcallator
data 1024 * freememK
line_type area
legend Free physical memory
y_legend Bytes
base 1024
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#memory_free
}
plot {
title %g Memory Page Scan Rate
source orcallator
data scanrate
line_type area
legend Page scan rate
y_legend Pages/s
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#page_scan_rate
}
plot {
title %g Memory Page Residence Time
source orcallator
data page_rstim
line_type area
legend Page residence time
y_legend Seconds
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#page_residence_time
}
plot {
title %g Memory Available Swap Space
source orcallator
data 1024 * swap_avail
line_type area
legend Available swap space
y_legend Bytes
base 1024
data_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#available_swap_space
}
plot {
title %g Memory Page Usage
source orcallator
data pp_kernel
data free_pages
data pagestotl - pp_kernel - free_pages
data pagestotl
line_type area
line_type stack
line_type stack
line_type line2
legend Kernel
legend Free list
legend Other
legend System total
y_legend Number Of Pages
data_min 0
plot_min 0
color 00ff00
color ff0000
color 0000ff
href http://www.orcaware.com/orca/docs/orcallator.html#page_usage
}
plot {
title %g Memory Pages Locked & IO
source orcallator
data pageslock
data pagesio
line_type area
line_type line1
legend Locked
legend IO
y_legend Number Of Pages
data_min 0
plot_min 0
href http://www.orcaware.com/orca/docs/orcallator.html#pages_locked_IO
}