MIB Protocol Statistics (RFC1213) [v2.1 - 2009-05-10]

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
User avatar
merana
Posts: 14
Joined: Sun Dec 22, 2002 3:32 pm
Location: So.Jersey/Philly
Contact:

Sort of Working but with odd results

Post by merana »

BSOD2600 wrote:Why not? what errors did you get?

Did you import the 1.0 or newer 1.2 templates? Try the older...
Actually I didn't get any errors (at least not from Cacti WEB GUI) and none in the cacti.log or the webserver logs. The objects just didn't show up.

I'll give the older version a try.
BSOD2600 wrote:I used a CDEF to make the stack negative, this would've been imported if you used my templates.
Ah. I have an existing CDEF for that called "Make Stack Negative & Per 5 Min" which is like the one you described. I applied that to the graph and it now looks like this:

Image

As you can see the Negative Out portion now works but is drastically under proportion to the In values. Of course using an offsetting "Make Five Min" that multiplies CURRENT_DATA_SOURCE with 300 just brings it back to the previous state.

Could this be in the graph Min/Max values or perhaps the Scaling?

Image

Data in the RRA seems to be right.
BSOD2600 wrote:What do you mean? I also made the graphs "per 5 minutes" instead of the default.
If you look at the Legend section you can see that there are no values in the Maximum column of the Legend. It has the text label but no values.

A fetch of MAX dumps the following:
[root@server rra]# rrdtool fetch switch_snmpinpkts_101.rrd MAX -s '03-04-2008'
snmpInPkts udpOutDatagrams tcpOutSegs udpInDatagrams ipOutRequests tcpInSegs ipInReceives snmpOutPkts icmpInMsgs icmpOutMsgs

1204788600: 5.4257683293e-02 2.1580350343e+00 0.0000000000e+00 3.7041991825e+00 2.2243939277e+00 0.0000000000e+00 3.3881199709e+02 5.2864149291e-02 6.6358893414e-02 6.6358893414e-02
1204788900: 6.8821110299e-02 2.1456132190e+00 0.0000000000e+00 3.7498284862e+00 2.2126239470e+00 0.0000000000e+00 3.4764343766e+02 5.3608582335e-02 6.7010727918e-02 6.7010727918e-02
1204789200: 5.4656662728e-02 2.1854624035e+00 0.0000000000e+00 3.4419839907e+00 2.2549998885e+00 0.0000000000e+00 2.9011482292e+02 5.3202524025e-02 6.9537485042e-02 6.9537485042e-02
1204789500: 6.5249169435e-02 2.1863455150e+00 0.0000000000e+00 3.8503322259e+00 2.2530897010e+00 0.0000000000e+00 3.4288305648e+02 5.3156146179e-02 6.6744186047e-02 6.6744186047e-02
1204789800: 5.4881639873e-02 2.1603621039e+00 0.0000000000e+00 3.7558045887e+00 2.2274137662e+00 0.0000000000e+00 3.8183227720e+02 5.3641329796e-02 6.7051662244e-02 6.7051662244e-02
1204790100: 6.8800401039e-02 2.1633456039e+00 0.0000000000e+00 3.4002818493e+00 2.2333093159e+00 0.0000000000e+00 3.6998970408e+02 5.3527268374e-02 6.9963712000e-02 6.9963712000e-02
1204790400: 5.4579310140e-02 2.2024716941e+00 0.0000000000e+00 4.3188637281e+00 2.2692326211e+00 0.0000000000e+00 3.6323950266e+02 5.3185776138e-02 6.9806331181e-02 6.6760926973e-02
1204790700: 6.8540199336e-02 2.1639849391e+00 0.0000000000e+00 3.5449717977e+00 2.2306324105e+00 0.0000000000e+00 2.9672578117e+02 5.3317977113e-02 6.6935400517e-02 6.6647471392e-02
1204791000: 5.4777777778e-02 2.1782666667e+00 0.0000000000e+00 3.9595777778e+00 2.2479777778e+00 0.0000000000e+00 2.7365771111e+02 5.3333333333e-02 6.9711111111e-02 6.9711111111e-02
1204791300: 6.8555555556e-02 2.1708666667e+00 0.0000000000e+00 3.2242444444e+00 2.2378222222e+00 0.0000000000e+00 2.7883113333e+02 5.3333333333e-02 6.6955555556e-02 6.6955555556e-02
1204791600: 5.4777777778e-02 2.1517333333e+00 0.0000000000e+00 3.6158000000e+00 2.2184000000e+00 0.0000000000e+00 3.1677995556e+02 5.3333333333e-02 6.6666666667e-02 6.6666666667e-02
1204791900: 6.8769379413e-02 2.1657313266e+00 0.0000000000e+00 3.7017261984e+00 2.2356562616e+00 0.0000000000e+00 3.0313870323e+02 5.3496246748e-02 6.9924934968e-02 6.9924934968e-02
1204792200: 5.4417964222e-02 2.1444541038e+00 0.0000000000e+00 3.1498667375e+00 2.2110133484e+00 0.0000000000e+00 2.7377608308e+02 5.3024430220e-02 6.6559244575e-02 6.6559244575e-02
1204792500: 6.8681255399e-02 2.1710754391e+00 0.0000000000e+00 3.6480708321e+00 2.2379052692e+00 0.0000000000e+00 2.8157772963e+02 5.3463864094e-02 6.6829830118e-02 6.6829830118e-02
1204792800: 5.4636236699e-02 2.1455486542e+00 0.0000000000e+00 3.0942471953e+00 2.2150666859e+00 0.0000000000e+00 2.6593048871e+02 5.3186961337e-02 6.9518031682e-02 6.9518031682e-02
1204793100: 6.7853360087e-02 2.1780386610e+00 0.0000000000e+00 3.9643451422e+00 2.2443837374e+00 0.0000000000e+00 2.8491334254e+02 5.2836858437e-02 6.6345076368e-02 6.6345076368e-02
1204793400: 5.5252840720e-02 2.1933196004e+00 0.0000000000e+00 3.4740669369e+00 2.2603229450e+00 0.0000000000e+00 2.7789807518e+02 5.3602675704e-02 6.7003344630e-02 6.7003344630e-02
1204793700: 6.8266999636e-02 2.1657624473e+00 0.0000000000e+00 3.8545115090e+00 2.2352822434e+00 0.0000000000e+00 2.7080295659e+02 5.3206091552e-02 6.9519796056e-02 6.9519796056e-02
1204794000: 5.5573014875e-02 2.1744301278e+00 0.0000000000e+00 4.1917843674e+00 2.2422103499e+00 0.0000000000e+00 2.8943258410e+02 5.3967256293e-02 6.7780222083e-02 6.7780222083e-02
1204794300: 6.8457992877e-02 2.1790914669e+00 0.0000000000e+00 3.6592233845e+00 2.2456301817e+00 0.0000000000e+00 3.1819697293e+02 5.3230971836e-02 6.9584119003e-02 6.6538714795e-02
1204794600: 5.4757622739e-02 2.1738592839e+00 0.0000000000e+00 4.2552465855e+00 2.2435511997e+00 0.0000000000e+00 2.8523786401e+02 5.3317977113e-02 6.9979844961e-02 6.9691915836e-02
1204794900: 6.8769379413e-02 2.1280434039e+00 0.0000000000e+00 3.5845235972e+00 2.1952026013e+00 0.0000000000e+00 3.2489793891e+02 5.3496246748e-02 6.7159197324e-02 6.7159197324e-02
1204795200: 5.4579310140e-02 2.1625823620e+00 0.0000000000e+00 3.6367746679e+00 2.2290645822e+00 0.0000000000e+00 2.9265751934e+02 5.3185776138e-02 6.6482220173e-02 6.6482220173e-02
1204795500: 6.8754023193e-02 2.1885101686e+00 0.0000000000e+00 3.8472944514e+00 2.2584159083e+00 0.0000000000e+00 3.1416122090e+02 5.3480890528e-02 6.9905739693e-02 6.9905739693e-02
1204795800: 5.4579310140e-02 2.1651110938e+00 0.0000000000e+00 3.1087299118e+00 2.2318720208e+00 0.0000000000e+00 2.8586601055e+02 5.3185776138e-02 6.6760926973e-02 6.6760926973e-02
1204796100: 6.8540199336e-02 2.1815529716e+00 0.0000000000e+00 4.0568329273e+00 2.2482004430e+00 0.0000000000e+00 3.3761815474e+02 5.3317977113e-02 6.6647471392e-02 6.6647471392e-02
1204796400: 5.4777777778e-02 2.1955111111e+00 0.0000000000e+00 3.6753555556e+00 2.2652222222e+00 0.0000000000e+00 2.8177048889e+02 5.3333333333e-02 6.9711111111e-02 6.9711111111e-02
1204796700: 6.5511111111e-02 2.1357777778e+00 0.0000000000e+00 3.6634888889e+00 2.2027333333e+00 0.0000000000e+00 3.1720786667e+02 5.3333333333e-02 6.6955555556e-02 6.6955555556e-02
1204797000: 5.4327057955e-02 2.1872578073e+00 0.0000000000e+00 3.2246659284e+00 2.2537221853e+00 0.0000000000e+00 2.9063068793e+02 5.3171502399e-02 6.6464377999e-02 6.6464377999e-02
1204797300: 6.8697096634e-02 2.2029943666e+00 0.0000000000e+00 3.3116625740e+00 2.2728874765e+00 0.0000000000e+00 3.1754072656e+02 5.3479705330e-02 6.9893109923e-02 6.9893109923e-02
1204797600: 5.4798067633e-02 2.1942589372e+00 0.0000000000e+00 3.9475381643e+00 2.2612347826e+00 0.0000000000e+00 2.8302491884e+02 5.3348792271e-02 6.6975845411e-02 6.6975845411e-02
1204797900: 6.8555555556e-02 2.1446222222e+00 0.0000000000e+00 3.2912222222e+00 2.2112888889e+00 0.0000000000e+00 3.0187102222e+02 5.3333333333e-02 6.6666666667e-02 6.6666666667e-02
1204798200: 5.4777777778e-02 2.1552222222e+00 0.0000000000e+00 4.0849111111e+00 2.2249333333e+00 0.0000000000e+00 2.7650837778e+02 5.3333333333e-02 6.9711111111e-02 6.9711111111e-02
1204798500: 6.8343152455e-02 2.1652942783e+00 0.0000000000e+00 3.5926725729e+00 2.2320475452e+00 0.0000000000e+00 2.8770953931e+02 5.3171502399e-02 6.6753266888e-02 6.6753266888e-02
1204798800: 5.4490990297e-02 2.1656124178e+00 0.0000000000e+00 3.1569153594e+00 2.2318573849e+00 0.0000000000e+00 2.8162537018e+02 5.2995973686e-02 6.6244967107e-02 6.6244967107e-02
1204799100: 6.8566228857e-02 2.1731058643e+00 0.0000000000e+00 3.6036747953e+00 2.2429524463e+00 0.0000000000e+00 2.6867542050e+02 5.3460320273e-02 6.9846582058e-02 6.9846582058e-02
1204799400: 5.5072463768e-02 2.1587513935e+00 0.0000000000e+00 3.2613154961e+00 2.2259531773e+00 0.0000000000e+00 2.8246586399e+02 5.3511705686e-02 6.7201783724e-02 6.7201783724e-02
1204799700: 6.8516053512e-02 2.2082804905e+00 0.0000000000e+00 3.6962995541e+00 2.2749672241e+00 0.0000000000e+00 2.7977940602e+02 5.3349386845e-02 6.6686733556e-02 6.6686733556e-02
1204800000: 5.4672093023e-02 2.2036186047e+00 0.0000000000e+00 3.6564348837e+00 2.2731069767e+00 0.0000000000e+00 2.8723146977e+02 5.3172093023e-02 6.9488372093e-02 6.9488372093e-02
1204800300: 6.8640170076e-02 2.1826605481e+00 0.0000000000e+00 4.0368753727e+00 2.2498187758e+00 0.0000000000e+00 2.8557506624e+02 5.3478520132e-02 7.0190557673e-02 6.7158227684e-02
1204800600: 5.4532990764e-02 2.1608899422e+00 0.0000000000e+00 3.1722542028e+00 2.2271749097e+00 0.0000000000e+00 2.9127866752e+02 5.3027974042e-02 6.6585970896e-02 6.6284967552e-02
1204800900: 6.8779130924e-02 2.2214939923e+00 0.0000000000e+00 3.3838858764e+00 2.2915534765e+00 0.0000000000e+00 2.7612126806e+02 5.3622531372e-02 7.0059484125e-02 7.0059484125e-02
1204801200: 5.4554202409e-02 2.1892786346e+00 0.0000000000e+00 3.7274827770e+00 2.2558858171e+00 0.0000000000e+00 2.9606909618e+02 5.3044135295e-02 6.6607182541e-02 6.6607182541e-02
1204801500: 6.8566228857e-02 2.2022170295e+00 0.0000000000e+00 3.8074473779e+00 2.2690424299e+00 0.0000000000e+00 2.8795963045e+02 5.3460320273e-02 6.6825400341e-02 6.6825400341e-02
1204801800: 5.5072463768e-02 2.1918840580e+00 0.0000000000e+00 3.9916164994e+00 2.2618060201e+00 0.0000000000e+00 3.0631224080e+02 5.3511705686e-02 6.9921962096e-02 6.9921962096e-02
1204802100: 6.7885360442e-02 2.2123717121e+00 0.0000000000e+00 3.6555234721e+00 2.2817620893e+00 0.0000000000e+00 4.2660159464e+02 5.2868858792e-02 6.9390377165e-02 6.9390377165e-02
1204802400: nan nan nan nan nan nan nan nan nan nan
So that tells me that there are MAX values in the RRA.

Thanks for the response! Any other hints?
Attachments
Graph definition
Graph definition
graph001-GraphDef.png (47.79 KiB) Viewed 9386 times
Post 5Min & Negative CDEF
Post 5Min & Negative CDEF
graph001-post5MinNeg.png (35.23 KiB) Viewed 9386 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Sort of Working but with odd results

Post by BSOD2600 »

merana wrote:Actually I didn't get any errors (at least not from Cacti WEB GUI) and none in the cacti.log or the webserver logs. The objects just didn't show up.
Odd. You didn't even get the screen saying the templates were imported correct?
merana wrote:Ah. I have an existing CDEF for that called "Make Stack Negative & Per 5 Min" which is like the one you described.
Yea, same one I have. I forget if I made that (which means some of the template got imported correctly) or if that comes with Cacti by default.
merana wrote:Could this be in the graph Min/Max values or perhaps the Scaling?
Hmm, I don't think so. I've attached my combined protocol page which is properly displaying the negative values. It's graph template is the same parameters as the one you posted.

merana wrote:If you look at the Legend section you can see that there are no values in the Maximum column of the Legend. It has the text label but no values.
Several options.
1) make the graphs wider
2) make the font size smaller
3) make the text shorter (i.e. maximum: -> max:).
Attachments
total traffic -- negative values shown properly.
total traffic -- negative values shown properly.
quad_total_traffic.png (41.49 KiB) Viewed 9366 times
User avatar
merana
Posts: 14
Joined: Sun Dec 22, 2002 3:32 pm
Location: So.Jersey/Philly
Contact:

Post by merana »

BSOD2600 wrote:Odd. You didn't even get the screen saying the templates were imported correct?
Yep no visible errors. I still haven't had the chance to try importing the V1 templates yet as I am a bit worried if they will munge the ones that are there now...
BSOD2600 wrote:Yea, same one I have. I forget if I made that (which means some of the template got imported correctly) or if that comes with Cacti by default.
I think that this CDEF came in when I brought in the Barracuda templates (which also need some work as well...)
BSOD2600 wrote:Hmm, I don't think so. I've attached my combined protocol page which is properly displaying the negative values. It's graph template is the same parameters as the one you posted.
I've got one graph that is showing the negative numbers but there are some huge gaps between the Ins and Outs that perhaps it can't be properly graphed because the vertical axis can support such a large difference in values between the positive and negative.

Image

Graph01 shows stats from a 6503 switch and the ipInReceives is showing a 134k Avg where as the ipOutRequests is only 673.07. Maybe this gap and the scale in combination with the graph total height is too large to be represented...

Image

Graph02 using the same template with a smaller variance between ipInReceives and ipOutRequests actually does show a very thin ipOutRequests area in the negative.

This actually has me wondering about the actual values being returned by the SNMP query. I suspect that these values are only showing numbers based on what is seen from a certain VLAN (maybe 1 - Cisco Default) while the other VLANs are not represented. The reason I say this is that on one of the other edge switches there is a HUGE spike and a much higher set of average numbers and all of that traffic trunks back to the core switches represented by Graph01 and Graph02.

Image

Graph03 shows this spike and the values for that edge switch. I need to dig a bit to find out more.
BSOD2600 wrote:Several options.
1) make the graphs wider
2) make the font size smaller
3) make the text shorter (i.e. maximum: -> max:).
I took the make it wider option but will trim it down some as it seems too wide now.

Thanks for all of the help on this. I'll continue to post what I find out about the relationship of the MIBs to the VLANs as I find out more.
Attachments
Graph01
Graph01
graph01.png (50.92 KiB) Viewed 9353 times
Graph02
Graph02
graph02.png (73.75 KiB) Viewed 9353 times
Graph03
Graph03
graph03.png (52.57 KiB) Viewed 9353 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Tiny error fixed with ss_protocol_ip.php.
Find new Upload at the first post of this thread
Reinhard
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

-Changelog-

2.0 - Rewrite of the scripts ditching the Script server for pure/fast SNMP Data Query. Delete the ss_protocol* scripts from your \cacti\scripts\ folder. Delete the various *protocol statistics Data Input Methods. The Data templates remain the same, so you should be able to continue to use the 1.x graph/data sources post-upgrade.
valleed
Posts: 13
Joined: Sun Nov 30, 2008 9:46 pm

Post by valleed »

BSOD2600 wrote:-Changelog-

2.0 - Rewrite of the scripts ditching the Script server for pure/fast SNMP Data Query. Delete the ss_protocol* scripts from your \cacti\scripts\ folder. Delete the various *protocol statistics Data Input Methods. The Data templates remain the same, so you should be able to continue to use the 1.x graph/data sources post-upgrade.
Thanks for the great set of template / script!

I did exactly as you suggested but I get error messages about unmet dependancy:

Code: Select all

Data Template
[success] RFC1213 - UDP [update]
[success] RFC1213 - TCP [update]
[success] RFC1213 - IP [update]
   + Found Dependency: (Data Input Method) Get SNMP Data (Indexed)
   + Unmet Dependency: (Data Input Field)
   + Found Dependency: (Data Input Field) SNMP Privacy Protocol (v3)
   + Found Dependency: (Data Input Field) SNMP Privacy Passphrase (v3)
   + Found Dependency: (Data Input Field) SNMP Authenticaion Protocol (v3)
   + Found Dependency: (Data Input Field) SNMP Port
   + Found Dependency: (Data Input Field) Output Type ID
   + Found Dependency: (Data Input Field) Index Value
   + Found Dependency: (Data Input Field) Index Type
   + Found Dependency: (Data Input Field) SNMP Version (1, 2, or 3)
   + Found Dependency: (Data Input Field) SNMP Password (v3)
   + Found Dependency: (Data Input Field) SNMP Username (v3)
   + Found Dependency: (Data Input Field) SNMP Community
   + Found Dependency: (Data Input Field) SNMP IP Address
[success] RFC1213 - Combined protocol traffic [update]
[success] RFC1213 - SNMP [update]
   + Found Dependency: (Data Input Method) Get SNMP Data (Indexed)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Unmet Dependency: (Data Input Field)
   + Found Dependency: (Data Input Field) SNMP Privacy Protocol (v3)
   + Found Dependency: (Data Input Field) SNMP Privacy Passphrase (v3)
   + Found Dependency: (Data Input Field) SNMP Authenticaion Protocol (v3)
   + Found Dependency: (Data Input Field) SNMP Port
   + Found Dependency: (Data Input Field) Output Type ID
   + Found Dependency: (Data Input Field) Index Value
   + Found Dependency: (Data Input Field) Index Type
   + Found Dependency: (Data Input Field) SNMP Version (1, 2, or 3)
   + Found Dependency: (Data Input Field) SNMP Password (v3)
   + Found Dependency: (Data Input Field) SNMP Username (v3)
   + Found Dependency: (Data Input Field) SNMP Community
   + Found Dependency: (Data Input Field) SNMP IP Address

Graph Template
[success] RFC1213 - UDP [update]
[success] RFC1213 - TCP [update]
[success] RFC1213 - IP [update]
   + Found Dependency: (Data Template Item) ipForwDatagrams
   + Found Dependency: (CDEF) Make Per 5 Minutes
   + Found Dependency: (GPRINT Preset) Normal
   + Found Dependency: (Data Template Item) ipFragCreates
   + Found Dependency: (Data Template Item) ipFragFails
   + Found Dependency: (Data Template Item) ipFragOKs
   + Found Dependency: (Data Template Item) ipInAddrErrors
   + Found Dependency: (Data Template Item) ipInDelivers
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Found Dependency: (Data Template Item) ipInHdrErrors
   + Found Dependency: (Data Template Item) ipInUnknownProtos
   + Found Dependency: (Data Template Item) ipOutDiscards
   + Found Dependency: (CDEF) Make Stack Negative & Per 5 Minutes
   + Found Dependency: (Data Template Item) ipOutNoRoutes
   + Found Dependency: (Data Template Item) ipReasmFails
   + Found Dependency: (Data Template Item) ipReasmReqds
   + Found Dependency: (Data Template Item) ipReasmTimeout
   + Found Dependency: (Data Template Item) ipRoutingDiscards
[success] RFC1213 - Combined protocol traffic [update]
[success] RFC1213 - SNMP [update]
   + Found Dependency: (Data Template Item) snmpInASNParseErrs
   + Found Dependency: (CDEF) Make Per 5 Minutes
   + Found Dependency: (GPRINT Preset) Normal
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Found Dependency: (Data Template Item) snmpInNoSuchNames
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Found Dependency: (CDEF) Make Stack Negative & Per 5 Minutes
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)

Data Query
[success] RFC1213 Statistics [update]
   + Found Dependency: (Data Input Method) Get SNMP Data (Indexed)
   + Found Dependency: (Graph Template) RFC1213 - UDP
   + Found Dependency: (Data Template) RFC1213 - UDP
   + Found Dependency: (Data Template Item) udpInErrors
   + Found Dependency: (Data Template Item) udpNoPorts
   + Found Dependency: (Graph Template) RFC1213 - TCP
   + Found Dependency: (Data Template) RFC1213 - TCP
   + Found Dependency: (Data Template Item) tcpActiveOpens
   + Found Dependency: (Data Template Item) tcpPassiveOpens
   + Found Dependency: (Data Template Item) tcpAttemptFails
   + Found Dependency: (Data Template Item) tcpEstabResets
   + Found Dependency: (Data Template Item) tcpCurrEstab
   + Found Dependency: (Data Template Item) tcpRetransSegs
   + Found Dependency: (Data Template Item) tcpInErrs
   + Found Dependency: (Data Template Item) tcpOutRsts
   + Found Dependency: (Graph Template) RFC1213 - IP
   + Found Dependency: (Data Template) RFC1213 - IP
   + Found Dependency: (Data Template Item) ipRoutingDiscards
   + Found Dependency: (Data Template Item) ipOutNoRoutes
   + Found Dependency: (Data Template Item) ipOutDiscards
   + Found Dependency: (Data Template Item) ipInDelivers
   + Unmet Dependency: (Data Template Item)
   + Found Dependency: (Data Template Item) ipInUnknownProtos
   + Found Dependency: (Data Template Item) ipForwDatagrams
   + Found Dependency: (Data Template Item) ipInAddrErrors
   + Found Dependency: (Data Template Item) ipInHdrErrors
   + Found Dependency: (Data Template Item) ipFragCreates
   + Found Dependency: (Data Template Item) ipFragFails
   + Found Dependency: (Data Template Item) ipFragOKs
   + Found Dependency: (Data Template Item) ipReasmFails
   + Found Dependency: (Data Template Item) ipReasmOKs
   + Found Dependency: (Data Template Item) ipReasmReqds
   + Found Dependency: (Data Template Item) ipReasmTimeout
   + Found Dependency: (Graph Template) RFC1213 - SNMP
   + Found Dependency: (Data Template) RFC1213 - SNMP
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Found Dependency: (Data Template Item) snmpInASNParseErrs
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Unmet Dependency: (Data Template Item)
   + Found Dependency: (Data Template Item) snmpInNoSuchNames
   + Found Dependency: (Graph Template) RFC1213 - Combined protocol traffic
   + Found Dependency: (Data Template) RFC1213 - Combined protocol traffic
   + Found Dependency: (Data Template Item) icmpOutMsgs
   + Found Dependency: (Data Template Item) icmpInMsgs
   + Found Dependency: (Data Template Item) snmpOutPkts
   + Found Dependency: (Data Template Item) ipInReceives
   + Found Dependency: (Data Template Item) tcpInSegs
   + Found Dependency: (Data Template Item) ipOutRequests
   + Found Dependency: (Data Template Item) udpInDatagrams
   + Found Dependency: (Data Template Item) tcpOutSegs
   + Found Dependency: (Data Template Item) udpOutDatagrams
   + Found Dependency: (Data Template Item) snmpInPkts
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm, odd.

valleed, delete the data query, graph templates and data templates for the RFC1213 stuff. Then try importing again.
MatsB
Cacti User
Posts: 57
Joined: Tue Jan 10, 2006 9:25 am

Post by MatsB »

I got the same problem as valleed.

Deleting the data query, graph templates and data templates and re-importing them did not help.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm you're both right. Looks like some sort of exporting bug with Cacti... Will have to investigate further.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The both of you mind trying the attached template and let me know if you have problems?

attachment deleted -- see first post for updated template
Last edited by BSOD2600 on Mon Apr 06, 2009 2:34 pm, edited 1 time in total.
MatsB
Cacti User
Posts: 57
Joined: Tue Jan 10, 2006 9:25 am

Post by MatsB »

BSOD2600 wrote:The both of you mind trying the attached template and let me know if you have problems?
Seems to be working just fine now.

Cacti has imported the following items:
CDEF
[success] Make Per 5 Minutes [update] [success] Make Stack Negative & Per 5 Minutes [update] [success] Make Stack Negative [update]
GPRINT Preset
[success] Normal [update]
Data Input Method
[success] Get SNMP Data (Indexed) [update]
Data Template
[success] RFC1213 - UDP [new] [success] RFC1213 - TCP [new] [success] RFC1213 - IP [new] [success] RFC1213 - Combined protocol traffic [new] [success] RFC1213 - SNMP [new]
Graph Template
[success] RFC1213 - UDP [new] [success] RFC1213 - TCP [new] [success] RFC1213 - IP [new] [success] RFC1213 - Combined protocol traffic [update] [success] RFC1213 - SNMP [new]
Data Query
[success] RFC1213 Statistics [update]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Great. I'll update the main post with the new template.

Seems there is a bug in cacti were copying existing templates, doesn't create new hash values for things.
User avatar
phreakocious
Posts: 7
Joined: Mon Sep 25, 2006 7:44 pm

Post by phreakocious »

Not sure if it's intentional or not, but it seems that the 'combined protocol statistics' graph did not get the 'per 5 minutes' treatment that the others did..

Otherwise, nice work!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You're right. I figured those traffic counters made more sense in their default form of per second, instead of per 5-min for those other tcp/ip/udp/snmp statistics. Wouldn't be hard to change it over in case someone wanted to....
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

BSOD2600, I downloaded the templates from the repository. Currently, we're using the script based stuff, so I'd like to upgrade.
But this is _NOT_ possible, because we're going from a "simple graph template" to a data query based approach.
Even if I did not research fully, I'm quite sure an upgrade will fail when only re-importing the templates. To be honest, I did not manage to upgrade 'til now and I consider myself being quite used to cacti.
If anyone manages to do it, please feel free to post. I will try to investigate more and come back with a solution, if possible.
Nevertheless, I greatly appreciate the re-write to pure SNMP, it's way faster
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest