<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
<BR>
Hi, <BR>
<BR>
The problem is definitely with input plugin (snmp plugin). <BR>
<BR>
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)). <BR>
# tcpdump host 10.70.7.115 or 10.70.128.58<BR>
<BR>
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. <BR>
<BR>
At the same time in collectd log file there is no single line regarding problematic host. <BR>
<BR>
Just to mention, I normally perform snmpwalk on this host, and it is regularly added in collectd.conf file. <BR>
<BR>
So I can only conclude that there is a some kind of problem with the snmp plugin.<BR>
<BR>
Any idea. What to do next ?<BR>
Does anybody has any idea what is causing this problem. ?<BR>
<BR>
thanks<BR>
Domagoj<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
On Fri, 2009-08-21 at 14:59 +0200, Jarle Bjørgeengen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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 // \\
<A HREF="http://www.uio.no/sok?person=jb">http://www.uio.no/sok?person=jb</A> /( )\
while(<>){if(s/^(.*\?)$/42 !/){print "$1 $_"}} ^`~'^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>