Nagiosgrapher rrd problem

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Apr 14 18:47:41 CEST 2006


On Fri, 14 Apr 2006, Davy Gaussen wrote:

> I am trying to use Nagiosgrapher-1.5 with Nagios 2.0.
>
> I successfully install nagiosgrapher but I didn't have any rrd files in
> /var/lib/nagios/rrd.

Which are only created after you setup service-type definitions and your
first data is added to the named pipe.

> I never have a line with < RRD : create rrd file > or something.
>
> Someone have an idea on this please ?? I am quite lost !

Show us the Nagiosgrapher definitions for your service-types. There are
samples present but you must define them and match the names.

In fact the whole thing is documented but it takes some reading to get the
hang of it.

For example.

 1. My service definition:

define service {
        use                             service-template
        host_name                       arwen
        service_description             PING
        check_command                   check_ping!10,20%!20,40%
        contact_groups                  waakhond-net
}

 2. Suitable ngrapg.ncfg section:

define ngraph{
        service_name            PING
        graph_log_regex         loss = ([0-9]+)
        graph_value             Loss
        graph_units             %
        graph_legend            Packet Lost
        rrd_plottype            LINE2
        rrd_color               ff0000
        page                    Packet Lost
        }

# Ping RTA
define ngraph{
        service_name            PING
        graph_log_regex         rta = ([0-9]+\.+[0-9]*) ms
        graph_value             RTA
        graph_units             ms
        graph_legend            Time to answer
        rrd_plottype            AREA
        rrd_color               00A348
        page                    RTA
        }


Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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