Large holes in my SNMP data, but only on some ports

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

Moderators: Developers, Moderators

Post Reply
ultatryon
Posts: 13
Joined: Mon Sep 12, 2005 7:36 pm

Large holes in my SNMP data, but only on some ports

Post by ultatryon »

I just recently installed Cacti 0.8.6 on my Sun Netra T1 running Gentoo 2005.1. I configured it to work with my local home network equipment, and some of the Cable CMTS's at work (I work for my cable ISP) But I am running into problems with data completeness.

For example, the following two upstreams are on the same device, and even the same blade... yet, the custom SNMP stream for Upstream 1 works perfectly fine, and Upstream 4 has major holes in them.. Several of the upstreams are like this.

The username and password for viewing the graphs is "guest" (for both)

Cable4/0 Upstream 1 -> http://cacti.ultatryon.com/graph.php?lo ... rra_id=all

Cable4/0 Upstream 4 -> http://cacti.ultatryon.com/graph.php?lo ... rra_id=all

My other local SNMP queries work just fine, just some of these CMTS queries.

the only thing that looks odd, is this line in the logs:

09/12/2005 08:40:16 PM - SYSTEM STATS: Time: 13.7330 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 11, Hosts/Process: 11, Data Sources 273, RRDs Processed 173

Shouldnt it have 273 RRDs instead of 173, since there are 273 sources?
ultatryon
Posts: 13
Joined: Mon Sep 12, 2005 7:36 pm

Post by ultatryon »

I did have my maxvalue set to 300, and these are close to that value, so I just increased them all to 500... so far it hasnt fixed the problem.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Turn on debugging in cacti and take a look at the upstream 4 polling results for several cycles. Find anything interesting? You said Upstream 1 and 4 are on the same device, so their response times are the same? What about cpu usage?
ultatryon
Posts: 13
Joined: Mon Sep 12, 2005 7:36 pm

Post by ultatryon »

Those upstreams, are just different ports on the same card, in the same chassis..

I will enable that in a minute, and keep an eye on it.
ultatryon
Posts: 13
Joined: Mon Sep 12, 2005 7:36 pm

Post by ultatryon »

C4/0/U1 is index 155.. the log shows the following for that

09/12/2005 10:20:08 PM - CMDPHP: Poller[0] Host[9] DS[155] SNMP: v1: 66.212.xxx.xxx, dsname: snmp_oid, oid: 1.3.6.1.2.1.10.127.1.1.4.1.5.10, output: 311

That output is above the original maxvalue (300) for that poller, however it has since been changed (to 500).. do I have to update the poller or RRD now that I have changed the maxvalue? and if so, how do I do that?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You need to update it in cacti AND the rrd file (since cacti doesn't do that yet).

rrdtool tune is the ticket for updating the rrd file.
ultatryon
Posts: 13
Joined: Mon Sep 12, 2005 7:36 pm

Post by ultatryon »

So.. it should be:

nevermind.. got it in post below.
Last edited by ultatryon on Tue Sep 13, 2005 12:04 am, edited 1 time in total.
ultatryon
Posts: 13
Joined: Mon Sep 12, 2005 7:36 pm

Post by ultatryon »

nevermind.. I got it..

rrdtool tune plainfield_cmts_snmp_oid_176.rrd -a snmp_oid:500

over and over again.. wish I could wildcard that...
ultatryon
Posts: 13
Joined: Mon Sep 12, 2005 7:36 pm

Post by ultatryon »

as soon as I made that change, that chart started working again.. 311.0.. I didnt think it was going to actually care about the max, I am used to MRTG, where it allows higher then the max, but it has a line showing where the "maxvalue" is..
speed
Posts: 3
Joined: Wed Oct 20, 2004 9:35 pm

Post by speed »

ultatryon wrote:as soon as I made that change, that chart started working again.. 311.0.. I didnt think it was going to actually care about the max, I am used to MRTG, where it allows higher then the max, but it has a line showing where the "maxvalue" is..
I looked at your graphs and like what you've done there. You wouldn't have a template for that you could share do you? I have nearly the same needs and could sure put this to good use.

Thanks
ultatryon
Posts: 13
Joined: Mon Sep 12, 2005 7:36 pm

Post by ultatryon »

I used the generic SNMP OID template.. I just had to make about 100 of them manually.. If you want the MIB, its in the above post :)

Feel free to message me AOL Instant Messenger if you have questions, my SN is "Ultatryon2001"
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests