{"id":221,"date":"2009-06-11T08:08:58","date_gmt":"2009-06-11T01:08:58","guid":{"rendered":"http:\/\/oktobrima.staff.fe.uns.ac.id\/?p=221"},"modified":"2009-06-11T08:08:58","modified_gmt":"2009-06-11T01:08:58","slug":"install-mrtg-di-freebsd","status":"publish","type":"post","link":"https:\/\/angga.feb.uns.ac.id\/?p=221","title":{"rendered":"Install Mrtg Di FREEBSD"},"content":{"rendered":"<p><a href=\"http:\/\/oktobrima.feb.uns.ac.id\/wp-content\/uploads\/2009\/06\/mrtg-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-222\" src=\"http:\/\/oktobrima.feb.uns.ac.id\/wp-content\/uploads\/2009\/06\/mrtg-1-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/angga.feb.uns.ac.id\/wp-content\/uploads\/2009\/06\/mrtg-1-300x225.jpg 300w, https:\/\/angga.feb.uns.ac.id\/wp-content\/uploads\/2009\/06\/mrtg-1-768x576.jpg 768w, https:\/\/angga.feb.uns.ac.id\/wp-content\/uploads\/2009\/06\/mrtg-1-1024x768.jpg 1024w, https:\/\/angga.feb.uns.ac.id\/wp-content\/uploads\/2009\/06\/mrtg-1.jpg 1280w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Langkah &#8211; langkah mambuat mrtg ayuuuuuuk<br \/>\n&#8211; pertama menginstal snmp dulu caranya bagaimana,&#8230;<br \/>\ninstal using ports<br \/>\n#cd \/usr\/ports\/net-mgmt\/net-snmp<br \/>\n#make install clean<br \/>\ntambahkan di \/etc\/rc.conf<br \/>\nsnmpd_enable=\u201dYES\u201d<br \/>\nterus edit snmpd.conf di<br \/>\n#ee \/usr\/local\/share\/snmp\/snmpd.conf<br \/>\ntambahkan configurasi<br \/>\n####################################<br \/>\n#<br \/>\n# snmpd.conf<br \/>\n#<br \/>\n#   &#8211; created by the snmpconf configuration program<br \/>\n#<br \/>\n####################################<br \/>\n# SECTION: System Information Setup<br \/>\n#<br \/>\n#   This section defines some of the information reported in<br \/>\n#   the &#8220;system&#8221; mib group in the mibII tree.<\/p>\n<p># syslocation: The [typically physical] location of the system.<br \/>\n#   Note that setting this value here means that when trying to<br \/>\n#   perform an snmp SET operation to the sysLocation.0 variable will make<br \/>\n#   the agent return the &#8220;notWritable&#8221; error code.  IE, including<br \/>\n#   this token in the snmpd.conf file will disable write access to<br \/>\n#   the variable.<br \/>\n#   arguments:  location_string<\/p>\n<p>syslocation  &#8220;Jakarta, Indonesia&#8221;  &#8212;&gt; suka suka<\/p>\n<p># syscontact: The contact information for the administrator<br \/>\n#   Note that setting this value here means that when trying to<br \/>\n#   perform an snmp SET operation to the sysContact.0 variable will make<br \/>\n#   the agent return the &#8220;notWritable&#8221; error code.  IE, including<br \/>\n#   this token in the snmpd.conf file will disable write access to<br \/>\n#   the variable.<br \/>\n#   arguments:  contact_string<\/p>\n<p>syscontact oktobrima@yahoo.com  &#8212;&gt; suka suka<\/p>\n<p># sysservices: The proper value for the sysServices object.<br \/>\n#   arguments:  sysservices_number<\/p>\n<p>sysservices 79<\/p>\n<p>#####################################<br \/>\n# SECTION: Access Control Setup<br \/>\n#<br \/>\n#   This section defines who is allowed to talk to your running<br \/>\n#   snmp agent.<\/p>\n<p># rwuser: a SNMPv3 read-write user<br \/>\n#   arguments:  user [noauth|auth|priv] [restriction_oid]<\/p>\n<p>rwuser  proxy    &#8211;&gt; sesuai jalannya snmpd<\/p>\n<p># rouser: a SNMPv3 read-only user<br \/>\n#   arguments:  user [noauth|auth|priv] [restriction_oid]<\/p>\n<p>rouser  proxy   &#8211;&gt; sesuai jalannya snmpd<\/p>\n<p># rocommunity: a SNMPv1\/SNMPv2c read-only access community name<br \/>\n#   arguments:  community [default|hostname|network\/bits] [oid]<\/p>\n<p>rocommunity  proxy   &#8211;&gt; sesuai jalannya snmpd<\/p>\n<p># rwcommunity: a SNMPv1\/SNMPv2c read-write access community name<br \/>\n#   arguments:  community [default|hostname|network\/bits] [oid]<\/p>\n<p>rwcommunity  proxy  &#8211;&gt; sesuai jalannya snmpd<\/p>\n<p>jalankan snmp<br \/>\n#\/usr\/local\/etc\/rc.d\/snmpd start<\/p>\n<p>setalh itu install mrtg lewat port<br \/>\n#cd \/usr\/ports\/net-mgmt\/mrtg\/<br \/>\n#make install clean<br \/>\nsetelah itu configurasi apache\/conf\/htdocs.conf tambah configurasi seperti ini<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>#<br \/>\n# This may also be &#8220;None&#8221;, &#8220;All&#8221;, or any combination of &#8220;Indexes&#8221;,<br \/>\n# &#8220;Includes&#8221;, &#8220;FollowSymLinks&#8221;, &#8220;ExecCGI&#8221;, or &#8220;MultiViews&#8221;.<br \/>\n#<br \/>\n# Note that &#8220;MultiViews&#8221; must be named *explicitly* &#8212; &#8220;Options All&#8221;<br \/>\n# doesn&#8217;t give it to you.<br \/>\n#<br \/>\nOptions Indexes FollowSymLinks MultiViews<\/p>\n<p>#<br \/>\n# This controls which options the .htaccess files in directories can<br \/>\n# override. Can also be &#8220;All&#8221;, or any combination of &#8220;Options&#8221;, &#8220;FileInfo&#8221;,<br \/>\n# &#8220;AuthConfig&#8221;, and &#8220;Limit&#8221;<br \/>\n#<br \/>\nAllowOverride All<\/p>\n<p>#<br \/>\n# Controls who can get stuff from this server.<br \/>\n#<br \/>\nOrder allow,deny<br \/>\nAllow from all<\/p>\n<p>#<br \/>\n# Controls who can get stuff from this server.<br \/>\n#<br \/>\nOrder allow,deny<br \/>\nAllow from all<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-dari sini<\/p>\n<p>#<br \/>\n# This may also be &#8220;None&#8221;, &#8220;All&#8221;, or any combination of &#8220;Indexes&#8221;,<br \/>\n# &#8220;Includes&#8221;, &#8220;FollowSymLinks&#8221;, &#8220;ExecCGI&#8221;, or &#8220;MultiViews&#8221;.<br \/>\n#<br \/>\n# Note that &#8220;MultiViews&#8221; must be named *explicitly* &#8212; &#8220;Options All&#8221;<br \/>\n# doesn&#8217;t give it to you.<br \/>\n#<br \/>\nOptions Indexes FollowSymLinks MultiViews +ExecCGI<\/p>\n<p>#<br \/>\n# This controls which options the .htaccess files in directories can<br \/>\n# override. Can also be &#8220;All&#8221;, or any combination of &#8220;Options&#8221;, &#8220;FileInfo&#8221;,<br \/>\n# &#8220;AuthConfig&#8221;, and &#8220;Limit&#8221;<br \/>\n#<br \/>\nAllowOverride Options AuthConfig<\/p>\n<p>#<br \/>\n# Controls who can get stuff from this server.<br \/>\n#<br \/>\nOrder allow,deny<br \/>\nAllow from all<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-sampek sini<br \/>\nsetelah itu save dan restar apachenya<br \/>\n#\/usr\/local\/apache\/bin\/apachetl restart<br \/>\nsetelah itu jalankan script ini<br \/>\n#\/usr\/local\/bin\/cfgmaker &#8211;global &#8216;WorkDir: \/usr\/local\/apache\/htdocs\/web\/mrtg&#8217; &#8211;global &#8216;Options[_]: bits,growright&#8217; &#8211;output \/usr\/local\/etc\/mrtg\/mrtg.cfg localhost@localhost<\/p>\n<p>inget untuk cfgmaker disesuaikan dengan letaknya untuk workdir disesuaikan dengan letak index.html dan mrtg.conf jga disesuaikan dengan letaknya.untuk localhost@localhost..ii disesuaokan dengan konfigurasi di snmpd.conf untuk community dan rwuser..oke bosss&#8230;dicerna dulu ae&#8230;oke<\/p>\n<p>langkah selanjutnya membuat file index.html<br \/>\n#\/usr\/local\/bin\/indexmaker &#8211;output \/usr\/local\/apache\/htdocs\/web\/mrtg\/index.html \/usr\/local\/etc\/mrtg\/mrtg.cfg<\/p>\n<p>diperhatikan untuk letak indexmaker dan index.html serta mrtg.cfg, harus sama ketika kita menjalankan cfgmaker oke bosss<br \/>\nsetalah itu sebelm menjalankan mrtg jalankan crontab duluw<br \/>\n#crontab -e<br \/>\ntambahkan scritp seperti dibawah ini<br \/>\n#*\/5 * * * * \/usr\/local\/bin\/mrtg \/usr\/local\/etc\/mrtg\/mrtg.cfg<\/p>\n<p>jalankan mrtg<br \/>\n#\/usr\/local\/bin\/mrtg \/usr\/local\/etc\/mrtg\/mrtg.cfg<br \/>\n#\/usr\/local\/bin\/mrtg \/usr\/local\/etc\/mrtg\/mrtg.cfg<br \/>\n#\/usr\/local\/bin\/mrtg \/usr\/local\/etc\/mrtg\/mrtg.cfg<\/p>\n<p>mrtg udah jadi tingal jalankan di webbrowser sesuai ip servernya weks<br \/>\nbagussssss<br \/>\nKlo ada masalah,&#8230;.email aq ya&#8230;ato posting aja messege heheheeeee<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Langkah &#8211; langkah mambuat mrtg ayuuuuuuk &#8211; pertama menginstal snmp dulu caranya bagaimana,&#8230; instal using ports #cd \/usr\/ports\/net-mgmt\/net-snmp #make install clean tambahkan di \/etc\/rc.conf snmpd_enable=\u201dYES\u201d terus edit snmpd.conf di #ee \/usr\/local\/share\/snmp\/snmpd.conf tambahkan configurasi #################################### # # snmpd.conf # # &#8211; created by the snmpconf configuration program # #################################### # SECTION: System Information Setup # # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-freebsd"],"_links":{"self":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=221"}],"version-history":[{"count":0,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=\/wp\/v2\/posts\/221\/revisions"}],"wp:attachment":[{"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angga.feb.uns.ac.id\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}