Problem with snmp results

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
supertux
Posts: 14
Joined: Mon Jan 21, 2002 7:00 pm
Location: Munich, Germany
Contact:

Problem with snmp results

Post by supertux »

Can someone please have a look at the log entries below? I have a strange problem with some DS´s.

11/22/2002 9:30 AM - CMD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/traf_253_5_23_out.rrd --template traf_253_5_23_out N:1144579162
11/22/2002 9:30 AM - CMD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/traf_253_25_27_in.rrd --template traf_253_25_27_in N:3486605405
11/22/2002 9:30 AM - CMD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/traf_253_25_27_out.rrd --template traf_253_25_27_out:traf_253_25_27_out N:0.28:2852356173
11/22/2002 9:30 AM - CMD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/traf_253_9_276_in.rrd --template traf_253_9_276_in:traf_253_9_276_in N:0.13:436947178
11/22/2002 9:30 AM - CMD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/traf_253_9_276_out.rrd --template traf_253_9_276_out:traf_253_9_276_out N:0.03:4165405270
11/22/2002 9:30 AM - CMD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/traf_253_29_284_in.rrd --template traf_253_29_284_in N:3119431039

The DS´s marked in RED show no data in the RRD. The configuration for the DS's seems to be exactly the same?

The 1st DS: OK
INTERNAL: [routername/community] Interface: [27]

DS:traf_253_25_27_in:COUNTER:600:0:155520000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

The 2nd DS:NOT OK
INTERNAL: [routername/community] Interface: [27]

DS:traf_253_25_27_out:COUNTER:600:0:155520000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

I am using :
SuSE 8.1 (Linux knuth 2.4.19 #1)
MySQL/3.23.52
Apache/1.3.26 (Linux/SuSE)
mod_python/2.7.8
Python/2.2.1
PHP/4.2.2
mod_perl/1.27

Any help will be appreciated.

Max
supertux
Posts: 14
Joined: Mon Jan 21, 2002 7:00 pm
Location: Munich, Germany
Contact:

Found The problem:

Post by supertux »

For some strange reason there were strange entries in the db table src_data

ID FieldID DSID Value
822 94 440 0.01 (Different values but corresponds to the vales showed in log)
823 42 440 community name
824 41 440 hostname
825 44 440 24 Don't know what this is?
826 43 440 OID

I manually deleted all db entries which fixed the problem! I unfortunately still dow'n know what caused the problem :-?
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Making a stab in the dark, it looks like you might have had some name overlap issues. Since internal data source names are limited to 19 characters (by rrdtool), the name gets truncated sometimes. Because of this I've seen situations where two filenames would be the same even though cacti thinks they are two separate data sources.

Glad your problem is solved though :)

-Ian
Flux
Posts: 39
Joined: Fri Nov 01, 2002 12:37 pm

Post by Flux »

Does this mean that we have to limit our data source name to 19 or few characters, such as the SNMP Data Interface data source? If this is the case, shouldn't Cacti limit the user to just 19 characters for the data source name?

Flux :o
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

Actually it is "Internal Data Source Name" that is limited to 19 characters (rrdtool design) so you can have Data Source names longer. Cacti limits number of characters you enter in this field. In case of multiple value Data Sources this field is autogenerated with output field names. In this case it may happen that truncated field name will look the same as the other truncated one - such situation will cause a problem.

- bulek
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests