NagiosGrapher and multigraph
Christophe Yayon
lists at nbux.com
Tue Sep 20 08:12:55 CEST 2005
Hi all,
I have just installed/configured the last NagiosGrapher dev version
(1.3), and i can't get multigraph. My single graphs are ok, no problem
with them, but no luck with multigraph... Perhaps is it broken ?
Here is my configurations files :
- ngraph.ncfg
define config {
pipe /var/spool/nagios/ngraph.pipe
step 60
heartbeat 600
rrdpath /mnt/datas/nagios/NagiosGrapher/rrd/
tmppath /mnt/datas/nagios/NagiosGrapher/tmp/
serviceext_type MULTIPLE
serviceextinfo /oppt/nagios/etc/sofinco/serviceextinfo.cfg
serviceext_path /opt/nagios/etc/sofinco/serviceext
url /nagios/cgi-bin/graphs.cgi
nagios_config /opt/nagios/etc/nagios.cfg
cgi_config /opt/nagios/etc/cgi.cfg
icon_image_tag graph.png
log_file /var/spool/nagios/NagiosGrapher.log
log_level 1
rrd_color_background fcfcfc
rrd_color_font 333333
rrd_color_arrow 000000
rrd_color_frame 333333
rrd_color_grid
rrd_color_canvas ffffff
fe_use_browser_all 1
fe_use_browser_for nagios,ssr
fe_use_browser_url 1
}
# Includes
cfg_dir=/opt/nagios/contrib/NagiosGrapher/etc/ngraph.d
And in ngraph.d directory :
- ngraph.d/ngraph.ncfg (single graphs) :
# PING
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
}
define ngraph{
service_name PING
graph_log_regex RTA = ([0-9]*\.[0-9]*)
graph_value rta
graph_units ms
graph_legend Response Time (ms)
page Response Time
rrd_plottype LINE2
rrd_color 00cc99
}
- ngraph.d/nmgraph.ncfg :
define nmgraph{
host_name Multigraph
service_name PING
hosts .*?
services PING
graph_type stack
}
I should get all ping graph in Multigraph hostname, it appears in the
list, but no graphs...
Do i miss something ?
Thanks in advance ...
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list