NagiosGrapher problem

Danilo bilo at gmx.it
Thu Nov 9 10:22:48 CET 2006


Hello nagios-users,

  
I've installed NagiosGrapher, but, after having modified a script, I
am getting error on the graph.

Having a look to templateInfo on the graph page it seems that de
template used by NagiosGrapher has been doubled.

For Example:

this is the ping template


Define {
        graph_legend    Loss
        graph_legend_eol        none
        graph_log_regex loss = ([0-9]*)
        graph_units     %
        graph_value     Loss
        page    2 Loss
        rrd_color       ff0000
        rrd_plottype    LINE2
        service_name    PING
}
 
define {
        graph_legend    RTA
        graph_log_regex rta = ([0-9]*\.[0-9]*)
        graph_units     ms
        graph_value     RTA
        page    1 RTA
        rrd_color       00a000
        rrd_plottype    AREA
        service_name    PING
}
 
define {
        graph_calc      RTA,AVERAGE
        graph_legend    RTA Average
        graph_legend_eol        LEFT
        graph_value     vdef_ping_average
        hide    no
        page    1 RTA
        rrd_color       0000ff
        rrd_plottype    LINE1
        service_name    PING
        type    VDEF
}
 
define {
        graph_legend    Loss
        graph_legend_eol        none
        graph_log_regex loss = ([0-9]*)
        graph_units     %
        graph_value     Loss
        page    2 Loss
        rrd_color       ff0000
        rrd_plottype    LINE2
        service_name    PING
}
 
define {
        graph_legend    RTA
        graph_log_regex rta = ([0-9]*\.[0-9]*)
        graph_units     ms
        graph_value     RTA
        page    1 RTA
        rrd_color       00a000
        rrd_plottype    AREA
        service_name    PING
}
 
define {
        graph_calc      RTA,AVERAGE
        graph_legend    RTA Average
        graph_legend_eol        LEFT
        graph_value     vdef_ping_average
        hide    no
        page    1 RTA
        rrd_color       0000ff
        rrd_plottype    LINE1
        service_name    PING
        type    VDEF
}
 



As you can see it's not normal, and the graph won't be displayed.


Where NagiosGrapher save this template (the original chekc_ping is
of course ok)?


Thanks

Danilo


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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