SNMP Data Query runs fine, but not graphs created,

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

Moderators: Developers, Moderators

Post Reply
vgrig
Posts: 16
Joined: Fri Mar 25, 2016 2:28 pm

SNMP Data Query runs fine, but not graphs created,

Post by vgrig »

I've been trying for a while to make older NetApp templates to work with current versions of OnTap (see http://forums.cacti.net/viewtopic.php?f=12&t=55805)
Was able to make both volume and qtree usage work, but run into very strange problem: when i setup user quotas on homedirs, all qtrees stop graphing and it those quotas are present on a host just added to cacti - RRDs are never created.
Data query runs fine and finishes without errors (see below)
I think this may have something to do SNMP values returned being either empty or * for PathName (attached "Data Query NetApp - QTrees with homedirs.png") as opposed to actual path for regular (non-homedir) qtrees (attached "Data Query NetApp - QTrees no homedirs.png" from another NetApp). Now - i don't really need to graph user quotas, but even graphs with valid PathName not graphing.
Any ideas? Any way drop empty values and * from data query?

Here is debug outputs.
With empty values:

Code: Select all

+ Running data query [11].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/netapp-qtrees-v2-64-bit-cdot.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.789.1.4.6.1.1' Index Count: 16
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1038.1' value: '1'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.1' value: '1'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.2' value: '2'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.3' value: '3'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.4' value: '4'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.5' value: '5'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.7' value: '7'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.9' value: '9'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.11' value: '11'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.13' value: '13'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.15' value: '15'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.17' value: '17'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.19' value: '19'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.21' value: '21'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.23' value: '23'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.25' value: '25'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1038.1' results: '1038.1'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.1' results: '1042.1'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.2' results: '1042.2'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.3' results: '1042.3'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.4' results: '1042.4'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.5' results: '1042.5'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.7' results: '1042.7'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.9' results: '1042.9'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.11' results: '1042.11'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.13' results: '1042.13'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.15' results: '1042.15'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.17' results: '1042.17'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.19' results: '1042.19'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.21' results: '1042.21'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.23' results: '1042.23'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.25' results: '1042.25'
+ Located input field 'qrV2Index' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.1'
+ Located input field 'qrV2Type' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.2'
+ Found item [qrV2Type='3'] index: 1038.1 [from value]
+ Found item [qrV2Type='3'] index: 1042.1 [from value]
+ Found item [qrV2Type='3'] index: 1042.2 [from value]
+ Found item [qrV2Type='3'] index: 1042.3 [from value]
+ Found item [qrV2Type='4'] index: 1042.4 [from value]
+ Found item [qrV2Type='1'] index: 1042.5 [from value]
+ Found item [qrV2Type='1'] index: 1042.7 [from value]
+ Found item [qrV2Type='1'] index: 1042.9 [from value]
+ Found item [qrV2Type='1'] index: 1042.11 [from value]
+ Found item [qrV2Type='1'] index: 1042.13 [from value]
+ Found item [qrV2Type='1'] index: 1042.15 [from value]
+ Found item [qrV2Type='1'] index: 1042.17 [from value]
+ Found item [qrV2Type='1'] index: 1042.19 [from value]
+ Found item [qrV2Type='1'] index: 1042.21 [from value]
+ Found item [qrV2Type='1'] index: 1042.23 [from value]
+ Found item [qrV2Type='1'] index: 1042.25 [from value]
+ Located input field 'qrV2PathName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.12'
+ Found item [qrV2PathName='/vol/vol0_dalet01/qtree_NJTV_Dalet01_NJTV_ingest'] index: 1038.1 [from value]
+ Found item [qrV2PathName='/vol/vol1_edit01/qtree_NJTV_Edit'] index: 1042.1 [from value]
+ Found item [qrV2PathName='/vol/vol1_edit01/qtree_NJTV_homedirs'] index: 1042.2 [from value]
+ Found item [qrV2PathName='/vol/vol1_edit01/qtree_NJTV_share'] index: 1042.3 [from value]
+ Found item [qrV2PathName='*'] index: 1042.4 [from value]
+ Found item [qrV2PathName='*'] index: 1042.5 [from value]
+ Found item [qrV2PathName='*'] index: 1042.7 [from value]
+ Found item [qrV2PathName=''] index: 1042.9 [from value]
+ Found item [qrV2PathName='*'] index: 1042.11 [from value]
+ Found item [qrV2PathName='*'] index: 1042.13 [from value]
+ Found item [qrV2PathName='*'] index: 1042.15 [from value]
+ Found item [qrV2PathName='*'] index: 1042.17 [from value]
+ Found item [qrV2PathName='*'] index: 1042.19 [from value]
+ Found item [qrV2PathName='*'] index: 1042.21 [from value]
+ Found item [qrV2PathName='*'] index: 1042.23 [from value]
+ Found item [qrV2PathName='*'] index: 1042.25 [from value]
+ Located input field 'qrV2Volume' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.13'
+ Found item [qrV2Volume='1038'] index: 1038.1 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.1 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.2 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.3 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.4 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.5 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.7 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.9 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.11 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.13 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.15 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.17 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.19 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.21 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.23 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.25 [from value]
+ Located input field 'qrV2Tree' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.14'
+ Found item [qrV2Tree='qtree_NJTV_Dalet01_NJTV_ingest'] index: 1038.1 [from value]
+ Found item [qrV2Tree='qtree_NJTV_Edit'] index: 1042.1 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.2 [from value]
+ Found item [qrV2Tree='qtree_NJTV_share'] index: 1042.3 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.4 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.5 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.7 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.9 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.11 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.13 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.15 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.17 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.19 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.21 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.23 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.25 [from value]
And from normal, working graphs:

Code: Select all

+ Running data query [11].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/netapp-qtrees-v2-64-bit-cdot.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.789.1.4.6.1.1' Index Count: 16
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1038.1' value: '1'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.1' value: '1'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.2' value: '2'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.3' value: '3'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.4' value: '4'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.5' value: '5'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.7' value: '7'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.9' value: '9'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.11' value: '11'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.13' value: '13'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.15' value: '15'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.17' value: '17'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.19' value: '19'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.21' value: '21'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.23' value: '23'
+ Index found at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.25' value: '25'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1038.1' results: '1038.1'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.1' results: '1042.1'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.2' results: '1042.2'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.3' results: '1042.3'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.4' results: '1042.4'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.5' results: '1042.5'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.7' results: '1042.7'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.9' results: '1042.9'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.11' results: '1042.11'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.13' results: '1042.13'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.15' results: '1042.15'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.17' results: '1042.17'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.19' results: '1042.19'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.21' results: '1042.21'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.23' results: '1042.23'
+ index_parse at OID: '1.3.6.1.4.1.789.1.4.6.1.1.1042.25' results: '1042.25'
+ Located input field 'qrV2Index' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.1'
+ Located input field 'qrV2Type' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.2'
+ Found item [qrV2Type='3'] index: 1038.1 [from value]
+ Found item [qrV2Type='3'] index: 1042.1 [from value]
+ Found item [qrV2Type='3'] index: 1042.2 [from value]
+ Found item [qrV2Type='3'] index: 1042.3 [from value]
+ Found item [qrV2Type='4'] index: 1042.4 [from value]
+ Found item [qrV2Type='1'] index: 1042.5 [from value]
+ Found item [qrV2Type='1'] index: 1042.7 [from value]
+ Found item [qrV2Type='1'] index: 1042.9 [from value]
+ Found item [qrV2Type='1'] index: 1042.11 [from value]
+ Found item [qrV2Type='1'] index: 1042.13 [from value]
+ Found item [qrV2Type='1'] index: 1042.15 [from value]
+ Found item [qrV2Type='1'] index: 1042.17 [from value]
+ Found item [qrV2Type='1'] index: 1042.19 [from value]
+ Found item [qrV2Type='1'] index: 1042.21 [from value]
+ Found item [qrV2Type='1'] index: 1042.23 [from value]
+ Found item [qrV2Type='1'] index: 1042.25 [from value]
+ Located input field 'qrV2PathName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.12'
+ Found item [qrV2PathName='/vol/vol0_dalet01/qtree_NJTV_Dalet01_NJTV_ingest'] index: 1038.1 [from value]
+ Found item [qrV2PathName='/vol/vol1_edit01/qtree_NJTV_Edit'] index: 1042.1 [from value]
+ Found item [qrV2PathName='/vol/vol1_edit01/qtree_NJTV_homedirs'] index: 1042.2 [from value]
+ Found item [qrV2PathName='/vol/vol1_edit01/qtree_NJTV_share'] index: 1042.3 [from value]
+ Found item [qrV2PathName='*'] index: 1042.4 [from value]
+ Found item [qrV2PathName='*'] index: 1042.5 [from value]
+ Found item [qrV2PathName='*'] index: 1042.7 [from value]
+ Found item [qrV2PathName=''] index: 1042.9 [from value]
+ Found item [qrV2PathName='*'] index: 1042.11 [from value]
+ Found item [qrV2PathName='*'] index: 1042.13 [from value]
+ Found item [qrV2PathName='*'] index: 1042.15 [from value]
+ Found item [qrV2PathName='*'] index: 1042.17 [from value]
+ Found item [qrV2PathName='*'] index: 1042.19 [from value]
+ Found item [qrV2PathName='*'] index: 1042.21 [from value]
+ Found item [qrV2PathName='*'] index: 1042.23 [from value]
+ Found item [qrV2PathName='*'] index: 1042.25 [from value]
+ Located input field 'qrV2Volume' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.13'
+ Found item [qrV2Volume='1038'] index: 1038.1 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.1 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.2 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.3 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.4 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.5 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.7 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.9 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.11 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.13 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.15 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.17 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.19 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.21 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.23 [from value]
+ Found item [qrV2Volume='1042'] index: 1042.25 [from value]
+ Located input field 'qrV2Tree' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.789.1.4.6.1.14'
+ Found item [qrV2Tree='qtree_NJTV_Dalet01_NJTV_ingest'] index: 1038.1 [from value]
+ Found item [qrV2Tree='qtree_NJTV_Edit'] index: 1042.1 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.2 [from value]
+ Found item [qrV2Tree='qtree_NJTV_share'] index: 1042.3 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.4 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.5 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.7 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.9 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.11 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.13 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.15 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.17 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.19 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.21 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.23 [from value]
+ Found item [qrV2Tree='qtree_NJTV_homedirs'] index: 1042.25 [from value]
Thanks in advance.
Attachments
Data Query NetApp - QTrees with homedirs.png
Data Query NetApp - QTrees with homedirs.png (44.37 KiB) Viewed 641 times
Data Query NetApp - QTrees no homedirs.png
Data Query NetApp - QTrees no homedirs.png (48.82 KiB) Viewed 641 times
vgrig
Posts: 16
Joined: Fri Mar 25, 2016 2:28 pm

Re: SNMP Data Query runs fine, but not graphs created,

Post by vgrig »

So no one has any idea how to deal with this? Anyone? Bueller? :-P
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests