{"id":4666,"date":"2022-11-21T16:29:00","date_gmt":"2022-11-21T22:29:00","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=4666"},"modified":"2022-11-21T16:27:42","modified_gmt":"2022-11-21T22:27:42","slug":"oids-for-ui-ubiquiti-solar-charge-controller","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/oids-for-ui-ubiquiti-solar-charge-controller\/","title":{"rendered":"OIDs for UI \/ Ubiquiti Solar Charge Controller"},"content":{"rendered":"\n<p>Here is a list of OIDs for Ubiquiti&#8217;s solar charge controller.  You can download the <\/p>\n\n\n\n<p>Top interesting ones are <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Battery Voltage  1.3.6.1.4.1.41112.1.11.1.1.2<\/li>\n\n\n\n<li>Panel Voltage  1.3.6.1.4.1.41112.1.11.1.2.2<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">snmptranslate -Pu -Tz -m .\/UBNT-MIB:.\/UBNT-SUNMAX-MIB\n\"org\"                   \"1.3\"\n\"dod\"                   \"1.3.6\"\n\"internet\"                      \"1.3.6.1\"\n\"directory\"                     \"1.3.6.1.1\"\n\"mgmt\"                  \"1.3.6.1.2\"\n\"mib-2\"                 \"1.3.6.1.2.1\"\n\"transmission\"                  \"1.3.6.1.2.1.10\"\n\"experimental\"                  \"1.3.6.1.3\"\n\"private\"                       \"1.3.6.1.4\"\n\"enterprises\"                   \"1.3.6.1.4.1\"\n\"ubnt\"                  \"1.3.6.1.4.1.41112\"\n\"ubntMIB\"                       \"1.3.6.1.4.1.41112.1\"\n\"ubntORTable\"                   \"1.3.6.1.4.1.41112.1.1\"\n\"ubntOREntry\"                   \"1.3.6.1.4.1.41112.1.1.1\"\n\"ubntORIndex\"                   \"1.3.6.1.4.1.41112.1.1.1.1\"\n\"ubntORID\"                      \"1.3.6.1.4.1.41112.1.1.1.2\"\n\"ubntORDescr\"                   \"1.3.6.1.4.1.41112.1.1.1.3\"\n\"ubntSnmpInfo\"                  \"1.3.6.1.4.1.41112.1.2\"\n\"ubntSnmpGroups\"                        \"1.3.6.1.4.1.41112.1.2.1\"\n\"ubntORInfoGroup\"                       \"1.3.6.1.4.1.41112.1.2.1.1\"\n\"ubntORCompliance\"                      \"1.3.6.1.4.1.41112.1.2.1.2\"\n\"ubntAirosGroups\"                       \"1.3.6.1.4.1.41112.1.2.2\"\n\"ubntAirFiberGroups\"                    \"1.3.6.1.4.1.41112.1.2.3\"\n\"ubntEdgeMaxGroups\"                     \"1.3.6.1.4.1.41112.1.2.4\"\n\"ubntUniFiGroups\"                       \"1.3.6.1.4.1.41112.1.2.5\"\n\"ubntAirVisionGroups\"                   \"1.3.6.1.4.1.41112.1.2.6\"\n\"ubntMFiGroups\"                 \"1.3.6.1.4.1.41112.1.2.7\"\n\"ubntUniTelGroups\"                      \"1.3.6.1.4.1.41112.1.2.8\"\n\"ubntAFLTUGroups\"                       \"1.3.6.1.4.1.41112.1.2.9\"\n\"ubntSunMaxGroups\"                      \"1.3.6.1.4.1.41112.1.2.10\"\n\"sunMaxCompliances\"                     \"1.3.6.1.4.1.41112.1.2.10.1\"\n\"sunMaxGroups\"                  \"1.3.6.1.4.1.41112.1.2.10.2\"\n\"ubntAirFIBER\"                  \"1.3.6.1.4.1.41112.1.3\"\n\"ubntEdgeMax\"                   \"1.3.6.1.4.1.41112.1.5\"\n\"ubntUniFi\"                     \"1.3.6.1.4.1.41112.1.6\"\n\"ubntAirVision\"                 \"1.3.6.1.4.1.41112.1.7\"\n\"ubntMFi\"                       \"1.3.6.1.4.1.41112.1.8\"\n\"ubntUniTel\"                    \"1.3.6.1.4.1.41112.1.9\"\n\"ubntAFLTU\"                     \"1.3.6.1.4.1.41112.1.10\"\n\"ubntSunMax\"                    \"1.3.6.1.4.1.41112.1.11\"\n\"sunMaxMIB\"                     \"1.3.6.1.4.1.41112.1.11.1\"\n\"sunMaxBatteryStats\"                    \"1.3.6.1.4.1.41112.1.11.1.1\"\n\"sunMaxBatCurrent\"                      \"1.3.6.1.4.1.41112.1.11.1.1.1\"\n\"sunMaxBatVoltage\"                      \"1.3.6.1.4.1.41112.1.11.1.1.2\"\n\"sunMaxBatPower\"                        \"1.3.6.1.4.1.41112.1.11.1.1.3\"\n\"sunMaxBatTemp\"                 \"1.3.6.1.4.1.41112.1.11.1.1.4\"\n\"sunMaxPvPanelStats\"                    \"1.3.6.1.4.1.41112.1.11.1.2\"\n\"sunMaxPVCurrent\"                       \"1.3.6.1.4.1.41112.1.11.1.2.1\"\n\"sunMaxPVVoltage\"                       \"1.3.6.1.4.1.41112.1.11.1.2.2\"\n\"sunMaxPVPower\"                 \"1.3.6.1.4.1.41112.1.11.1.2.3\"\n\"sunMaxOutPutStats\"                     \"1.3.6.1.4.1.41112.1.11.1.3\"\n\"sunMaxOutCurrent\"                      \"1.3.6.1.4.1.41112.1.11.1.3.1\"\n\"sunMaxOutVoltage\"                      \"1.3.6.1.4.1.41112.1.11.1.3.2\"\n\"sunMaxOutPower\"                        \"1.3.6.1.4.1.41112.1.11.1.3.3\"\n\"security\"                      \"1.3.6.1.5\"\n\"snmpV2\"                        \"1.3.6.1.6\"\n\"snmpDomains\"                   \"1.3.6.1.6.1\"\n\"snmpProxys\"                    \"1.3.6.1.6.2\"\n\"snmpModules\"                   \"1.3.6.1.6.3\"\n\"zeroDotZero\"                   \"0.0\"<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Get battery voltage <\/h2>\n\n\n\n<p>We can get the battery voltage from the controller with the following SNMP walk command.  Change the community &#8220;ubnt&#8221; to your SNMP community.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">snmpwalk -c ubnt -v2c 10.96.1.9 1.3.6.1.4.1.41112.1.11.1.1.2<\/pre>\n\n\n\n<p>Return value is<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">SNMPv2-SMI::enterprises.41112.1.11.1.1.2.0 = INTEGER: 24990<\/pre>\n\n\n\n<p>You may need to add a zero if you are trying to add the OID in LibreNMS for a custom OID.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-reddit wp-block-embed-reddit\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"reddit-embed-bq\" style=\"height:316px\" ><a href=\"https:\/\/www.reddit.com\/r\/LibreNMS\/comments\/l0qxbx\/custom_oid_not_not_working_but_snmpwalk_test_does\/\">Custom OID not not working but snmpwalk test does?<\/a><br> by<a href=\"https:\/\/www.reddit.com\/user\/tb808\/\">u\/tb808<\/a> in<a href=\"https:\/\/www.reddit.com\/r\/LibreNMS\/\">LibreNMS<\/a><\/blockquote><script async src=\"https:\/\/embed.reddit.com\/widgets.js\" charset=\"UTF-8\"><\/script>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Here is a list of OIDs for Ubiquiti&#8217;s solar charge controller. You can download the Top interesting ones are snmptranslate -Pu -Tz -m .\/UBNT-MIB:.\/UBNT-SUNMAX-MIB &#8220;org&#8221; &#8220;1.3&#8221; &#8220;dod&#8221; &#8220;1.3.6&#8221; &#8220;internet&#8221; &#8220;1.3.6.1&#8221; &#8220;directory&#8221; &#8220;1.3.6.1.1&#8221; &#8220;mgmt&#8221; &#8220;1.3.6.1.2&#8221; &#8220;mib-2&#8221; &#8220;1.3.6.1.2.1&#8221; &#8220;transmission&#8221; &#8220;1.3.6.1.2.1.10&#8221; &#8220;experimental&#8221; &#8220;1.3.6.1.3&#8221; &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/oids-for-ui-ubiquiti-solar-charge-controller\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,1],"tags":[1359,1361,170,133,1358,131,974],"class_list":["post-4666","post","type-post","status-publish","format-standard","hentry","category-ubiquiti","category-uncategorized","tag-charge-controller","tag-mib","tag-oid","tag-snmp-2","tag-solar","tag-ubiquiti-2","tag-ui"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=4666"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4666\/revisions"}],"predecessor-version":[{"id":4668,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4666\/revisions\/4668"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=4666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=4666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=4666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}