<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for OpenNMS Patterns and Scripts</title>
	<atom:link href="http://opennms.dougbakewell.ca/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://opennms.dougbakewell.ca</link>
	<description>Implementing OpenNMS in an enterprise IT environment.</description>
	<lastBuildDate>Mon, 17 Oct 2011 20:04:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>Comment on Setting up Custom Web Pages and Single Sign On by Doug</title>
		<link>http://opennms.dougbakewell.ca/posts/setting-up-custom-web-pages-and-single-sign-on#comment-706</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 17 Oct 2011 20:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=111#comment-706</guid>
		<description>Hey Nav, anything is possible but there is no easy way I know of so you would have to create a custom solution. I look at all sorts of options to set this up and the http basic auth method was the best/simplest solution I found.</description>
		<content:encoded><![CDATA[<p>Hey Nav, anything is possible but there is no easy way I know of so you would have to create a custom solution. I look at all sorts of options to set this up and the http basic auth method was the best/simplest solution I found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Custom Web Pages and Single Sign On by Nav</title>
		<link>http://opennms.dougbakewell.ca/posts/setting-up-custom-web-pages-and-single-sign-on#comment-378</link>
		<dc:creator>Nav</dc:creator>
		<pubDate>Sat, 30 Apr 2011 22:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=111#comment-378</guid>
		<description>Doug - Excellent Work!! Thanks for putting together the documentation, i was able get it working in minutes by following your doc.

I do have question though. Is there a way to authenticate users against opennms db  using a php/mysql database instead of ht authentication.</description>
		<content:encoded><![CDATA[<p>Doug &#8211; Excellent Work!! Thanks for putting together the documentation, i was able get it working in minutes by following your doc.</p>
<p>I do have question though. Is there a way to authenticate users against opennms db  using a php/mysql database instead of ht authentication.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Statistics (stats) by Greg</title>
		<link>http://opennms.dougbakewell.ca/posts/stats#comment-157</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Mon, 10 Jan 2011 22:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=938#comment-157</guid>
		<description>FYI - if you&#039;re getting a &quot;permission denied&quot;, check to see if SELinux is properly configured for your environment. That was the only problem I ran into adding this to my index.shtml.

Greg</description>
		<content:encoded><![CDATA[<p>FYI &#8211; if you&#8217;re getting a &#8220;permission denied&#8221;, check to see if SELinux is properly configured for your environment. That was the only problem I ran into adding this to my index.shtml.</p>
<p>Greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Custom Web Pages and Single Sign On by Doug</title>
		<link>http://opennms.dougbakewell.ca/posts/setting-up-custom-web-pages-and-single-sign-on#comment-85</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 15 Nov 2010 16:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=111#comment-85</guid>
		<description>Hi Andre,

Happy to here you like work here. How far are you getting with apache? Can you at least login and see the index.shtml page? What errors are you seeing? You might also want to check your apache access.log and error.log.

Doug</description>
		<content:encoded><![CDATA[<p>Hi Andre,</p>
<p>Happy to here you like work here. How far are you getting with apache? Can you at least login and see the index.shtml page? What errors are you seeing? You might also want to check your apache access.log and error.log.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up Custom Web Pages and Single Sign On by Andre Laurin</title>
		<link>http://opennms.dougbakewell.ca/posts/setting-up-custom-web-pages-and-single-sign-on#comment-82</link>
		<dc:creator>Andre Laurin</dc:creator>
		<pubDate>Sat, 13 Nov 2010 21:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=111#comment-82</guid>
		<description>Hello,

Love the work your doing. I have successfully installed the noc portion using your script...
My problem is in configuring the apache2 web server. I am not an expert using apache2.
My system is built on SLES 10 sp2, running OpenNMS 1.8.4.

I tried following your instructions and some how still not working.

Any additional help you could give me would be greatly appreciated.

Andre</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Love the work your doing. I have successfully installed the noc portion using your script&#8230;<br />
My problem is in configuring the apache2 web server. I am not an expert using apache2.<br />
My system is built on SLES 10 sp2, running OpenNMS 1.8.4.</p>
<p>I tried following your instructions and some how still not working.</p>
<p>Any additional help you could give me would be greatly appreciated.</p>
<p>Andre</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing Node SNMP (testsnmp) by Jef Will</title>
		<link>http://opennms.dougbakewell.ca/posts/testsnmp#comment-8</link>
		<dc:creator>Jef Will</dc:creator>
		<pubDate>Tue, 07 Sep 2010 09:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=13#comment-8</guid>
		<description>Hi Doug

Thanks so much.  I will try out your suggestions and let you know how I fare.

Rgds
Jef</description>
		<content:encoded><![CDATA[<p>Hi Doug</p>
<p>Thanks so much.  I will try out your suggestions and let you know how I fare.</p>
<p>Rgds<br />
Jef</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing Node SNMP (testsnmp) by Doug</title>
		<link>http://opennms.dougbakewell.ca/posts/testsnmp#comment-7</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 06 Sep 2010 19:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=13#comment-7</guid>
		<description>Had another thought. If you need to scan an entire subnet, say 192.168.1.*, then you could replace the loop &quot;for IP in $* ; do&quot; with a while loop that counts from 1 to 254 and sets the IP variable to &quot;192.168.1.$X&quot;. To be fancy, you could take the first part of the subnet on the command line (testsnmp 192.168.1) and put that together with the counter, &quot;$1.$X&quot;. It would be a nice solution for scanning class C subnets.</description>
		<content:encoded><![CDATA[<p>Had another thought. If you need to scan an entire subnet, say 192.168.1.*, then you could replace the loop &#8220;for IP in $* ; do&#8221; with a while loop that counts from 1 to 254 and sets the IP variable to &#8220;192.168.1.$X&#8221;. To be fancy, you could take the first part of the subnet on the command line (testsnmp 192.168.1) and put that together with the counter, &#8220;$1.$X&#8221;. It would be a nice solution for scanning class C subnets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing Node SNMP (testsnmp) by Doug</title>
		<link>http://opennms.dougbakewell.ca/posts/testsnmp#comment-6</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 06 Sep 2010 17:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=13#comment-6</guid>
		<description>I think we&#039;re in the same boat Jef.&lt;p&gt;

What I try to do is ask everyone to use the same read community string and version 2c. If that doesn&#039;t work then I ask groups to use a common string and version on an entire subnet.  In some cases neither of those requests meet security requirements. Because of shared server rooms and DMZs I have about 80 specific entries in my snmp-config.xml file. &lt;p&gt;

To save time, I normally add nodes to OpenNMS assuming they use the default string. Later I run a report that tells me which nodes do not have SNMP working and then use testsnmp to figure out where to add them in the snmp-config.xml file. I&#039;ll post the script for that report in the next month. It&#039;s not a great solution but it works for me. &lt;p&gt;

I also have a script that scans a discovery list of IPs and runs testsnmp for each IP. Again, this is just a helper script, the basic problem remains and I think it will always be a hard one to deal with. The future may bring a script that writes the snmp-config.xml automatically but I have not had a need to go that far yet.&lt;p&gt;

Here&#039;s what my snmp-config.xml looks like, except the real one has several more subnets and specific entries. Notice I also have to deal with some devices that are SNMP version 1 specific. The default string is at the bottom.&lt;p&gt;
&lt;pre&gt;
&lt;?xml version=&quot;1.0&quot;?&gt;

&lt;snmp-config port=&quot;161&quot; retry=&quot;3&quot; timeout=&quot;120000&quot;
            read-community=&quot;ABCXYZ!@#&quot;
            max-vars-per-pdu=&quot;100&quot; version=&quot;v2c&quot; &gt;

&lt;definition read-community=&quot;sdUIO^P&quot; write-community=&quot;zeke&quot;&gt;
  &lt;specific&gt;192.168.14.14&lt;/specific&gt;
  &lt;specific&gt;192.168.10.1&lt;/specific&gt;
  &lt;specific&gt;192.168.78.63&lt;/specific&gt;
  &lt;specific&gt;192.168.78.64&lt;/specific&gt;
  &lt;specific&gt;192.168.78.65&lt;/specific&gt;
  &lt;specific&gt;192.168.78.81&lt;/specific&gt;
  &lt;specific&gt;192.168.78.87&lt;/specific&gt;
  &lt;specific&gt;192.168.48.88&lt;/specific&gt;
  &lt;specific&gt;192.168.62.217&lt;/specific&gt;
&lt;/definition&gt;

&lt;definition read-community=&quot;Jygf%$g&quot; write-community=&quot;zeke&quot;&gt;
  &lt;specific&gt;10.127.48.24&lt;/specific&gt;
  &lt;specific&gt;10.127.48.25&lt;/specific&gt;
  &lt;specific&gt;10.127.48.26&lt;/specific&gt;
  &lt;specific&gt;10.127.48.27&lt;/specific&gt;
  &lt;specific&gt;10.127.48.28&lt;/specific&gt;
  &lt;specific&gt;10.127.48.17&lt;/specific&gt;
&lt;/definition&gt;

&lt;definition read-community=&quot;UHIHUI^&amp;%&quot; 
                     write-community=&quot;zeke&quot; version=&quot;v1&quot;&gt;
  &lt;specific&gt;10.127.48.13&lt;/specific&gt;
  &lt;specific&gt;10.127.48.14&lt;/specific&gt;
  &lt;specific&gt;10.127.48.15&lt;/specific&gt;
&lt;/definition&gt;

&lt;definition read-community=&quot;&amp;H^F$&quot; write-community=&quot;zeke&quot;&gt;
  &lt;range begin=&quot;192.168.81.0&quot; end=&quot;192.168.81.255&quot;/&gt;
&lt;/definition&gt;

&lt;definition read-community=&quot;KJH^%$&quot; write-community=&quot;zeke&quot;&gt;
  &lt;range begin=&quot;192.168.6.0&quot; end=&quot;192.168.6.255&quot;/&gt;
&lt;/definition&gt;

&lt;definition read-community=&quot;ABCXYZ!@#&quot; write-community=&quot;zeke&quot;&gt;
  &lt;range begin=&quot;0.0.0.0&quot; end=&quot;255.255.255.255&quot;/&gt;
&lt;/definition&gt;

&lt;/snmp-config&gt;
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>I think we&#8217;re in the same boat Jef.</p>
<p>What I try to do is ask everyone to use the same read community string and version 2c. If that doesn&#8217;t work then I ask groups to use a common string and version on an entire subnet.  In some cases neither of those requests meet security requirements. Because of shared server rooms and DMZs I have about 80 specific entries in my snmp-config.xml file. </p>
<p>To save time, I normally add nodes to OpenNMS assuming they use the default string. Later I run a report that tells me which nodes do not have SNMP working and then use testsnmp to figure out where to add them in the snmp-config.xml file. I&#8217;ll post the script for that report in the next month. It&#8217;s not a great solution but it works for me. </p>
<p>I also have a script that scans a discovery list of IPs and runs testsnmp for each IP. Again, this is just a helper script, the basic problem remains and I think it will always be a hard one to deal with. The future may bring a script that writes the snmp-config.xml automatically but I have not had a need to go that far yet.</p>
<p>Here&#8217;s what my snmp-config.xml looks like, except the real one has several more subnets and specific entries. Notice I also have to deal with some devices that are SNMP version 1 specific. The default string is at the bottom.</p>
<p>&lt;?xml version=&#8221;1.0&#8243;?&gt;</p>
<p>&lt;snmp-config port=&#8221;161&#8243; retry=&#8221;3&#8243; timeout=&#8221;120000&#8243;<br />
            read-community=&#8221;ABCXYZ!@#&#8221;<br />
            max-vars-per-pdu=&#8221;100&#8243; version=&#8221;v2c&#8221; &gt;</p>
<p>&lt;definition read-community=&#8221;sdUIO^P&#8221; write-community=&#8221;zeke&#8221;&gt;<br />
  &lt;specific&gt;192.168.14.14&lt;/specific&gt;<br />
  &lt;specific&gt;192.168.10.1&lt;/specific&gt;<br />
  &lt;specific&gt;192.168.78.63&lt;/specific&gt;<br />
  &lt;specific&gt;192.168.78.64&lt;/specific&gt;<br />
  &lt;specific&gt;192.168.78.65&lt;/specific&gt;<br />
  &lt;specific&gt;192.168.78.81&lt;/specific&gt;<br />
  &lt;specific&gt;192.168.78.87&lt;/specific&gt;<br />
  &lt;specific&gt;192.168.48.88&lt;/specific&gt;<br />
  &lt;specific&gt;192.168.62.217&lt;/specific&gt;<br />
&lt;/definition&gt;</p>
<p>&lt;definition read-community=&#8221;Jygf%$g&#8221; write-community=&#8221;zeke&#8221;&gt;<br />
  &lt;specific&gt;10.127.48.24&lt;/specific&gt;<br />
  &lt;specific&gt;10.127.48.25&lt;/specific&gt;<br />
  &lt;specific&gt;10.127.48.26&lt;/specific&gt;<br />
  &lt;specific&gt;10.127.48.27&lt;/specific&gt;<br />
  &lt;specific&gt;10.127.48.28&lt;/specific&gt;<br />
  &lt;specific&gt;10.127.48.17&lt;/specific&gt;<br />
&lt;/definition&gt;</p>
<p>&lt;definition read-community=&#8221;UHIHUI^&amp;%&#8221;<br />
                     write-community=&#8221;zeke&#8221; version=&#8221;v1&#8243;&gt;<br />
  &lt;specific&gt;10.127.48.13&lt;/specific&gt;<br />
  &lt;specific&gt;10.127.48.14&lt;/specific&gt;<br />
  &lt;specific&gt;10.127.48.15&lt;/specific&gt;<br />
&lt;/definition&gt;</p>
<p>&lt;definition read-community=&#8221;&amp;H^F$&#8221; write-community=&#8221;zeke&#8221;&gt;<br />
  &lt;range begin=&#8221;192.168.81.0&#8243; end=&#8221;192.168.81.255&#8243;/&gt;<br />
&lt;/definition&gt;</p>
<p>&lt;definition read-community=&#8221;KJH^%$&#8221; write-community=&#8221;zeke&#8221;&gt;<br />
  &lt;range begin=&#8221;192.168.6.0&#8243; end=&#8221;192.168.6.255&#8243;/&gt;<br />
&lt;/definition&gt;</p>
<p>&lt;definition read-community=&#8221;ABCXYZ!@#&#8221; write-community=&#8221;zeke&#8221;&gt;<br />
  &lt;range begin=&#8221;0.0.0.0&#8243; end=&#8221;255.255.255.255&#8243;/&gt;<br />
&lt;/definition&gt;</p>
<p>&lt;/snmp-config&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Testing Node SNMP (testsnmp) by Jef Will</title>
		<link>http://opennms.dougbakewell.ca/posts/testsnmp#comment-5</link>
		<dc:creator>Jef Will</dc:creator>
		<pubDate>Mon, 06 Sep 2010 15:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=13#comment-5</guid>
		<description>Thanks so much for this post that describes the scenario I have on my network.  I have just installed OpenNMS but I am not clear as to how to actually use the different community strings after they have been found by testsmnp.  I have a subnet with devices that can have any of four community strings.  How does one configure this in OpenNMS? 

It seems one can assign only one community string to a subnet.  It will obviously be impractical to enter more than 50 interfaces in ONMS each with its own community string.  

I really want to discover a subnet and allow the scanner to try all four community strings on each interface.  Is this possible?

Thanks
Jef Will</description>
		<content:encoded><![CDATA[<p>Thanks so much for this post that describes the scenario I have on my network.  I have just installed OpenNMS but I am not clear as to how to actually use the different community strings after they have been found by testsmnp.  I have a subnet with devices that can have any of four community strings.  How does one configure this in OpenNMS? </p>
<p>It seems one can assign only one community string to a subnet.  It will obviously be impractical to enter more than 50 interfaces in ONMS each with its own community string.  </p>
<p>I really want to discover a subnet and allow the scanner to try all four community strings on each interface.  Is this possible?</p>
<p>Thanks<br />
Jef Will</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Welcome to OpenNMS Patterns and Scripts by Doug</title>
		<link>http://opennms.dougbakewell.ca/posts/welcome#comment-3</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 23 Aug 2010 16:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://opennms.dougbakewell.ca/?p=1#comment-3</guid>
		<description>:)</description>
		<content:encoded><![CDATA[<p>:)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

