Nagios_Grapher RRD Error

Carlos Peón Costa carlospeon at hotmail.com
Fri Oct 14 19:48:32 CEST 2005


Rrd seems fine. If the graph config is right

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

you only need to wait or schedule inmediate ping checks to have enought data 
to plot.

>From: "Damian Flynn" <admin at damian-flynn.info>
>To: Carlos Peón Costa 
><carlospeon at hotmail.com>,<nagios-users at lists.sourceforge.net>
>Subject: RE: [Nagios-users] Nagios_Grapher RRD Error
>Date: Fri, 14 Oct 2005 18:12:26 +0100
>
>My Bad,
>
>I copied the original log extract - your right i had Security issues but 
>sorted that.
>
>I realised that the Log I pasted earlier was incorrect, as it illustrated a 
>rights issue which I had resolved. The correct Log extract looks as 
>follows:
>
>2005-10-14 11:42:07 PIPE: bal-trend1    PING    PING OK - Packet loss = 0%, 
>RTA = 122.44 ms
>2005-10-14 11:42:07 RRD: rrdtool create 
>/var/spool/nagios/rrd/bal-trend1/205a292aceed56e53abdb8d85a46120a.rrd 
>--step= DS:Loss:GAUGE:600:U:U DS:RTA:GAUGE:600:U:U RRA:AVERAGE:0.5:5:600 
>RRA:MAX:0.5:5:600 RRA:MIN:0.5:5:600 RRA:AVERAGE:0.5:30:600 
>RRA:MAX:0.5:30:600 RRA:MIN:0.5:30:600 RRA:AVERAGE:0.5:120:600 
>RRA:MAX:0.5:120:600 RRA:MIN:0.5:120:600 RRA:AVERAGE:0.5:1440:600 
>RRA:MAX:0.5:1440:600 RRA:MIN:0.5:1440:600
>2005-10-14 11:42:07 RRD: 
>[bal-trend1][PING]:/var/spool/nagios/rrd/bal-trend1/205a292aceed56e53abdb8d85a46120a.rrd 
>- successfully created!
>2005-10-14 11:42:07 SERVICEEXT: [bal-trend1][PING]:Entry in serviceextinfo 
>not exists, create NEW!
>2005-10-14 11:42:07 VALUES: [bal-trend1][PING]: RTA=122.44 Loss=0
>2005-10-14 11:42:07 RRD: rrdtool update 
>/var/spool/nagios/rrd/bal-trend1/205a292aceed56e53abdb8d85a46120a.rrd 
>--template=RTA:Loss N:122.44:0
>2005-10-14 11:42:07 PIPE: bei-isp1      Online  PING OK - Packet loss = 0%, 
>RTA = 287.90 ms
>
>
>This issue appears in the rrd2-graph.cgi; Where i recive the following 
>message in a PNG.
>
>
>Some Error occured:
>~~~~~~~~~~~~~~~~~~~
>RRD Error: Cannot parse CF in 
>'DEF:RTA=/var/spool/nagios/rrd/bal-trend1/205a292aceed56e53abdb8d85a46120a.rrd
>Options:
>    -aPNG
>    -cBACK#fcfcfc
>    -cFONT#333333
>    -cARROW#ff0000
>    -cGRID#330000
>    -cMGRID#330000
>    -cCANVAS#ffffff
>Values:
>    
>DEF:RTA=/var/spool/nagios/rrd/bal-trend1/205a292aceed56e53abdb8d85a46120a.rrd:RTA:AVERAGE
>Graphs:
>    AREA:RTA#00a000:Time to answer/J
>    VRULE:1129305600#FF0000
>    VRULE:1129302000#FF0000
>GPrints:
>[11:58/14.10.2005]
>
>As I mentioned before this system is running 1.2.6
>thank you
>Damian
>
>________________________________
>
>From: nagios-users-admin at lists.sourceforge.net on behalf of Carlos Peón 
>Costa
>Sent: Fri 14/10/2005 07:32
>To: nagios-users at lists.sourceforge.net
>Subject: RE: [Nagios-users] Nagios_Grapher RRD Error
>
>
>
>It seems /var/spool/nagios/rrd does not exists or nagios does not have 
>write
>permissions on it.
>
>
> >From: "Damian Flynn" <admin at damian-flynn.info>
> >To: <nagios-users at lists.sourceforge.net>
> >Subject: [Nagios-users] Nagios_Grapher RRD Error
> >Date: Fri, 14 Oct 2005 00:23:32 +0100
> >
> >Hi,
> >
> >I have this tools installed and the collector working, the RRD's appear
> >to be created ok, and the rights are ok also, but I continue to get the
> >following errors like "cannot parse CF in
> >'DEF:RTA=/var/spool/nagios.....
> >
> >I have RRD 1.2 installed, but can not figure out what is my root issue.
> >
> >I get this creation information in my log:
> >
> >2005-10-12 12:02:48 RRD: rrdtool create
> >/var/spool/nagios/rrd/bal-smtpfw1/356dec7f98ed3cc3ee60ce33288a5119.rrd
> >--step= DS:Loss:GAUGE:600:U:U DS:RTA:GAUGE:600:U:U RRA:AVERAGE:0.5:5:600
> >RRA:MAX:0.5:5:600 RRA:MIN:0.5:5:600 RRA:AVERAGE:0.5:30:600
> >RRA:MAX:0.5:30:600 RRA:MIN:0.5:30:600 RRA:AVERAGE:0.5:120:600
> >RRA:MAX:0.5:120:600 RRA:MIN:0.5:120:600 RRA:AVERAGE:0.5:1440:600
> >RRA:MAX:0.5:1440:600 RRA:MIN:0.5:1440:600
> >2005-10-12 12:02:48 RRD: [bal-smtpfw1][PING]:creating
> >'/var/spool/nagios/rrd/bal-smtpfw1/356dec7f98ed3cc3ee60ce33288a5119.rrd'
> >: No such file or directory
> >2005-10-12 12:02:48 SERVICEEXT: [bal-smtpfw1][PING]:Entry in
> >serviceextinfo not exists, create NEW!
> >2005-10-12 12:02:48 VALUES: [bal-smtpfw1][PING]: RTA=163.31 Loss=0
> >2005-10-12 12:02:48 RRD: rrdtool update
> >/var/spool/nagios/rrd/bal-smtpfw1/356dec7f98ed3cc3ee60ce33288a5119.rrd
> >--template=RTA:Loss N:163.31:0
> >2005-10-12 12:02:48 RRD: [bal-smtpfw1][PING]:opening
> >'/var/spool/nagios/rrd/bal-smtpfw1/356dec7f98ed3cc3ee60ce33288a5119.rrd'
> >: No such file or directory
> >
> >
> >Any help would be great
> >
> >Regards
> >Damian
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by:
> >Power Architecture Resource Center: Free content, downloads, discussions,
> >and more. http://solutions.newsforge.com/ibmarch.tmpl
> >_______________________________________________
> >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
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Power Architecture Resource Center: Free content, downloads, discussions,
>and more. http://solutions.newsforge.com/ibmarch.tmpl
>_______________________________________________
>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
>
>




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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