<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: snmp and ping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682857#M917316</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For ping check the permissions of the directory /var/spool/sockets. Make sure that it is rwx to all ie. rwxrwxrwx.&lt;BR /&gt;&lt;BR /&gt;# ll -d /var/spool/sockets&lt;BR /&gt;&lt;BR /&gt;For the no response, make sure that the server is running the snmp daemon. You can verify on the server side by executing:&lt;BR /&gt;&lt;BR /&gt;# netstat -f inet|grep -e 161 -e snmp&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
    <pubDate>Thu, 14 Mar 2002 12:31:46 GMT</pubDate>
    <dc:creator>Steven Sim Kok Leong</dc:creator>
    <dc:date>2002-03-14T12:31:46Z</dc:date>
    <item>
      <title>snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682848#M917304</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;1. www user can not ping, I got this error message:&lt;BR /&gt;&lt;BR /&gt;"ping: socket: Permission denied"&lt;BR /&gt;but root can ping.&lt;BR /&gt;&lt;BR /&gt;2. I also got this error when I config MRTG.&lt;BR /&gt;&lt;BR /&gt;"SNMP error:&lt;BR /&gt;no response received"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2002 07:20:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682848#M917304</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-03-14T07:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682849#M917305</link>
      <description>1) Check ownership and permission of /usr/sbin/ping. It should be ..&lt;BR /&gt;-r-sr-xr-x  bin  bin    .... ping&lt;BR /&gt;&lt;BR /&gt;2) Is SNMP enabled on your machine ?&lt;BR /&gt;# ps -ef|grep snmp&lt;BR /&gt;to check ..</description>
      <pubDate>Thu, 14 Mar 2002 07:37:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682849#M917305</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-03-14T07:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682850#M917307</link>
      <description>thanks, the permission of&lt;BR /&gt;ping is correct,&lt;BR /&gt;and I do #ps -ef|grep snmp&lt;BR /&gt;it returns:&lt;BR /&gt;root 421 1  Mar 6 /usr/sbin/snmpdm&lt;BR /&gt;&lt;BR /&gt;Any idea?</description>
      <pubDate>Thu, 14 Mar 2002 07:54:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682850#M917307</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-03-14T07:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682851#M917309</link>
      <description>I'm sorry , the permission should be ..&lt;BR /&gt;-r-sr-xr-x 1 root  bin   24576 Nov 14 2000 /usr/sbin/ping&lt;BR /&gt;Change the ownership to root and normal user should be ableto ping again.&lt;BR /&gt;&lt;BR /&gt;As for the snmp q... I need to find out what exactly you did with MRTG, I believe this is a 3rd party monitoring tool ?</description>
      <pubDate>Thu, 14 Mar 2002 08:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682851#M917309</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-03-14T08:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682852#M917311</link>
      <description>the permission of ping is &lt;BR /&gt;the same as yours. but www&lt;BR /&gt;still can not ping.&lt;BR /&gt;&lt;BR /&gt;I got snmp error when I run cfgmaker &lt;BR /&gt;&lt;BR /&gt; cfgmaker --global "WorkDir: /home/www/sng"                     --global "Options[_]: growright,bits"              --ifref=ip                                         abc@116.com &amp;gt; mrtg.cfg&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2002 08:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682852#M917311</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-03-14T08:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682853#M917312</link>
      <description>I'm not sure then about your 'ping' problem. For the snmp problem, I can only think of one thing, since you did not use any option in cfgmaker that specify the community name, I think it's going to assume it's "public". So you got to make sure that your box has community name "public" which I think it is already unless someone change it.&lt;BR /&gt;# more /etc/snmpd.conf&lt;BR /&gt;to confirm this. BTW also look through this document for details on "cfgmaker" command.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html" target="_blank"&gt;http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2002 08:47:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682853#M917312</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-03-14T08:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682854#M917313</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;DO you start troubleshoot by try ping and do snmpget (by MRTG) to another snmp client.&lt;BR /&gt;look like it's problem with client not properly configure with snmp.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Mar 2002 09:08:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682854#M917313</guid>
      <dc:creator>Printaporn_1</dc:creator>
      <dc:date>2002-03-14T09:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682855#M917314</link>
      <description>good idea, I will see the /etc/snmpd.conf, need&lt;BR /&gt;I run /etc/inetd -c ?</description>
      <pubDate>Thu, 14 Mar 2002 09:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682855#M917314</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-03-14T09:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682856#M917315</link>
      <description>how to use snmpget to test?&lt;BR /&gt;thanks!</description>
      <pubDate>Thu, 14 Mar 2002 09:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682856#M917315</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-03-14T09:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682857#M917316</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For ping check the permissions of the directory /var/spool/sockets. Make sure that it is rwx to all ie. rwxrwxrwx.&lt;BR /&gt;&lt;BR /&gt;# ll -d /var/spool/sockets&lt;BR /&gt;&lt;BR /&gt;For the no response, make sure that the server is running the snmp daemon. You can verify on the server side by executing:&lt;BR /&gt;&lt;BR /&gt;# netstat -f inet|grep -e 161 -e snmp&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Thu, 14 Mar 2002 12:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682857#M917316</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-03-14T12:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682858#M917317</link>
      <description>Thanks Steven!&lt;BR /&gt;The permission of /var/spool/socket is correct, but when I run &lt;BR /&gt;netstat -f inetd|grep -e 161&lt;BR /&gt;-e snmp, it returned " inetd:&lt;BR /&gt;unknown address family"&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Fri, 15 Mar 2002 01:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682858#M917317</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-03-15T01:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682859#M917318</link>
      <description>To answer your previous question, you need not run inetd after (if any) changes were made to /etc/snmpd.conf. Just have to restart snmpd. The " netstat -f .. " command, it should be inet not inetd.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 02:14:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682859#M917318</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-03-15T02:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682860#M917319</link>
      <description>thanks, I do netstat -f inet|grep -e 161 -e snmp,&lt;BR /&gt;nothing returned.&lt;BR /&gt;&lt;BR /&gt;I think something wrong with&lt;BR /&gt;/etc/snmpd.conf, I don't know&lt;BR /&gt;how to set "get-community-name"&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 02:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682860#M917319</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-03-15T02:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682861#M917320</link>
      <description>Are you trying to use MRTG to monitor another device or your own computer?&lt;BR /&gt;&lt;BR /&gt;The device you are monitoring has to be expecting an SNMP query (running SNMPD in UNIX land) AND it has to have the same read only (RO) community string.  The default is usually "public" but for security reasons you really ought to change it.&lt;BR /&gt;&lt;BR /&gt;If you have any firewalls they will need to be opened to let it through.&lt;BR /&gt;&lt;BR /&gt;To use cfgmaker:&lt;BR /&gt;&lt;BR /&gt;cfgmaker --global "WorkDir: /home/mrtg" public@router.place.xyz &amp;gt; mrtg.cfg&lt;BR /&gt;&lt;BR /&gt;You can leave off the --global "workdir: /home/mrtg" and just add that later in the mrtg.cfg file.  Can also just put in the a.b.c.d address instead of the name. &lt;BR /&gt;&lt;BR /&gt;The fact that you are getting no snmp response means that the device either does not do SNMP or the community string is not "public".&lt;BR /&gt;&lt;BR /&gt;Doing&lt;BR /&gt;&lt;BR /&gt;netstat -a |grep 161&lt;BR /&gt;&lt;BR /&gt;on the target box should show if it is going to respond.&lt;BR /&gt;&lt;BR /&gt;If you have a Window box you can get a freeware program getif which will "walk" the snmp tree of a device.  I'm sure there is some equivalent for UNIX.  &lt;BR /&gt;&lt;BR /&gt;Ron &lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 03:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682861#M917320</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-03-15T03:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682862#M917321</link>
      <description>how to set "get-community-name" ?&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 08:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682862#M917321</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-03-15T08:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682863#M917322</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In your /etc/snmpd.conf of the server you are polling, specify:&lt;BR /&gt;&lt;BR /&gt;get-community-name whatever_you_want&lt;BR /&gt;&lt;BR /&gt;This name must be the same as the community name you specified in your mrtg.cfg. It is used in snmpget to query the OID value of your server.&lt;BR /&gt;&lt;BR /&gt;Note however that it is not advisable for you to use "public" as community string as it is widely known and if your snmpd has not been patched and not restricted to specific source addresses, it will be susceptible to DoS attacks.&lt;BR /&gt;&lt;BR /&gt;For security reasons, use a community string that is not easily guessable.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 15 Mar 2002 08:55:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682863#M917322</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-03-15T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: snmp and ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682864#M917323</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Btw, you will need the colon:&lt;BR /&gt;&lt;BR /&gt;get-community-name: whatever_you_want &lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 08:57:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/snmp-and-ping/m-p/2682864#M917323</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-03-15T08:57:01Z</dc:date>
    </item>
  </channel>
</rss>

