Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

ecallaoc

Reviews(1)
byecallaoc, April 5, 2011
1 of 1 people found this review helpful
check_apache2.sh
#Nagios Grapher
# Autor: Edward Callao Cortez (ecallaoc@hotmail.com
define ngraph{
service_name APACHE
graph_perf_regex cpu_load=(d+)
graph_value cpu_load
graph_units
graph_legend CPU usage [%]
rrd_plottype LINE2
rrd_color 008000
}

define ngraph{
service_name APACHE
type CDEF
graph_value cpu_load_cdef
graph_units
graph_legend
graph_calc cpu_load
rrd_plottype LINE2
rrd_color 008000
}

define ngraph{
service_name APACHE
type GPRINT
print_source cpu_load
print_description Latest:
print_function LAST
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source cpu_load
print_description Maximum:
print_function MAX
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source cpu_load
print_description Average:
print_function AVERAGE
print_format %2.2lf
print_eol left
}

define ngraph{
service_name APACHE
graph_perf_regex req_psec=(d+)
graph_value req_psec
graph_units
graph_legend Requests/sec
rrd_plottype LINE2
rrd_color 0C64E8
}

define ngraph{
service_name APACHE
type CDEF
graph_value req_psec_cdef
graph_units
graph_legend
graph_calc req_psec
rrd_plottype LINE2
rrd_color 0C64E8
}

define ngraph{
service_name APACHE
type GPRINT
print_source req_psec
print_description Latest:
print_function LAST
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source req_psec
print_description Maximum:
print_function MAX
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source req_psec
print_description Average:
print_function AVERAGE
print_format %2.2lf
print_eol left
}

define ngraph{
service_name APACHE
graph_perf_regex bytes_preq=(d+.d+)
graph_value bytes_preq
graph_legend Byte/req
rrd_type DERIVE
rrd_min 0
hide yes
}

define ngraph{
service_name APACHE
type CDEF
graph_value bytes_preq_cdef
graph_units
graph_legend Kb/req
graph_calc bytes_preq,1024,/
rrd_plottype LINE2
rrd_color FFA500
}

define ngraph{
service_name APACHE
type GPRINT
print_source bytes_preq_cdef
print_description Latest:
print_function LAST
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source bytes_preq_cdef
print_description Maximum:
print_function MAX
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source bytes_preq_cdef
print_description Average:
print_function AVERAGE
print_format %2.2lf
print_eol left
}

define ngraph{
service_name APACHE
graph_perf_regex workers_busy=(d+)
graph_value workers_busy
graph_units
graph_legend Busy workers
rrd_plottype LINE2
rrd_color 1CC8E8
}

define ngraph{
service_name APACHE
type CDEF
graph_value workers_busy_cdef
graph_units
graph_legend
graph_calc workers_busy
rrd_plottype LINE2
rrd_color 1CC8E8
}

define ngraph{
service_name APACHE
type GPRINT
print_source workers_busy
print_description Latest:
print_function LAST
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source workers_busy
print_description Maximum:
print_function MAX
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source workers_busy
print_description Average:
print_function AVERAGE
print_format %2.2lf
print_eol left
}

define ngraph{
service_name APACHE
graph_perf_regex workers_idle=(d+)
graph_value workers_idle
graph_units Various stats
graph_legend Idle workers
rrd_plottype LINE2
rrd_color E80C8C
}

define ngraph{
service_name APACHE
type CDEF
graph_value workers_idle_cdef
graph_units
graph_legend
graph_calc workers_idle
rrd_plottype LINE2
rrd_color E80C8C
}

define ngraph{
service_name APACHE
type GPRINT
print_source workers_idle
print_description Latest:
print_function LAST
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source workers_idle
print_description Maximum:
print_function MAX
print_format %2.2lf
}

define ngraph{
service_name APACHE
type GPRINT
print_source workers_idle
print_description Average:
print_function AVERAGE
print_format %2.2lf
print_eol left
}