check snmpd.conf

for simple testsing

keep

rocommmunity  public
rwcommunitu private

then do snmpwalk

On Mon, Oct 3, 2016 at 8:59 PM, P, Sangeetha (Nokia - IN/Chennai) <
sangeeth...@nokia.com> wrote:

> Hi all,
>
>         We are trying to install Net-SNMP on both Linux and Windows
>
> In Linux:
>
> 1)      Installed Net-SNMP
>
> [root@test4 ~]# snmpget --version
> NET-SNMP version: 5.5
> [root@test4 ~]# rpm -qa | grep -i net-snmp
> net-snmp-libs-5.5-49.el6_5.3.x86_64
> net-snmp-python-5.5-49.el6_5.3.x86_64
> net-snmp-devel-5.5-49.el6_5.3.x86_64
> net-snmp-utils-5.5-49.el6_5.3.x86_64
> net-snmp-5.5-49.el6_5.3.x86_64
> net-snmp-perl-5.5-49.el6_5.3.x86_64
>
> 2)      While running snmpwalk command
>
> [root@test4 ~]# snmpwalk -v 2c -c public localhost hrSystemProcesses
> HOST-RESOURCES-MIB::hrSystemProcesses = No Such Instance currently exists
> at this OID
>
> we are not getting the output for snmpwalk command for hrSystemProcesses
> we tried of installing higher version of Net-SNMP but we are getting below
> error during installation
>
> Error: Depsolving loop limit reached.
> Error: Package: python-iwlib-0.1-1.2.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: python(abi) = 2.6
>            Removing: python-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                python(abi) = 2.6
>            Updated By: python-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                python(abi) = 2.7
>                python(abi) = 2.7
> Error: Package: python-crypto-2.0.1-22.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libgmp.so.3()(64bit)
>            Removing: gmp-4.3.1-7.el6_2.2.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libgmp.so.3()(64bit)
>            Updated By: 1:gmp-6.0.0-11.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: 1:net-snmp-python-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: python(abi) = 2.6
>            Removing: python-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                python(abi) = 2.6
>            Updated By: python-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                python(abi) = 2.7
>                python(abi) = 2.7
> Error: Package: 1:readahead-1.5.6-2.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: upstart
>            Removing: upstart-0.6.5-13.el6_5.3.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                upstart = 0.6.5-13.el6_5.3
>            Obsoleted By: systemd-219-19.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: libreport-compat-2.0.9-21.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libreport = 2.0.9-21.el6
>            Removing: libreport-2.0.9-21.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libreport = 2.0.9-21.el6
>            Updated By: libreport-2.1.11-30.el7.x86_64 (RHEL7.2-Repo)
>                libreport = 2.1.11-30.el7
> Error: Package: xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64
> (@anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: xz = 4.999.9-0.5.beta.20091007git.el6
>            Removing: xz-4.999.9-0.5.beta.20091007git.el6.x86_64
> (@anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                xz = 4.999.9-0.5.beta.20091007git.el6
>            Updated By: xz-5.1.2-12alpha.el7.x86_64 (RHEL7.2-Repo)
>                xz = 5.1.2-12alpha.el7
> Error: Package: 1:net-snmp-perl-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: libnetsnmp.so.20()(64bit)
>            Removing: 1:net-snmp-libs-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>                libnetsnmp.so.20()(64bit)
>            Updated By: 1:net-snmp-libs-5.7.2-24.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: hal-info-20090716-3.1.el6.noarch (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: hal >= 0.5.10
>            Removing: hal-0.5.14-14.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                hal = 0.5.14-14.el6
>            Obsoleted By: systemd-219-19.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: 1:net-snmp-python-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: libpython2.6.so.1.0()(64bit)
>            Removing: python-libs-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libpython2.6.so.1.0()(64bit)
>            Updated By: python-libs-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: libreport-plugin-logger-2.0.9-21.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libreport = 2.0.9-21.el6
>            Removing: libreport-2.0.9-21.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libreport = 2.0.9-21.el6
>            Updated By: libreport-2.1.11-30.el7.x86_64 (RHEL7.2-Repo)
>                libreport = 2.1.11-30.el7
> Error: Package: file-devel-5.04-21.el6.x86_64 (@RHEL6.6-Repo)
>            Requires: file = 5.04-21.el6
>            Removing: file-5.04-21.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                file = 5.04-21.el6
>            Updated By: file-5.11-31.el7.x86_64 (RHEL7.2-Repo)
>                file = 5.11-31.el7
> Error: Package: libreport-plugin-kerneloops-2.0.9-21.el6.x86_64
> (@anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libreport = 2.0.9-21.el6
>            Removing: libreport-2.0.9-21.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libreport = 2.0.9-21.el6
>            Updated By: libreport-2.1.11-30.el7.x86_64 (RHEL7.2-Repo)
>                libreport = 2.1.11-30.el7
> Error: Package: python-crypto-2.0.1-22.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libpython2.6.so.1.0()(64bit)
>            Removing: python-libs-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libpython2.6.so.1.0()(64bit)
>            Updated By: python-libs-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: 1:net-snmp-perl-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: net-snmp-libs = 1:5.5-49.el6_5.3
>            Removing: 1:net-snmp-libs-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>                net-snmp-libs = 1:5.5-49.el6_5.3
>            Updated By: 1:net-snmp-libs-5.7.2-24.el7.x86_64 (RHEL7.2-Repo)
>                net-snmp-libs = 1:5.7.2-24.el7
> Error: Package: libreport-compat-2.0.9-21.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libreport-plugin-rhtsupport = 2.0.9-21.el6
>            Removing: libreport-plugin-rhtsupport-2.0.9-21.el6.x86_64
> (@anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libreport-plugin-rhtsupport = 2.0.9-21.el6
>            Updated By: libreport-plugin-rhtsupport-2.1.11-30.el7.x86_64
> (RHEL7.2-Repo)
>                libreport-plugin-rhtsupport = 2.1.11-30.el7
> Error: Package: libproxy-bin-0.3.0-10.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libproxy = 0.3.0-10.el6
>            Removing: libproxy-0.3.0-10.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libproxy = 0.3.0-10.el6
>            Updated By: libproxy-0.4.11-8.el7.x86_64 (RHEL7.2-Repo)
>                libproxy = 0.4.11-8.el7
> Error: Package: cas-0.15-1.el6.1.noarch (@anaconda-RedHatEnterpriseLinux-
> 201409260744.x86_64/6.6)
>            Requires: python(abi) = 2.6
>            Removing: python-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                python(abi) = 2.6
>            Updated By: python-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                python(abi) = 2.7
>                python(abi) = 2.7
> Error: Package: libproxy-bin-0.3.0-10.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libproxy.so.0()(64bit)
>            Removing: libproxy-0.3.0-10.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libproxy.so.0()(64bit)
>            Updated By: libproxy-0.4.11-8.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: 1:net-snmp-perl-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: libnetsnmpagent.so.20()(64bit)
>            Removing: 1:net-snmp-libs-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>                libnetsnmpagent.so.20()(64bit)
>            Updated By: 1:net-snmp-libs-5.7.2-24.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: libreport-plugin-kerneloops-2.0.9-21.el6.x86_64
> (@anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libproxy.so.0()(64bit)
>            Removing: libproxy-0.3.0-10.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libproxy.so.0()(64bit)
>            Updated By: libproxy-0.4.11-8.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: 1:net-snmp-python-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: libnetsnmp.so.20()(64bit)
>            Removing: 1:net-snmp-libs-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>                libnetsnmp.so.20()(64bit)
>            Updated By: 1:net-snmp-libs-5.7.2-24.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: libproxy-python-0.3.0-10.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: python(abi) = 2.6
>            Removing: python-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                python(abi) = 2.6
>            Updated By: python-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                python(abi) = 2.7
>                python(abi) = 2.7
> Error: Package: 1:net-snmp-python-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: net-snmp-libs = 1:5.5-49.el6_5.3
>            Removing: 1:net-snmp-libs-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>                net-snmp-libs = 1:5.5-49.el6_5.3
>            Updated By: 1:net-snmp-libs-5.7.2-24.el7.x86_64 (RHEL7.2-Repo)
>                net-snmp-libs = 1:5.7.2-24.el7
> Error: Package: python-crypto-2.0.1-22.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: python(abi) = 2.6
>            Removing: python-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                python(abi) = 2.6
>            Updated By: python-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                python(abi) = 2.7
>                python(abi) = 2.7
> Error: Package: libreport-plugin-kerneloops-2.0.9-21.el6.x86_64
> (@anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libabrt_web.so.0()(64bit)
>            Removing: libreport-2.0.9-21.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libabrt_web.so.0()(64bit)
>            Updated By: libreport-2.1.11-30.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64
> (@anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: liblzma.so.0()(64bit)
>            Removing: xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64
> (@anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                liblzma.so.0()(64bit)
>            Updated By: xz-libs-5.1.2-12alpha.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: 1:net-snmp-perl-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: libnetsnmpmibs.so.20()(64bit)
>            Removing: 1:net-snmp-libs-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>                libnetsnmpmibs.so.20()(64bit)
>            Updated By: 1:net-snmp-libs-5.7.2-24.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: 1:net-snmp-perl-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: libnetsnmphelpers.so.20()(64bit)
>            Removing: 1:net-snmp-libs-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>                libnetsnmphelpers.so.20()(64bit)
>            Updated By: 1:net-snmp-libs-5.7.2-24.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: libproxy-python-0.3.0-10.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libproxy = 0.3.0-10.el6
>            Removing: libproxy-0.3.0-10.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libproxy = 0.3.0-10.el6
>            Updated By: libproxy-0.4.11-8.el7.x86_64 (RHEL7.2-Repo)
>                libproxy = 0.4.11-8.el7
> Error: Package: python-iwlib-0.1-1.2.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: libpython2.6.so.1.0()(64bit)
>            Removing: python-libs-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                libpython2.6.so.1.0()(64bit)
>            Updated By: python-libs-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                Not found
> Error: Package: python-paramiko-1.7.5-2.1.el6.noarch (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>            Requires: python(abi) = 2.6
>            Removing: python-2.6.6-52.el6.x86_64 (@anaconda-
> RedHatEnterpriseLinux-201409260744.x86_64/6.6)
>                python(abi) = 2.6
>            Updated By: python-2.7.5-34.el7.x86_64 (RHEL7.2-Repo)
>                python(abi) = 2.7
>                python(abi) = 2.7
> Error: Package: 1:net-snmp-perl-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>            Requires: libnetsnmptrapd.so.20()(64bit)
>            Removing: 1:net-snmp-libs-5.5-49.el6_5.3.x86_64 (@RHEL6.6-Repo)
>                libnetsnmptrapd.so.20()(64bit)
>            Updated By: 1:net-snmp-libs-5.7.2-24.el7.x86_64 (RHEL7.2-Repo)
>                Not found
>
> You could try using --skip-broken to work around the problem
> You could try running: rpm -Va --nofiles --nodigest
>
> In Windows
>
> 1)      We tried installing 5.4.1, 5.5.0, 5.6.1, 5.7.0 but all the
> versions I am not getting value for UCD mibs
>
> C:\usr\bin>snmpwalk.exe -v2c -c public localhost UCD
> UCD-SNMP-MIB::ucdavis = No Such Object available on this agent at this OID
>
> C:\usr\bin>snmpwalk.exe -v2c -c public localhost 1.3.6.1.2.1.25.1.6.0
> HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 149
>
> Queries:
>
> 1)      In Linux, how will I get value for hrSystemProcesses ?
> 2)      In Windows, how will I get values for UCD-SNMP-MIBS ?
>
>
> Please help me in resolving these issues.
>
> Regards,
> Sangeetha P
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>


-- 
Thanks,
Pranesh
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to