Ryan,<br>If I'm not mistaken, your Instance MIB has to be in the same tree as your Values MIB. I looked up the MIB you're working with here, <a href="http://www.oidview.com/mibs/2636/JUNIPER-COS-MIB.html">http://www.oidview.com/mibs/2636/JUNIPER-COS-MIB.html</a>, and I'd suggest trying JUNIPER-COS-MIB::jnxCosIfqIfIndex as your Instance, and then whatever values you want.<br>
<br>Mark<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 4:49 PM, ryanL <span dir="ltr"><<a href="mailto:ryan.landry@gmail.com" target="_blank">ryan.landry@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
i am struggling getting this to index cleanly into whisper files, and<br>
i'm not quite sure why. i'm noticing this error in log:<br>
<br>
Nov 1 23:12:20 test-app-1 collectd[11197]: snmp plugin:<br>
csnmp_instance_list_add failed.<br>
Nov 1 23:13:20 test-app-1 collectd[11197]: snmp plugin:<br>
csnmp_instance_list_add failed.<br>
<br>
when polling my test switch for queue drops, i use this mib::oid pair:<br>
<br>
JUNIPER-COS-MIB::jnxCosIfqTailDropPktRate<br>
<br>
snmpwalk will return four values for the default switch port queues:<br>
<br>
JUNIPER-COS-MIB::jnxCosIfqTailDropPktRate.650."best-effort" = Counter64: 0<br>
JUNIPER-COS-MIB::jnxCosIfqTailDropPktRate.650."network-control" = Counter64: 0<br>
JUNIPER-COS-MIB::jnxCosIfqTailDropPktRate.650."assured-forwarding" =<br>
Counter64: 0<br>
JUNIPER-COS-MIB::jnxCosIfqTailDropPktRate.650."expedited-forwarding" =<br>
Counter64: 0<br>
<br>
with the following in my types.db.custom:<br>
<br>
ex_q_drop drops:COUNTER:0:U<br>
<br>
and this in my collectd.conf:<br>
<br>
<Data "ex_q_drop"><br>
Type "ex_q_drop"<br>
Table true<br>
Instance "IF-MIB::ifName"<br>
Values "JUNIPER-COS-MIB::jnxCosIfqTailDropPkts"<br>
</Data><br>
<br>
i had though maybe i could index them against the ifName or ifDesc<br>
value much like std_traffic, but this seems to generate the error.<br>
when i comment out the instance, the query works but generates an<br>
awful lot of whisper buckets (as would be expected):<br>
<br>
root@test-app-1 etc # ls /opt/graphite/storage/whisper/fsaa-rs1/snmp/<br>
Display all 267 possibilities? (y or n)<br>
ex_q_drop-504_20_101_120_112_101_100_105_116_101_100_45_102_111_114_119_/<br>
ex_q_drop-506_11_98_101_115_116_45_101_102_102_111_114_116/<br>
ex_q_drop-510_18_97_115_115_117_114_101_100_45_102_111_114_119_97_114_100/<br>
ex_q_drop-520_18_97_115_115_117_114_101_100_45_102_111_114_119_97_114_100/<br>
ex_q_drop-522_11_98_101_115_116_45_101_102_102_111_114_116/<br>
ex_q_drop-522_15_110_101_116_119_111_114_107_45_99_111_110_116_114_111_/<br>
ex_q_drop-524_20_101_120_112_101_100_105_116_101_100_45_102_111_114_119_/<br>
ex_q_drop-530_18_97_115_115_117_114_101_100_45_102_111_114_119_97_114<br>
<snip><br>
<br>
wondering if anyone could clue me on what i'm doing wrong, or how to<br>
work around this.<br>
<br>
could i potentially add this oid to the std_traffic data block and add<br>
an extra value to std_traffic in types.db? (i'll probably try this<br>
next for fun, anyhow).<br>
<br>
thanks!<br>
<br>
ryan<br>
<br>
_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
</blockquote></div><br></div>