<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Using NET-SNMP and HP-UX SNMP together</title>
	<atom:link href="http://administratosphere.wordpress.com/2009/06/09/using-net-snmp-and-hp-ux-snmp-together/feed/" rel="self" type="application/rss+xml" />
	<link>http://administratosphere.wordpress.com/2009/06/09/using-net-snmp-and-hp-ux-snmp-together/</link>
	<description>UNIX and Linux System Administration</description>
	<lastBuildDate>Tue, 22 Dec 2009 18:33:46 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kris</title>
		<link>http://administratosphere.wordpress.com/2009/06/09/using-net-snmp-and-hp-ux-snmp-together/#comment-1109</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Wed, 15 Jul 2009 13:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://administratosphere.wordpress.com/?p=686#comment-1109</guid>
		<description>O and I also tried this
root@commnms # su root /usr/local/bin/snmpconf
/usr/local/bin/snmpconf[9]: use:  not found.
/usr/local/bin/snmpconf[10]: use:  not found.
/usr/local/bin/snmpconf[11]: use:  not found.
/usr/local/bin/snmpconf[12]: use:  not found.
/usr/local/bin/snmpconf[13]: use:  not found.
/usr/local/bin/snmpconf[14]: Syntax error at line 15 : `{&#039; is not expected.
root@commnms #</description>
		<content:encoded><![CDATA[<p>O and I also tried this<br />
root@commnms # su root /usr/local/bin/snmpconf<br />
/usr/local/bin/snmpconf[9]: use:  not found.<br />
/usr/local/bin/snmpconf[10]: use:  not found.<br />
/usr/local/bin/snmpconf[11]: use:  not found.<br />
/usr/local/bin/snmpconf[12]: use:  not found.<br />
/usr/local/bin/snmpconf[13]: use:  not found.<br />
/usr/local/bin/snmpconf[14]: Syntax error at line 15 : `{&#8216; is not expected.<br />
root@commnms #</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://administratosphere.wordpress.com/2009/06/09/using-net-snmp-and-hp-ux-snmp-together/#comment-1108</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Wed, 15 Jul 2009 13:56:44 +0000</pubDate>
		<guid isPermaLink="false">http://administratosphere.wordpress.com/?p=686#comment-1108</guid>
		<description>I have not been able to use the HP Internet Express bundle as I have HPUX V11.11 and the net-snmp.depot files located on the link you provided are for newer versions of HPUX.  So they will not run.  So I downloaded the binary file from sourceforge and this is where I am at.

root@commnms # /usr/local/sbin/snmpd -f -Le -c /usr/local/share/snmp/snmpd.conf
[init_smux] bind failed: Address already in use
Error opening specified endpoint &quot;172.31.248.70:162&quot;
Server Exiting with code 1
root@commnms # cat /usr/local/share/snmp/snmpd.conf
rocommunity g0g0commnet
agentaddress 172.31.248.70:162
root@commnms #

I thought I would try and run the snmpconf command but that dose not work either I get this

# snmpconf
sh: snmpconf:  not found.
# ./snmpconf
sh: ./snmpconf: Execute permission denied.
# su root
# ./snmpconf
sh: ./snmpconf: Execute permission denied</description>
		<content:encoded><![CDATA[<p>I have not been able to use the HP Internet Express bundle as I have HPUX V11.11 and the net-snmp.depot files located on the link you provided are for newer versions of HPUX.  So they will not run.  So I downloaded the binary file from sourceforge and this is where I am at.</p>
<p>root@commnms # /usr/local/sbin/snmpd -f -Le -c /usr/local/share/snmp/snmpd.conf<br />
[init_smux] bind failed: Address already in use<br />
Error opening specified endpoint &#8220;172.31.248.70:162&#8243;<br />
Server Exiting with code 1<br />
root@commnms # cat /usr/local/share/snmp/snmpd.conf<br />
rocommunity g0g0commnet<br />
agentaddress 172.31.248.70:162<br />
root@commnms #</p>
<p>I thought I would try and run the snmpconf command but that dose not work either I get this</p>
<p># snmpconf<br />
sh: snmpconf:  not found.<br />
# ./snmpconf<br />
sh: ./snmpconf: Execute permission denied.<br />
# su root<br />
# ./snmpconf<br />
sh: ./snmpconf: Execute permission denied</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddouthitt</title>
		<link>http://administratosphere.wordpress.com/2009/06/09/using-net-snmp-and-hp-ux-snmp-together/#comment-1106</link>
		<dc:creator>ddouthitt</dc:creator>
		<pubDate>Tue, 14 Jul 2009 22:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://administratosphere.wordpress.com/?p=686#comment-1106</guid>
		<description>You don&#039;t need to build NET-SNMP yourself; you can just use HP&#039;s Internet Express to take all of the hard stuff out of making it work.

Also, your command line doesn&#039;t look like mine at all.  What are the parameters &quot;start&quot; and &quot;public&quot; for?  Sounds like you are confusing the server with the client.  If you looked at the error code in $? you would probably find that snmpd exited with an error.

Try something like this:

&lt;code&gt;/usr/local/sbin/snmpd -f -Le -c /usr/local/share/snmp/snmpd.conf&lt;/code&gt;

That might help.  Also make sure your snmpd.conf is complete.

Or better yet, download and use &lt;a href=&quot;http://h20338.www2.hp.com/hpux11i/cache/324414-0-0-0-121.html&quot; rel=&quot;nofollow&quot;&gt;HP Internet Express&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to build NET-SNMP yourself; you can just use HP&#8217;s Internet Express to take all of the hard stuff out of making it work.</p>
<p>Also, your command line doesn&#8217;t look like mine at all.  What are the parameters &#8220;start&#8221; and &#8220;public&#8221; for?  Sounds like you are confusing the server with the client.  If you looked at the error code in $? you would probably find that snmpd exited with an error.</p>
<p>Try something like this:</p>
<p><code>/usr/local/sbin/snmpd -f -Le -c /usr/local/share/snmp/snmpd.conf</code></p>
<p>That might help.  Also make sure your snmpd.conf is complete.</p>
<p>Or better yet, download and use <a href="http://h20338.www2.hp.com/hpux11i/cache/324414-0-0-0-121.html" rel="nofollow">HP Internet Express</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://administratosphere.wordpress.com/2009/06/09/using-net-snmp-and-hp-ux-snmp-together/#comment-1105</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Tue, 14 Jul 2009 14:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://administratosphere.wordpress.com/?p=686#comment-1105</guid>
		<description>thank you for your response.  I am still not getting anything when trying to run the daemon even in debug mode.  I see that on yours you are using the net-snmp client for internet express. I am not using that one.  I am using a binary that was compiled for the HPUX that I downloaded of source forge. I would use the internet express version except I have been unable to obtain it for my system.  I need the one for version B.11.11 and the ones on HP&#039;s website are for B.11.23 and B.11.31 which will not load on the B.11.11 OS.  here are the steps I have take to configure my system thus far along with the debug command I got from you above.  Any help would be greatly appreciated.

I have been trying to get net-snmp working on a HPUX box for over a week now.  I do not think it should be this difficult. I must be missing a step.  this morning I tried once again and now not even the native HPUX agent is working so I have no SNMP monitoring. So here is where I am at.  Any help would be greatly apreciated.

I stopped the HPUX agent
 /sbin/init.d/SnmpFddi4 stop
 /sbin/init.d/SnmpHpunix stop
 /sbin/init.d/SnmpMaster stop
 /sbin/init.d/SnmpMib2 stop
 /sbin/init.d/SnmpTrpDst stop

I then installed the net-snmp client via the fallowing command

 cd /
 gzip -cd /tmp/net-snmp-5.4-1-HP-UX_B.11.11_9000_800.tar.gz &#124; tar xvf -

I then created an snmpd.conf file
Create the file /usr/local/share/snmp/snmpd.conf
with the fallowing lines

rocommunity public

Finally I started the net-snmp agent via
/usr/local/sbin/snmpd


Then I started the HPUX Agent
 /sbin/init.d/SnmpFddi4 start
 /sbin/init.d/SnmpHpunix start
 /sbin/init.d/SnmpMaster start
 /sbin/init.d/SnmpMib2 start
 /sbin/init.d/SnmpTrpDst start


Before I did all this I was getting snmp monitoring via the native HPUX client but it was not giving me CPU and Memory information that is why I tried to install the net-snmp client.  However now I am getting nothing what so ever.

HELP ultimately I would like to have HPUX-SNMP Agent and then the net-snmp agent running as well.  
HPUX-Agent Port 161
Net-Agent Port 163

One other note I am running HPUX V11.11

Pleae note I am very new to HPUX so my knowledge is limited here.
Tags: HPUX V11.11 Native SNMP Agent &amp; Net-SNMP Agent








Ran this debug command.

root@commnms # /usr/local/sbin/snmpd start -f -Le -c public /usr/local/share/snmp/snmpd.conf 
root@commnms #</description>
		<content:encoded><![CDATA[<p>thank you for your response.  I am still not getting anything when trying to run the daemon even in debug mode.  I see that on yours you are using the net-snmp client for internet express. I am not using that one.  I am using a binary that was compiled for the HPUX that I downloaded of source forge. I would use the internet express version except I have been unable to obtain it for my system.  I need the one for version B.11.11 and the ones on HP&#8217;s website are for B.11.23 and B.11.31 which will not load on the B.11.11 OS.  here are the steps I have take to configure my system thus far along with the debug command I got from you above.  Any help would be greatly appreciated.</p>
<p>I have been trying to get net-snmp working on a HPUX box for over a week now.  I do not think it should be this difficult. I must be missing a step.  this morning I tried once again and now not even the native HPUX agent is working so I have no SNMP monitoring. So here is where I am at.  Any help would be greatly apreciated.</p>
<p>I stopped the HPUX agent<br />
 /sbin/init.d/SnmpFddi4 stop<br />
 /sbin/init.d/SnmpHpunix stop<br />
 /sbin/init.d/SnmpMaster stop<br />
 /sbin/init.d/SnmpMib2 stop<br />
 /sbin/init.d/SnmpTrpDst stop</p>
<p>I then installed the net-snmp client via the fallowing command</p>
<p> cd /<br />
 gzip -cd /tmp/net-snmp-5.4-1-HP-UX_B.11.11_9000_800.tar.gz | tar xvf -</p>
<p>I then created an snmpd.conf file<br />
Create the file /usr/local/share/snmp/snmpd.conf<br />
with the fallowing lines</p>
<p>rocommunity public</p>
<p>Finally I started the net-snmp agent via<br />
/usr/local/sbin/snmpd</p>
<p>Then I started the HPUX Agent<br />
 /sbin/init.d/SnmpFddi4 start<br />
 /sbin/init.d/SnmpHpunix start<br />
 /sbin/init.d/SnmpMaster start<br />
 /sbin/init.d/SnmpMib2 start<br />
 /sbin/init.d/SnmpTrpDst start</p>
<p>Before I did all this I was getting snmp monitoring via the native HPUX client but it was not giving me CPU and Memory information that is why I tried to install the net-snmp client.  However now I am getting nothing what so ever.</p>
<p>HELP ultimately I would like to have HPUX-SNMP Agent and then the net-snmp agent running as well.<br />
HPUX-Agent Port 161<br />
Net-Agent Port 163</p>
<p>One other note I am running HPUX V11.11</p>
<p>Pleae note I am very new to HPUX so my knowledge is limited here.<br />
Tags: HPUX V11.11 Native SNMP Agent &amp; Net-SNMP Agent</p>
<p>Ran this debug command.</p>
<p>root@commnms # /usr/local/sbin/snmpd start -f -Le -c public /usr/local/share/snmp/snmpd.conf<br />
root@commnms #</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddouthitt</title>
		<link>http://administratosphere.wordpress.com/2009/06/09/using-net-snmp-and-hp-ux-snmp-together/#comment-1102</link>
		<dc:creator>ddouthitt</dc:creator>
		<pubDate>Mon, 13 Jul 2009 21:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://administratosphere.wordpress.com/?p=686#comment-1102</guid>
		<description>The net-snmp daemon uses the -L option to generate logging information, and the -c tells it which configuration file to use.  I used this code to start it up:

&lt;code&gt;
snmpd -Ls daemon -p /var/tmp/net-snmpd -c /opt/iexpress/net-snmp/snmpd.conf
&lt;/code&gt;

For debugging purposes, you can use this command:

&lt;code&gt;
snmpd -f -Le -c /opt/iexpress/net-snmp/snmpd.conf
&lt;/code&gt;

With the -f the daemon will not go into the background, but will stay in the foreground where you can see what happens.  The -Le will put errors onto the stderr output stream.

To create snmpd.conf to start with, use this command:

&lt;code&gt;
/opt/iexpress/net-snmp/bin/snmpconf -g basic_setup
&lt;/code&gt;

This will walk you through creating a valid snmpd.conf.</description>
		<content:encoded><![CDATA[<p>The net-snmp daemon uses the -L option to generate logging information, and the -c tells it which configuration file to use.  I used this code to start it up:</p>
<p><code><br />
snmpd -Ls daemon -p /var/tmp/net-snmpd -c /opt/iexpress/net-snmp/snmpd.conf<br />
</code></p>
<p>For debugging purposes, you can use this command:</p>
<p><code><br />
snmpd -f -Le -c /opt/iexpress/net-snmp/snmpd.conf<br />
</code></p>
<p>With the -f the daemon will not go into the background, but will stay in the foreground where you can see what happens.  The -Le will put errors onto the stderr output stream.</p>
<p>To create snmpd.conf to start with, use this command:</p>
<p><code><br />
/opt/iexpress/net-snmp/bin/snmpconf -g basic_setup<br />
</code></p>
<p>This will walk you through creating a valid snmpd.conf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://administratosphere.wordpress.com/2009/06/09/using-net-snmp-and-hp-ux-snmp-together/#comment-1100</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Mon, 13 Jul 2009 18:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://administratosphere.wordpress.com/?p=686#comment-1100</guid>
		<description>I have tried the above but it seems my system is still only listening on the 161 port for the HPUX native client.  I am running HPUX 11.11 and net-snmp.  As far as I can tell the net-snmp agent start I did not get and error message or anything when I tried to start it. Any thoughts or suggestions.</description>
		<content:encoded><![CDATA[<p>I have tried the above but it seems my system is still only listening on the 161 port for the HPUX native client.  I am running HPUX 11.11 and net-snmp.  As far as I can tell the net-snmp agent start I did not get and error message or anything when I tried to start it. Any thoughts or suggestions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
