[Xymon] RRD error Creating

Nick Camaldi willowbrookmagic at hotmail.com
Thu Jun 23 17:00:38 CEST 2011


Ok so i understand my problems now. 
 
I didn't really undersatnd the functions of both the rredefinitions.cfg and the graph.cfg
 
Graph.cfg gives the configuration of how to set up your gaphs and how they look.
rrddefinitions.cfg configures how the rrd file will be created and what parameters it will use for example how often it will poll and how long you keep the info. 
 
My mistake was i added the graph information in the rrddefinitions.cfg file and therefore new rrd files weren't being created. we reverted back to the default rrddefiniitions files and everything started graphing. 
 



From: willowbrookmagic at hotmail.com
To: xymon at xymon.com
Date: Mon, 20 Jun 2011 16:14:50 -0400
Subject: Re: [Xymon] RRD error Creating





these entries are also in rrddefinitions.cfg

 



From: willowbrookmagic at hotmail.com
To: xymon at xymon.com
Date: Mon, 20 Jun 2011 15:53:53 -0400
Subject: [Xymon] RRD error Creating




I'm having some promlems with alot of my host not being able to create graphs
 
Here is the rotating cyle with many different hosts in rrd-data.log
 
2011-06-20 10:19:26 RRD error creating /opt/admin/xymon/linux/current/data/rrd/server1/netstat.rrd: can't parse argument 'TITLE TCP/IP statistics'
2011-06-20 10:19:26 RRD error creating /opt/admin/xymon/linux/current/data/rrd/server1/ifstat.127.0.0.1.rrd: can't parse argument 'FNPATTERN ifstat.(.+).rrd'
2011-06-20 10:19:26 RRD error creating /opt/admin/xymon/linux/current/data/rrd/xymonserver/netstat.rrd: can't parse argument 'TITLE TCP/IP statistics'
2011-06-20 10:19:26 RRD error creating /opt/admin/xymon/linux/current/data/rrd/xymonserver/ifstat.eth0.rrd: can't parse argument 'FNPATTERN ifstat.(.+).rrd'
2011-06-20 10:19:26 RRD error creating /opt/admin/xymon/linux/current/data/rrd/xymonserver/vmstat.rrd: unknown option 'u'

 
Also in rrd.status.log
 

2011-06-20 15:29:56 RRD error creating /opt/admin/xymon/linux/current/data/rrd/host1/if_load.Fa0_1.rrd: can't parse argument 'FNPATTERN if_load.(.*).rrd'
2011-06-20 15:29:56 RRD error creating /opt/admin/xymon/linux/current/data/rrd/host2/if_load.GigabitEthernet0_0.240.rrd: can't parse argument 'FNPATTERN if_load.(.*).rrd'
2011-06-20 15:29:56 RRD error creating /opt/admin/xymon/linux/current/data/rrd/host3/if_load.GigabitEthernet0_0.240.rrd: can't parse argument 'FNPATTERN if_load.(.*).rrd'
2011-06-20 15:29:58 RRD error creating /opt/admin/xymon/linux/current/data/rrd/host4/memory.real.rrd: unknown option 'u'
2011-06-20 15:29:58 RRD error creating /opt/admin/xymon/linux/current/data/rrd/host4/memory.swap.rrd: unknown option 'u'
2011-06-20 15:29:58 RRD error creating /opt/admin/xymon/linux/current/data/rrd/host4/if_load.Fa0_47.rrd: can't parse argument 'FNPATTERN if_load.(.*).rrd'
2011-06-20 15:29:58 RRD error creating /opt/admin/xymon/linux/current/data/rrd/ny134544swr1a/if_load.Fa0_48.rrd: can't parse argument 'FNPATTERN if_load.(.*).rrd'
2011-06-20 15:30:56 RRD error creating /opt/admin/xymon/linux/current/data/rrd/host5/temp.I_OContOutlet.rrd: can't parse argument 'FNPATTERN temp.(.*).rrd'
2011-06-20 15:30:56 RRD error creating /opt/admin/xymon/linux/current/data/rrd/host5/temp.NPEInlet.rrd: can't parse argument 'FNPATTERN temp.(.*).rrd'

 
In graph.cfg
[netstat]
        TITLE TCP/IP statistics
        YAXIS Packets/second
        DEF:tcpInInorderPackets=netstat.rrd:tcpInInorderPackets:AVERAGE
        DEF:tcpOutDataPackets=netstat.rrd:tcpOutDataPackets:AVERAGE
        DEF:tcpRetransPackets=netstat.rrd:tcpRetransPackets:AVERAGE
        LINE3:tcpInInorderPackets#00FF00:In
        LINE1:tcpOutDataPackets#0000FF:Out
        LINE2:tcpRetransPackets#FF0000:Retrans
        COMMENT:\n
        GPRINT:tcpInInorderPackets:LAST:In       \: %5.1lf%s (cur)
        GPRINT:tcpInInorderPackets:MAX: \: %5.1lf%s (max)
        GPRINT:tcpInInorderPackets:MIN: \: %5.1lf%s (min)
        GPRINT:tcpInInorderPackets:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:tcpOutDataPackets:LAST:Out      \: %5.1lf%s (cur)
        GPRINT:tcpOutDataPackets:MAX: \: %5.1lf%s (max)
        GPRINT:tcpOutDataPackets:MIN: \: %5.1lf%s (min)
        GPRINT:tcpOutDataPackets:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:tcpRetransPackets:LAST:Retrans  \: %5.1lf%s (cur)
        GPRINT:tcpRetransPackets:MAX: \: %5.1lf%s (max)
        GPRINT:tcpRetransPackets:MIN: \: %5.1lf%s (min)
        GPRINT:tcpRetransPackets:AVERAGE: \: %5.1lf%s (avg)\n
[ifstat]
        FNPATTERN ^ifstat.(.+).rrd
        TITLE Network Traffic
        YAXIS Bits/second
        DEF:inbytes at RRDIDX@=@RRDFN@:bytesReceived:AVERAGE
        CDEF:in at RRDIDX@=inbytes at RRDIDX@,8,*
        DEF:outbytes at RRDIDX@=@RRDFN@:bytesSent:AVERAGE
        CDEF:out at RRDIDX@=outbytes at RRDIDX@,8,*
        LINE2:in at RRDIDX@#@COLOR@:@RRDPARAM@  inbound
        GPRINT:in at RRDIDX@:LAST: \: %10.1lf (cur)
        GPRINT:in at RRDIDX@:MAX: \: %10.1lf (max)
        GPRINT:in at RRDIDX@:MIN: \: %10.1lf (min)
        GPRINT:in at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
        LINE2:out at RRDIDX@#@COLOR@:@RRDPARAM@ outbound
        GPRINT:out at RRDIDX@:LAST: \: %10.1lf (cur)
        GPRINT:out at RRDIDX@:MAX: \: %10.1lf (max)
        GPRINT:out at RRDIDX@:MIN: \: %10.1lf (min)
        GPRINT:out at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
[vmstat]
        TITLE CPU Utilization
        YAXIS % Load
        -u 100
        -r
        DEF:cpu_idl=vmstat.rrd:cpu_idl:AVERAGE
        DEF:cpu_usr=vmstat.rrd:cpu_usr:AVERAGE
        DEF:cpu_sys=vmstat.rrd:cpu_sys:AVERAGE
        AREA:cpu_sys#FF0000:System
        STACK:cpu_usr#FFFF00:User
        STACK:cpu_idl#00FF00:Idle
        COMMENT:\n
        GPRINT:cpu_sys:LAST:System  \: %5.1lf (cur)
        GPRINT:cpu_sys:MAX: \: %5.1lf (max)
        GPRINT:cpu_sys:MIN: \: %5.1lf (min)
        GPRINT:cpu_sys:AVERAGE: \: %5.1lf (avg)\n
        GPRINT:cpu_usr:LAST:User    \: %5.1lf (cur)
        GPRINT:cpu_usr:MAX: \: %5.1lf (max)
        GPRINT:cpu_usr:MIN: \: %5.1lf (min)
        GPRINT:cpu_usr:AVERAGE: \: %5.1lf (avg)\n
        GPRINT:cpu_idl:LAST:Idle    \: %5.1lf (cur)
        GPRINT:cpu_idl:MAX: \: %5.1lf (max)
        GPRINT:cpu_idl:MIN: \: %5.1lf (min)
        GPRINT:cpu_idl:AVERAGE: \: %5.1lf (avg)\n
[ram]
        TITLE RAM Utilization
        YAXIS % Used
        DEF:p=memory.real.rrd:realmempct:AVERAGE
        LINE2:p#0000FF:% RAM used
        -u 100
        -b 1024
        GPRINT:p:LAST: \: %5.1lf (cur)
        GPRINT:p:MAX: \: %5.1lf (max)
        GPRINT:p:MIN: \: %5.1lf (min)
        GPRINT:p:AVERAGE: \: %5.1lf (avg)\n

[swap]
        TITLE Swap Utilization
        YAXIS % Used
        DEF:p=memory.swap.rrd:realmempct:AVERAGE
        LINE2:p#0000FF:% Swap used
        -u 100
        -b 1024
        GPRINT:p:LAST: \: %5.1lf (cur)
        GPRINT:p:MAX: \: %5.1lf (max)
        GPRINT:p:MIN: \: %5.1lf (min)
        GPRINT:p:AVERAGE: \: %5.1lf (avg)\n


_______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
_______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110623/e91da99a/attachment.html>


More information about the Xymon mailing list