<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>installing snmpd on the MyBook World II</title>
		<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii</link>
		<description>Posts in the discussion thread &quot;installing snmpd on the MyBook World II&quot; - Here is a little HOWTO about (net-)SNMPD</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-379679</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-379679</link>
				<description></description>
				<pubDate>Mon, 09 Feb 2009 06:04:38 +0000</pubDate>
				<wikidot:authorName>marcusfly</wikidot:authorName>				<wikidot:authorUserId>280909</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>i try to configure SNMP and get this</p> <div class="code"> <pre> <code>[root@nas net-snmp]# ./configure checking what to build and install... agent apps man local mibs using default persistent mask 077 using default temporary file pattern /tmp/snmpdXXXXXX using default AgentX socket /var/agentx/master using default "enterprise.net-snmp" using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." using default notifications "NET-SNMP-MIB::netSnmpNotifications" using OS default send buffer size for server sockets using OS default recv buffer size for server sockets using OS default send buffer size for client sockets using OS default recv buffer size for client sockets checking if I need to feed myself to ksh... no checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. [root@nas net-snmp]#</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-134553</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-134553</link>
				<description></description>
				<pubDate>Sun, 30 Mar 2008 17:51:59 +0000</pubDate>
				<wikidot:authorName>Barryke</wikidot:authorName>				<wikidot:authorUserId>103616</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>He means a snmp.conf and fitting cacti configuration, not the graph template.<br /> I beleive one can create a template in Cacti using Host templates &gt; Add ?</p> <p>Should be possible to make a template from your existing host setup (or data/graph sources) , but i don't know how exactly.</p> <p>When layz plz dump the working full setup in any form (e.g. screenshot or file snippet) i'll convert it to a Cacti template. Thx!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-134531</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-134531</link>
				<description></description>
				<pubDate>Sun, 30 Mar 2008 17:14:15 +0000</pubDate>
				<wikidot:authorName>Barryke</wikidot:authorName>				<wikidot:authorUserId>103616</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks! Helped me a lot.<br /> Could you contribute this to the <a href="http://mybookworld.wikidot.com/net-snmp">net-snmp</a> page?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-134528</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-134528</link>
				<description></description>
				<pubDate>Sun, 30 Mar 2008 17:02:26 +0000</pubDate>
				<wikidot:authorName>Barryke</wikidot:authorName>				<wikidot:authorUserId>103616</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Could you contribute this to the <a href="http://mybookworld.wikidot.com/net-snmp">net-snmp</a> page?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-134396</guid>
				<title>My LOG</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-134396</link>
				<description></description>
				<pubDate>Sun, 30 Mar 2008 13:09:14 +0000</pubDate>
				<wikidot:authorName>Barryke</wikidot:authorName>				<wikidot:authorUserId>103616</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>A structured how-to building on the shoulders of this thread can be found on the <a href="http://mybookworld.wikidot.com/net-snmp">net-snmp</a> page.</p> <p>If you know more about configuring different SNMP value's to monitor please contribute!<br /> MIB / anything.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-128999</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-128999</link>
				<description></description>
				<pubDate>Fri, 21 Mar 2008 12:02:49 +0000</pubDate>
				<wikidot:authorName>stark</wikidot:authorName>				<wikidot:authorUserId>85651</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>hey. where did you install your SNMP monitor? on your cumputah og the MBWE?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-114455</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-114455</link>
				<description></description>
				<pubDate>Wed, 27 Feb 2008 08:27:31 +0000</pubDate>
				<wikidot:authorName>andycasa</wikidot:authorName>				<wikidot:authorUserId>88233</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Here is my start up script.</p> <p>2 steps creating snmpd.sh and modifying post_network_start.sh</p> <p>1. Place in /etc/init.d named snmpd.sh</p> <div class="code"> <pre> <code>#!/bin/sh # # Start snmpd # start() { export LD_LIBRARY_PATH=.:/lib:/usr/lib:/usr/local/lib echo "Starting SNMPD" /usr/local/sbin/snmpd } stop() { echo "Stopping SNMPD" killall snmpd &gt; /dev/null 2&gt;&amp;1 killall snmpd &gt; /dev/null 2&gt;&amp;1 } restart() { stop start } case "$1" in start) start ;; stop) stop ;; restart) restart ;; cleanup) ;; *) echo $"Usage: $0 {start|stop|restart}" exit 1 esac exit $?</code> </pre></div> <hr /> <p>2. Modify the post_network_start.sh script as below to include the start stop reference to snmpd</p> <p>(only part of the file is shown)</p> <div class="code"> <pre> <code>start() { if [ ! -e "$POST_NETWORK_STARTED_FILE" ] then $SCRIPTS_PATH/crond.sh start $SCRIPTS_PATH/mionet.sh start $SCRIPTS_PATH/snmpd.sh start touch $POST_NETWORK_STARTED_FILE fi } stop() { if [ -e "$POST_NETWORK_STARTED_FILE" ] then $SCRIPTS_PATH/mionet.sh stop $SCRIPTS_PATH/crond.sh stop $SCRIPTS_PATH/snmpd.sh stop rm $POST_NETWORK_STARTED_FILE fi }</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-93519</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-93519</link>
				<description></description>
				<pubDate>Fri, 18 Jan 2008 17:51:10 +0000</pubDate>
				<wikidot:authorName>kevku</wikidot:authorName>				<wikidot:authorUserId>52945</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>the memory one is a bit off i guess</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-93515</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-93515</link>
				<description></description>
				<pubDate>Fri, 18 Jan 2008 17:47:28 +0000</pubDate>
				<wikidot:authorName>kevku</wikidot:authorName>				<wikidot:authorUserId>52945</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>well just use the ones supplied with cacti ucd/net templates are fine..</p> <img src="http://xs123.xs.to/xs123/08035/pilt1376.png" alt="pilt1376.png" class="image" /><br /> <img src="http://xs123.xs.to/xs123/08035/pilt2877.png" alt="pilt2877.png" class="image" /><br /> <img src="http://xs123.xs.to/xs123/08035/pilt3480.png" alt="pilt3480.png" class="image" />
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-93511</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-93511</link>
				<description></description>
				<pubDate>Fri, 18 Jan 2008 17:39:11 +0000</pubDate>
				<wikidot:authorName>bzhou</wikidot:authorName>				<wikidot:authorUserId>55287</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>To save some compilation time, you can also use the optware/gumstix1151 package.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-93478</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-93478</link>
				<description></description>
				<pubDate>Fri, 18 Jan 2008 16:23:09 +0000</pubDate>
				<wikidot:authorName>Winkel</wikidot:authorName>				<wikidot:authorUserId>70156</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Anybody got a template for cacti laying around? Specially something monitoring network speed and activity would be apreciated.</p> <p>(i know im lazy… sry)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-73222</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-73222</link>
				<description></description>
				<pubDate>Wed, 28 Nov 2007 16:17:43 +0000</pubDate>
				<wikidot:authorName>vasil</wikidot:authorName>				<wikidot:authorUserId>47055</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I had the same problem for a longer time with the same model. Finaly I downloaded the sources for the ssh hack on my local http server and it worked. After that I realized the problem lied all along in the dns settings of the mybook. I suggest you enter your ISP's dns server address in the web interface of the mybook, the networking part.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-70520</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-70520</link>
				<description></description>
				<pubDate>Wed, 21 Nov 2007 14:42:20 +0000</pubDate>
				<wikidot:authorName>kevku</wikidot:authorName>				<wikidot:authorUserId>52945</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>can someone post a start/stop script? mine ain't working</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-67334</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-67334</link>
				<description></description>
				<pubDate>Mon, 12 Nov 2007 22:01:35 +0000</pubDate>
				<wikidot:authorName>WorldBook</wikidot:authorName>				<wikidot:authorUserId>50669</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi, How did you get ssh access on your world edition? I have a 1tb world edition as well,<br /> but none of the ssh methods (upgrade script)<br /> have worked for me so far?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-66245</guid>
				<title>Re: installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-66245</link>
				<description></description>
				<pubDate>Thu, 08 Nov 2007 23:09:51 +0000</pubDate>
				<wikidot:authorName>Sebulba</wikidot:authorName>				<wikidot:authorUserId>49221</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <h1><span>Here we go !</span></h1> <p>So you want to monitor your BOok's CPU, load, and disk space with a professional solution ?<br /> Me too.</p> <h1><span>COMPILE SNMPD</span></h1> <p>As a root user,</p> <p>Get the latest net-snmp source from<br /> <a href="http://net-snmp.sourceforge.net/download.html">http://net-snmp.sourceforge.net/download.html</a></p> <p>extract it somewhere, eg in /root</p> <p>configure<br /> make<br /> make install</p> <p>you now have a compiled SNMPD.<br /> <strong>BEWARE</strong> :it took FOREVER to compile "net snmp" on my Book, at least <strong>two hours</strong> (it would have been faster to compile on my mobile phone !!!) but it works. You'll have to be patient. This also makes the CPU skyrocket at 100% for hours. Not the right time to start a backup.</p> <h1><span>SNMPD.CONF</span></h1> <p>Now create an snmpd.conf file to your likings<br /> ( the config file should be in /usr/local/share/snmp/snmpd.conf )</p> <p>I'm sorry but creating a nice snmpd.conf is a tough job. If you use SNMPD daily you probably have configs of your own (your other servers, etc) so I will not enter into too much details here.<br /> - You should allow READ access to your MyBook box from your monitoring station's IP.<br /> - You should have a community name ( or leave it to public but securing it with IP filter )<br /> - You should had "disk" lines in the config fil to ease autodetection of your drives</p> <p>Here is a working example, a very minimal snmpd.conf file.<br /> This uses the "public" community name, only allowed from a specific IP and from localhost.<br /> This config could be improved by adding disk IOs, temperature monitoring, etc…</p> <p>com2sec local localhost public<br /> com2sec localnet <strong>your-monitoring-ip</strong> public</p> <p>group MyROSystem v1 local<br /> group MyROSystem v2c local<br /> group MyROSystem usm local<br /> group MyROGroup v1 localnet<br /> group MyROGroup v2c localnet<br /> group MyROGroup usm localnet<br /> group MyRWGroup v1 local<br /> group MyRWGroup v2c local<br /> group MyRWGroup usm local</p> <p>view all included .1&nbsp;80<br /> view system included .iso.org.dod.internet.mgmt.mib-2.system</p> <p>access MyROSystem "" any noauth exact system none none<br /> access MyROGroup "" any noauth exact all none none<br /> access MyRWGroup "" any noauth exact all all none</p> <p>syslocation <strong>MyHouseInTheTrees</strong><br /> syscontact <strong>your-email.here</strong></p> <p>disk /var 10000<br /> disk /shares/internal 10000<br /> disk / 10000</p> <h1><span>STARTING SNMPD</span></h1> <p>The MyBook does not look into /usr/local/lib for libraries, so SNMPD does not start if you do not edit the default library paths.</p> <p>export LD_LIBRARY_PATH=.:/lib:/usr/lib:/usr/local/lib</p> <p>Launch it manually.<br /> /usr/local/sbin/snmpd<br /> check that port 161 UDP is listening by doing<br /> netstat -an<br /> you should see<br /> udp 0 0&nbsp;0.0.0.0:161 0.0.0.0:*</p> <p>You'll have to create a start/stop script to launch it at boot time once you're happy with your config.</p> <h1><span>WHAT YOU WILL GET</span></h1> <p>Add the MyBook's IP in your favorite network monitoring software, using the correct SNMP community name (from snmpd.conf )</p> <p><a href="http://pix.nofrag.com/5/5/7/1dacd6e97aad62e4ebf25f33d98cf.jpg">http://pix.nofrag.com/5/5/7/1dacd6e97aad62e4ebf25f33d98cf.jpg</a></p> <img src="http://pix.nofrag.com/5/5/7/1dacd6e97aad62e4ebf25f33d98cf.jpg" alt="1dacd6e97aad62e4ebf25f33d98cf.jpg" class="image" /> <p>Interestingly, this also confirms that<br /> - CPU usage is "thru the roof" when doing transfers<br /> - 35-36Mbps is the maximum upload rate this box can handle. (this is no news but it is now documented :) )</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-26156#post-66146</guid>
				<title>installing snmpd</title>
				<link>http://mybookworld.wikidot.com/forum/t-26156/installing-snmpd-on-the-mybook-world-ii#post-66146</link>
				<description></description>
				<pubDate>Thu, 08 Nov 2007 17:30:22 +0000</pubDate>
				<wikidot:authorName>Sebulba</wikidot:authorName>				<wikidot:authorUserId>49221</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This is (now) a very basic howto about SNMP monitoring of a MyBook.</p> <p>This has been done on my World Book II 1Tb, 01.01.18, configured as a RAID1.</p> <p>Pre requisites<br /> - SSH access on your MyBook<br /> - somekind of SNMP monitoring software on your network (zenoss, rrdtool, cacti, etc)</p> <p>I disabled Mionet on my MyBook (simply shutting it down manually after boot with "mionet.sh stop" ) to have some more memory. I don't think this is mandatory.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>