Data Query Issue

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

Moderators: Developers, Moderators

Post Reply
poezie
Posts: 24
Joined: Tue Feb 28, 2006 7:53 am

Data Query Issue

Post by poezie »

Hi All

I am trying to get the riverhead template working. All imported correctly but when I do a (verbose query) on the riverhead snmp data query I get the following error

Data Query Debug Information

+ Running data query [14].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/riverhead.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9816.2.1.1.2'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/resource/snmp_queries/riverhead.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/riverhead.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/riverhead.xml'


I have done snmpwalks and snmpgets to this OID and data is returned.

If there anyone that can assist on this as I really need to get this graphing

Thanks
dus001
Posts: 42
Joined: Sun Aug 07, 2005 6:07 am

Re: Data Query Issue

Post by dus001 »

poezie wrote:+ Found data query XML file at '/var/www/html/resource/snmp_queries/riverhead.xml'
poezie wrote:I have done snmpwalks and snmpgets to this OID and data is returned.
can you post the result of your snmwalk, and the content of reiverhead.xml ?
poezie
Posts: 24
Joined: Tue Feb 28, 2006 7:53 am

Content of the riverhead.xml

Post by poezie »

The SNMP walk of .1.3.6.1.4.1.9816.2.1.1.2 gives the Zone names (which unfortunatley I can't post) but basically would look like

[ ~]# snmpwalk -v 2c -c {community name} {host IP} .1.3.6.1.4.1.9816.2.1.1.2
SNMPv2-SMI::enterprises.9816.2.1.1.2.1038 = STRING: "Zone1"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1039 = STRING: "Zone2"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1040 = STRING: "Zone3"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1041 = STRING: "Zone4"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1042 = STRING: "Zone5"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1043 = STRING: "Zone6"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1044 = STRING: "Zone7"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1046 = STRING: "Zone8"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1047 = STRING: "Zone9"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1052 = STRING: "Zone10"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1054 = STRING: "Zone11"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1056 = STRING: "Zone12"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1057 = STRING: "Zone13"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1058 = STRING: "Zone14"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1059 = STRING: "Zone15"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1060 = STRING: "Zone16"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1061 = STRING: "Zone17"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1062 = STRING: "Zone18"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1063 = STRING: "Zone19"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1064 = STRING: "Zone20"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1065 = STRING: "Zone21"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1066 = STRING: "Zone22"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1067 = STRING: "Zone23"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1071 = STRING: "Zone24"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1072 = STRING: "Zone25"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1073 = STRING: "Zone26"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1075 = STRING: "Zone27"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1076 = STRING: "Zone28"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1077 = STRING: "Zone29"
SNMPv2-SMI::enterprises.9816.2.1.1.2.1079 = STRING: "Zone30"

--------riverhead.xml-------------------------
<interface>
<name>Get SNMP Zones</name>
<description> Queries a Cisco Guard for a list of Zones</description>
<oid_index>.1.3.6.1.4.1.9816.2.1.1.2</oid_index>
<fields>
<rhZoneName>
<name>Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.2</oid>
</rhZoneName>
<rhZoneLimitRate>
<name>RateLimit</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.14</oid>
</rhZoneLimitRate>
<rhZoneLimitBurstSize>
<name>Burst</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.15</oid>
</rhZoneLimitBurstSize>
<rhZoneLimitUnit>
<name>Unit (5=Mbit/s)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.16</oid>
</rhZoneLimitUnit>
<rhZoneRxPckts>
<name>Rx Pckt</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.17</oid>
</rhZoneRxPckts>
<rhZoneRxBits>
<name>RX Bit</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.18</oid>
</rhZoneRxBits>
<rhZoneDrpPckts>
<name>Drp Pckt</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.19</oid>
</rhZoneDrpPckts>
<rhZoneDrpBits>
<name>Drp Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.20</oid>
</rhZoneDrpBits>
<rhZoneFwdPckts>
<name>Fwd Pckt</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.21</oid>
</rhZoneFwdPckts>
<rhZoneFwdBits>
<name>Fwd Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.22</oid>
</rhZoneFwdBits>
<rhZoneRplyPckts>
<name>Rply Pckt</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.23</oid>
</rhZoneRplyPckts>
<rhZoneRplyBits>
<name>Rply Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.24</oid>
</rhZoneRplyBits>
<rhZoneSpfdPckts>
<name>Spoofed Pckt</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.25</oid>
</rhZoneSpfdPckts>
<rhZoneSpfdBits>
<name>Spoofed Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.1.1.26</oid>
</rhZoneSpfdBits>

<rhZoneFlexFilterPckts>
<name>Flex Filter Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.3</oid>
</rhZoneFlexFilterPckts>
<rhZoneFlexFilterBits>
<name>Flex Filter Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.4</oid>
</rhZoneFlexFilterBits>
<rhZoneUserFilterPckts>
<name>User Filter Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.5</oid>
</rhZoneUserFilterPckts>
<rhZoneUserFilterBits>
<name>User Filter Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.6</oid>
</rhZoneUserFilterBits>
<rhZoneDynFilterPckts>
<name>Dynamic Filter Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.7</oid>
</rhZoneDynFilterPckts>
<rhZoneDynFilterBits>
<name>Dynamic Filter Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.8</oid>
</rhZoneDynFilterBits>
<rhZoneBadUDP2Port53Pckts>
<name>Bad UDP 53 Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.39</oid>
</rhZoneBadUDP2Port53Pckts>
<rhZoneBadUDP2Port53Bits>
<name>Bad UDP 53 Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.40</oid>
</rhZoneBadUDP2Port53Bits>
<rhZoneDNSShortQueryPckts>
<name>DNS Short Query Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.41</oid>
</rhZoneDNSShortQueryPckts>
<rhZoneDNSShortQueryBits>
<name>DNS Short Query Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.42</oid>
</rhZoneDNSShortQueryBits>
<rhZoneMalformedDNSResponsePckts>
<name>Malformed DNS Response Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.43</oid>
</rhZoneMalformedDNSResponsePckts>
<rhZoneMalformedDNSResponseBits>
<name>Malformed DNS Response Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.44</oid>
</rhZoneMalformedDNSResponseBits>
<rhZoneSpoofedDNSResponsePckts>
<name>Spoofed DNS Response Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.45</oid>
</rhZoneSpoofedDNSResponsePckts>
<rhZoneSpoofedDNSResponseBits>
<name>Spoofed DNS Response Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.46</oid>
</rhZoneSpoofedDNSResponseBits>
<rhZoneBad2ProxyIPsPckts>
<name>Bad to Proxy IP Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.37</oid>
</rhZoneBad2ProxyIPsPckts>
<rhZoneBad2ProxyIPsBits>
<name>Bad to Proxy IP Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.38</oid>
</rhZoneBad2ProxyIPsBits>
<rhZoneAntiSpoofingDNSPckts>
<name>Anti Spoofing DNS Pckts</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.35</oid>
</rhZoneAntiSpoofingDNSPckts>
<rhZoneAntiSpoofingDNSBits>
<name>Anti Spoofing DNS Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.36</oid>
</rhZoneAntiSpoofingDNSBits>
<rhZoneAntiSpoofingTCPPckts>
<name>Anti Spoofing TCP Pckts</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.33</oid>
</rhZoneAntiSpoofingTCPPckts>
<rhZoneAntiSpoofingTCPBits>
<name>Anti Spoofing TCP Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.34</oid>
</rhZoneAntiSpoofingTCPBits>
<rhZoneAntiSpoofingErrorPckts>
<name>Anti Spoofing Error Pckts</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.31</oid>
</rhZoneAntiSpoofingErrorPckts>
<rhZoneAntiSpoofingErrorBits>
<name>Anti Spoofing Error Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.32</oid>
</rhZoneAntiSpoofingErrorBits>
<rhZoneUnauthOtherPFragBasicPckts>
<name>Unauth Other P Frag Basic Pckts</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.29</oid>
</rhZoneUnauthOtherPFragBasicPckts>
<rhZoneUnauthOtherPFragBasicBits>
<name>Unauth Other P Frag Basic Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.30</oid>
</rhZoneUnauthOtherPFragBasicBits>
<rhZoneUnauthUDPFragBasicPckts>
<name>Unauth UDP Frag Basic Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.27</oid>
</rhZoneUnauthUDPFragBasicPckts>
<rhZoneUnauthUDPFragBasicBits>
<name>Unauth UDP Frag Basic Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.28</oid>
</rhZoneUnauthUDPFragBasicBits>
<rhZoneUnauthTCPFragBasicPckts>
<name>Unauth TCP Frag Basic Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.25</oid>
</rhZoneUnauthTCPFragBasicPckts>
<rhZoneUnauthTCPFragBasicBits>
<name>Unauth TCP Frag Basic Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.26</oid>
</rhZoneUnauthTCPFragBasicBits>
<rhZoneUnauthOtherPBasicPckts>
<name>Unauth Other P Basic Pckts</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.23</oid>
</rhZoneUnauthOtherPBasicPckts>
<rhZoneUnauthOtherPBasicBits>
<name>Unauth Other P Basic Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.24</oid>
</rhZoneUnauthOtherPBasicBits>
<rhZoneUnauthUDPStrongPckts>
<name>Unauth UDP Strong Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.21</oid>
</rhZoneUnauthUDPStrongPckts>
<rhZoneUnauthUDPStrongBits>
<name>Unauth UDP Strong Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.22</oid>
</rhZoneUnauthUDPStrongBits>
<rhZoneUnauthUDPBasicPckts>
<name>Unauth UDP Basic Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.19</oid>
</rhZoneUnauthUDPBasicPckts>
<rhZoneUnauthUDPBasicBits>
<name>Unauth UDP Basic Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.20</oid>
</rhZoneUnauthUDPBasicBits>
<rhZoneUnauthTCPoutStrongPckts>
<name>Unauth TCP out Strong Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.17</oid>
</rhZoneUnauthTCPoutStrongPckts>
<rhZoneUnauthTCPoutStrongBits>
<name>Unauth TCP out Strong Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.18</oid>
</rhZoneUnauthTCPoutStrongBits>
<rhZoneUnauthTCPinStrongPckts>
<name>Unauth TCP in Strong Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.15</oid>
</rhZoneUnauthTCPinStrongPckts>
<rhZoneUnauthTCPinStrongBits>
<name>Unauth TCP in Strong Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.16</oid>
</rhZoneUnauthTCPinStrongBits>
<rhZoneUnauthTCPinBasicPckts>
<name>Unauth TCP in Basic Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.13</oid>
</rhZoneUnauthTCPinBasicPckts>
<rhZoneUnauthTCPinBasicBits>
<name>Unauth TCP in Basic Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.14</oid>
</rhZoneUnauthTCPinBasicBits>
<rhZoneLandAttackPckts>
<name>Land Attack Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.11</oid>
</rhZoneLandAttackPckts>
<rhZoneLandAttackBits>
<name>Land Attack Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.12</oid>
</rhZoneLandAttackBits>
<rhZoneTotalOverRateLimitPckts>
<name>Total over Rate Limit Packets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.9</oid>
</rhZoneTotalOverRateLimitPckts>
<rhZoneTotalOverRateLimitBits>
<name>Total over Rate Limit Bits</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9816.2.2.1.10</oid>
</rhZoneTotalOverRateLimitBits>


</fields>
</interface>
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post to the original thread
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests