{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/150","repository_url":"https://api.github.com/repos/prometheus/snmp_exporter","labels_url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/150/comments","events_url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/150/events","html_url":"https://github.com/prometheus/snmp_exporter/issues/150","id":223809204,"number":150,"title":"Allow overriding of MIB information","user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars3.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-24T12:50:51Z","updated_at":"2017-05-30T13:03:07Z","closed_at":null,"body":"Some MIBs aren't quite right, particularly around types. Figure out what's a sane config syntax to allow for per-module overrides of bits of MIBs."},"comment":{"url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/comments/304871252","html_url":"https://github.com/prometheus/snmp_exporter/issues/150#issuecomment-304871252","issue_url":"https://api.github.com/repos/prometheus/snmp_exporter/issues/150","id":304871252,"user":{"login":"fjaeckel","id":273436,"avatar_url":"https://avatars2.githubusercontent.com/u/273436?v=3","gravatar_id":"","url":"https://api.github.com/users/fjaeckel","html_url":"https://github.com/fjaeckel","followers_url":"https://api.github.com/users/fjaeckel/followers","following_url":"https://api.github.com/users/fjaeckel/following{/other_user}","gists_url":"https://api.github.com/users/fjaeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/fjaeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjaeckel/subscriptions","organizations_url":"https://api.github.com/users/fjaeckel/orgs","repos_url":"https://api.github.com/users/fjaeckel/repos","events_url":"https://api.github.com/users/fjaeckel/events{/privacy}","received_events_url":"https://api.github.com/users/fjaeckel/received_events","type":"User","site_admin":false},"created_at":"2017-05-30T13:03:07Z","updated_at":"2017-05-30T13:03:07Z","body":"The value I see here is to extract signed floats out of SNMP result data, one of the examples I have is optical monitoring data provided by Brocade NetIron (CER/CES/MLX/XMR series) that are widely used in the internet industry where the temperature, Rx/Tx light levels and power of a SFP (or pluggable module in general) is being returned as a string, as brocade thinks its important to say what normal and whats not, an example:\r\n\r\n```\r\n$ snmpwalk -v2c -c community hostname 1.3.6.1.4.1.1991.1.1.3.3.10\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.2.65.1 = STRING: \"   50.0703 C: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.2.65.2 = STRING: \"   50.0625 C: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.2.65.3 = STRING: \"   50.0039 C: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.2.65.4 = STRING: \"   50.0234 C: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.2.66.1 = STRING: \"     NOT SUPPORTED     \"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.3.65.1 = STRING: \" -000.0493 dBm: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.3.65.2 = STRING: \"  000.0285 dBm: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.3.65.3 = STRING: \"  000.3414 dBm: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.3.65.4 = STRING: \" -000.0091 dBm: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.3.66.1 = STRING: \"     NOT SUPPORTED     \"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.4.65.1 = STRING: \" -003.7355 dBm: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.4.65.2 = STRING: \" -003.5134 dBm: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.4.65.3 = STRING: \" -003.2688 dBm: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.4.65.4 = STRING: \" -003.7509 dBm: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.4.66.1 = STRING: \"     NOT SUPPORTED     \"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.5.65.1 = STRING: \"   55.004 mA: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.5.65.2 = STRING: \"   55.004 mA: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.5.65.3 = STRING: \"   55.004 mA: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.5.65.4 = STRING: \"   44.970 mA: Normal\"\r\niso.3.6.1.4.1.1991.1.1.3.3.10.1.5.66.1 = STRING: \"     NOT SUPPORTED     \"```"}}
{"actor":{"display_login":"fjaeckel"}}