This is a multi-part message in MIME format.

--===============1104725531==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C8A9F5.8609B4E9"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8A9F5.8609B4E9
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

1) $snmpget -v 1 -c public localhost sysUpTime.0

DISMAN-EVENT-MIB::sysUpTimeInstance =3D Timeticks: (21168) 0:03:31.68

=20

2)$grep snmp /etc/hosts*

/etc/hosts.allow:snmpd:ALL

=20

3) $cat /etc/hosts.allow

#

# hosts.allow This file describes the names of the hosts which are

# allowed to use the local INET services, as decided

# by the '/usr/sbin/tcpd' server.

#

=20

=20

=20

ALL:PARANOID:deny

sshd:ALL

snmpd:ALL

ALL:ALLENY

=20

=20

3)$snmpwalk -v 1 -c public localhost versiontag

End of MIB

=20

But its working fine with remote host.

=20


------_=_NextPart_001_01C8A9F5.8609B4E9
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

=3D"urn:schemas-microsoft-comfficeffice" =
xmlns:w=3D"urn:schemas-microsoft-comffice:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>1) $snmpget -v 1 -c public
localhost   sysUpTime.0>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>DISMAN-EVENT-MIB::sysUpTimeInstance =
=3D
Timeticks: (21168) 0:03:31.68>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>2)$grep  snmp  =
/etc/hosts*>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>/etc/hosts.allow:snmpd:ALL>=
>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>3) $cat =
/etc/hosts.allow>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>#>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'># hosts.allow   This file
describes the names of the hosts which are>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>#     &nbsp=
;        
allowed to use the local INET services, as =
decided>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>#     &nbsp=
;        
by the '/usr/sbin/tcpd' server.>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>#>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>ALL:PARANOID:deny>>
<=
/font>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>sshd:ALL>>

>


style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>snmpd:ALL>>
p>

style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>ALL:ALLENY>>

>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>>



style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>3)$snmpwalk -v 1 -c public =
localhost
versiontag>>



style=3D'font-size:
10.0pt;font-family:Arial;color:red;font-weight:bold'>End of =
MIB>>



style=3D'font-size:
10.0pt;font-family:Arial;color:red;font-weight:bold'>> pan>



face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;color:#3366FF;font-weight:bol=
d'>But
its working fine with remote host.>>



style=3D'font-size:
10.0pt;font-family:Arial;color:red;font-weight:bold'>> pan>









------_=_NextPart_001_01C8A9F5.8609B4E9--


--===============1104725531==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
--===============1104725531==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============1104725531==--