rendered paste body# System wide Configuration ###############################
define config {
pipe /var/lib/nagios/ngraph.pipe
step 60
heartbeat 600
rrdpath /var/lib/nagios/rrd/
tmppath /tmp/nagiosgrapher/
serviceext_type MULTIPLE
serviceextinfo /etc/nagios/serviceextinfo.cfg
serviceext_path /usr/local/nagios/etc/serviceext
url /nagios/cgi-bin/graphs.cgi
nagios_config /usr/local/nagios/etc/nagios.cfg
cgi_config /usr/local/nagios/etc/cgi.cfg
icon_image_tag dot.gif' border="0"></a><A TARGET="_blank" HREF="graphs.cgi?###URL###" BOR
DER="0"><img src="/nagios/images/logos/graph.png" border="0"logos/dot.gif
log_file /var/log/nagios/ngraph.log
log_level 255
rrd_color_background fcfcfc
rrd_color_font 333333
rrd_color_arrow ff0000
rrd_color_frame 333333
rrd_color_grid
rrd_color_canvas ffffff
fe_use_browser_all 0
fe_use_browser_for noyler,nagiosadmin
fe_use_browser_url 0
}
# Ping ###########################################
# Ping Packet loss
define ngraph{
service_name PING
graph_log_regex loss = ([0-9]*)
graph_value Loss
graph_units %
graph_legend Packet Lost
page Packet Lost
rrd_plottype LINE2
rrd_color ff0000
}
# Ping RTA
define ngraph{
service_name PING
graph_log_regex rta = ([0-9]*\.[0-9]*)