{"id":2445,"date":"2019-05-24T23:57:52","date_gmt":"2019-05-24T23:57:52","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2445"},"modified":"2020-12-16T11:33:22","modified_gmt":"2020-12-16T17:33:22","slug":"configure-airos-snmp-settings-over-ssh","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/configure-airos-snmp-settings-over-ssh\/","title":{"rendered":"Configure AirOS SNMP settings over ssh"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this post we&#8217;ll see how we can configure AirOS SNMP settings from the command line.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ubntmod command with save without rebooting.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\/ubntmod.sh -i 192.168.1.20 -s \"private;monitor@incredigeek.com;[30.69636, -88.04811]\" -X '\/usr\/etc\/rc.d\/rc.softrestart save'<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Alternative manual method.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh ubnt@192.168.1.20<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Open config file<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vi \/tmp\/system.cfg<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Find the SNMP settings and modify as needed. Example below<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">snmp.community=private<br>snmp.contact=monitor@incredigeek.com<br>snmp.location=[30.69636, -88.04811] <\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Save and exit file with :x<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apply settings<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/etc\/rc.d\/rc.softrestart save<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>In this post we&#8217;ll see how we can configure AirOS SNMP settings from the command line. ubntmod command with save without rebooting. .\/ubntmod.sh -i 192.168.1.20 -s &#8220;private;monitor@incredigeek.com;[30.69636, -88.04811]&#8221; -X &#8216;\/usr\/etc\/rc.d\/rc.softrestart save&#8217; Alternative manual method. ssh ubnt@192.168.1.20 Open config file vi &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/configure-airos-snmp-settings-over-ssh\/\">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],"tags":[642,643,133,131,132,361],"class_list":["post-2445","post","type-post","status-publish","format-standard","hentry","category-ubiquiti","tag-airos","tag-configuration","tag-snmp-2","tag-ubiquiti-2","tag-ubnt","tag-ubntmod"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2445","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=2445"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2445\/revisions"}],"predecessor-version":[{"id":3767,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2445\/revisions\/3767"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}