$wgDBname<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Manual%3ASNMP_MRTG</id>
	<title>Manual:SNMP MRTG - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Manual%3ASNMP_MRTG"/>
	<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Manual:SNMP_MRTG&amp;action=history"/>
	<updated>2026-06-26T11:46:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.3</generator>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=Manual:SNMP_MRTG&amp;diff=992&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;Category: Monitoring Category: SNMP == 1. Introduction ==  In this text is described how to configure CableFree RadioOS and mrtg (FreeBSD). You must be root on nix mac...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Manual:SNMP_MRTG&amp;diff=992&amp;oldid=prev"/>
		<updated>2015-12-17T19:05:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/support/radio/software/index.php/Category:Monitoring&quot; title=&quot;Category:Monitoring&quot;&gt;Category: Monitoring&lt;/a&gt; &lt;a href=&quot;/support/radio/software/index.php/Category:SNMP&quot; title=&quot;Category:SNMP&quot;&gt;Category: SNMP&lt;/a&gt; == 1. Introduction ==  In this text is described how to configure CableFree RadioOS and mrtg (FreeBSD). You must be root on nix mac...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category: Monitoring]]&lt;br /&gt;
[[Category: SNMP]]&lt;br /&gt;
== 1. Introduction ==&lt;br /&gt;
&lt;br /&gt;
In this text is described how to configure CableFree RadioOS and mrtg (FreeBSD). You must be root on nix machine and ports collection is installed. Web server must be configured and running on BSD machine. In this example Web server is Apache server.&lt;br /&gt;
All information about mrtg and apache can be found at homepages: http://www.mrtg.org http://www.apache.org&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 2. RadioOS SNMP Configuration ==&lt;br /&gt;
 /snmp &lt;br /&gt;
  set enabled=yes contact=&amp;quot;your@mail.com&amp;quot; location=&amp;quot;SomeCountry&amp;quot; &lt;br /&gt;
 /snmp community &lt;br /&gt;
  set public name=&amp;quot;public&amp;quot; address=192.168.0.5/32 read-access=yes&lt;br /&gt;
&lt;br /&gt;
Ip address 192.168.0.5 is address of BSD machine where mrtg will be installed.&lt;br /&gt;
&lt;br /&gt;
== 2. MRTG Installation and Configuration ==&lt;br /&gt;
Now we install and configure mrtg on BSD machine. &lt;br /&gt;
 cd /usr/ports/net-mgmt/&lt;br /&gt;
 make &lt;br /&gt;
 make install&lt;br /&gt;
Now we need to create configuration file for mrtg. It can be done automatically by cfgmaker program.192.168.0.1 is ip of RadioOS.&lt;br /&gt;
 cfgmaker public@192.168.0.1 --output=/usr/local/etc/mrtg.cfg&lt;br /&gt;
&lt;br /&gt;
Change WorkDir value in created mrtg file with text editor. WorkDir value specifies where html files will be created.&lt;br /&gt;
It must be same as DocumentRoot value in apache configuration.&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
&lt;br /&gt;
 ### Global Config Options&lt;br /&gt;
 &lt;br /&gt;
 #  for UNIX&lt;br /&gt;
 WorkDir: /usr/local/www/data/&lt;br /&gt;
 ### Global Defaults&lt;br /&gt;
 &lt;br /&gt;
 #  to get bits instead of bytes and graphs growing to the right&lt;br /&gt;
 Options[_]: growright, bits&lt;br /&gt;
 &lt;br /&gt;
 EnableIPv6: no&lt;br /&gt;
 &lt;br /&gt;
 ######################################################################&lt;br /&gt;
 # System: CableFree&lt;br /&gt;
 # Description: router&lt;br /&gt;
 # Contact: your@mail.com&lt;br /&gt;
 # Location: SomeCountry&lt;br /&gt;
 ######################################################################&lt;br /&gt;
 &lt;br /&gt;
Execute mrtg with your config to create html files.&lt;br /&gt;
 mrtg /usr/local/etc/mrtg.cfg &lt;br /&gt;
&lt;br /&gt;
Now in directory /usr/local/www/data are html files for every interface in MT.&lt;br /&gt;
Add this string to crontab to update graphs automatically every 5 minutes&lt;br /&gt;
 */5     *       *       *       *       root    mrtg /usr/local/etc/mrtg.cfg&lt;br /&gt;
Now we can create 1 html file with graphs for all interfaces&lt;br /&gt;
 indexmaker /usr/local/etc/mrtg.cfg --output=/usr/local/www/data/index.html&lt;br /&gt;
&lt;br /&gt;
Here is a sample configuration to monitor the power on a CableFree router using MRTG and SNMP plotting the results with the correct scale and values:&lt;br /&gt;
&lt;br /&gt;
This should be entered into an existing mrtg.conf file replacing IP_Address with your IP address and MT with your community string&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
### Input Voltage&lt;br /&gt;
&lt;br /&gt;
Target[IP_Address-voltage]:.1.3.6.1.4.1.14988.1.1.3.8.0&amp;amp;.1.3.6.1.4.1.14988.1.1.3.8.0:MT@IP_Address&lt;br /&gt;
AbsMax[IP_Address-voltage]: 200&lt;br /&gt;
MaxBytes[IP_Address-voltage]: 200&lt;br /&gt;
Title[IP_Address-voltage]: Input Voltage for a monitored -333&lt;br /&gt;
PageTop[IP_Address-voltage]: &amp;lt;H1&amp;gt;Input Voltage RB333 being monitored &amp;lt;/H1&amp;gt;&lt;br /&gt;
 &amp;lt;TABLE&amp;gt;&lt;br /&gt;
   &amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;System:&amp;lt;/TD&amp;gt;     &amp;lt;TD&amp;gt;RB333 being monitored&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
   &amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;Maintainer:&amp;lt;/TD&amp;gt; &amp;lt;TD&amp;gt;managee&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
   &amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;Description:&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;Voltage for Monitored 333 &amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;
 &amp;lt;/TABLE&amp;gt;&lt;br /&gt;
Options[IP_Address-voltage]: gauge,growright,nopercent, noo, expscale&lt;br /&gt;
YLegend[IP_Address-voltage]: Volts&lt;br /&gt;
YTicsFactor[IP_Address-voltage]: 0.1&lt;br /&gt;
Factor[IP_Address-voltage]: 0.1&lt;br /&gt;
ShortLegend[IP_Address-voltage]: V&lt;br /&gt;
LegendI[IP_Address-voltage]:&amp;amp;nbsp;Input Voltage &amp;amp;nbsp&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>