[collectd] RRD files are not updated

Domagoj Mikac domagoj.mikac at metronet.hr
Fri Aug 21 16:05:01 CEST 2009


Hi, 

The problem is definitely with input plugin (snmp plugin). 

I did a tcpdump to capture packets for two hosts (one of them is
problematic (RRDs are not updated) and another one is not (RRDa are
updated)). 
# tcpdump host 10.70.7.115 or 10.70.128.58

After running tcpdump for 20 minutes, the result is that snmp plugin
never sent a single packet to the destination 10.70.7.115, while at the
same time it regularly sends and receives SNMP packets from
10.70.128.58. 

At the same time in collectd log file there is no single line regarding
problematic host. 

Just to mention, I normally perform snmpwalk on this host, and it is
regularly added in collectd.conf file. 

So I can only conclude that there is a some kind of problem with the
snmp plugin.

Any idea. What to do next ?
Does anybody has any idea what is causing this problem. ?

thanks
Domagoj













On Fri, 2009-08-21 at 14:59 +0200, Jarle Bjørgeengen wrote: 

> On Aug 21, 2009, at 2:30 , Domagoj Mikac wrote:
> 
> > Hi,
> >
> > I am aware of this, and there is no name changes.
> >
> > But I am thinking maybe there is a problem with RRD file names.
> >
> > Is it OK if RRD files are having the same file name but are stored  
> > in different folders.
> >
> > For example:
> >     /opt/collectd/rrd/device1/snmp/if_octets64-FastEthernet0.rrd
> >
> > and
> >
> >     /opt/collectd/rrd/device2/snmp/if_octets64-FastEthernet0.rrd
> 
> This is normal for the same type-instance for different devices  
> (hosts) yes.
> 
> As long as the input plugin of both is working, then rrdfiles should  
> be updated.
> 
> Have you tried to enable another outputplugin , like csv, to check if  
> the data is updated there ? If it is not , I would suspect input  
> plugins. If it is I would suspect the rrd plugin.
> 
> Have you looked at the logfiles ? Debug options of collectd ?
> 
> You can also try tcpdumping snmp traffic between your collectd server,  
> and snmp hosts that is not updating, to check if snmp get requests  
> actually is sent, and data is received. (Assuming you use snmp plugin)
> 
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Best regards                                       .~.
> Jarle Bjørgeengen                                  /V\
> Mob: +47 9155 7978                                // \\
> http://www.uio.no/sok?person=jb                  /(   )\
> while(<>){if(s/^(.*\?)$/42 !/){print "$1 $_"}}    ^`~'^
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20090821/4af86d96/attachment-0001.htm 


More information about the collectd mailing list