Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48567

Warnings while processing snmpwalk

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0, 4.2.15, 4.4.7
    • Admin, Diagnostics
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Security 2020-06-29, Security 2020-09-07, Security 2020-11-16

    Description

      When running the server in SNMP master mode, I performed an SNMP walk with the following command:

      snmpwalk -m docs/MONGODBINC-MIB.txt -v 2c -c mongodb 127.0.0.1:1161 1.3.6.1.4.1.34601
      

      This produced the following set of warnings in the server logs which included the following:

      {"t":{"$date":"2020-06-03T11:01:39.471-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","m
      sg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1.34601.1.1.1.2.1.3.1.1.5.50.55.48.49.55","e_what":"wrong type for field (insert) long != int"}}            
      {"t":{"$date":"2020-06-03T11:01:39.475-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","msg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1
      .34601.1.1.1.2.1.3.1.2.5.50.55.48.49.55","e_what":"wrong type for field (query) long != int"}}             {"t":{"$date":"2020-06-03T11:01:39.478-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","m
      sg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1.34601.1.1.1.2.1.3.1.3.5.50.55.48.49.55","e_what":"wrong type for field (update) long != int"}}
      {"t":{"$date":"2020-06-03T11:01:39.482-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","msg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1
      .34601.1.1.1.2.1.3.1.4.5.50.55.48.49.55","e_what":"wrong type for field (delete) long != int"}}            
      {"t":{"$date":"2020-06-03T11:01:39.486-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","m
      sg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1
      .34601.1.1.1.2.1.3.1.5.5.50.55.48.49.55","e_what":"wrong type for field (getmore) long != int"}}
      {"t":{"$date":"2020-06-03T11:01:39.489-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","m
      sg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1
      .34601.1.1.1.2.1.3.1.6.5.50.55.48.49.55","e_what":"wrong type for field (command) long != int"}}
      {"t":{"$date":"2020-06-03T11:01:39.493-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","m
      sg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1
      .34601.1.1.1.2.1.3.2.1.5.50.55.48.49.55","e_what":"wrong type for field (insert) long != int"}}
      {"t":{"$date":"2020-06-03T11:01:39.497-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","m
      sg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1
      .34601.1.1.1.2.1.3.2.2.5.50.55.48.49.55","e_what":"wrong type for field (query) long != int"}}
      {"t":{"$date":"2020-06-03T11:01:39.501-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","m
      sg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1
      .34601.1.1.1.2.1.3.2.3.5.50.55.48.49.55","e_what":"wrong type for field (update) long != int"}}
      {"t":{"$date":"2020-06-03T11:01:39.504-04:00"},"s":"W",  "c":"NETWORK",  "id":24005,   "ctx":"SnmpAgent","m
      sg":"exception on retrieval of {oidManager_var_name}: {e_what}","attr":{"oidManager_var_name":".1.3.6.1.4.1
      .34601.1.1.1.2.1.3.2.4.5.50.55.48.49.55","e_what":"wrong type for field (delete) long != int"}}
      
      

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: