NETS header NETS Homepage UCAR Homepage NCAR Homepage SCD Homepage NETS Homepage About NETS Work requests & support
  Browse NETS topics: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Net-SNMP on nagman (NETS notes)

Date: Mon, 17 Oct 2005 17:02:52 -0600
From: Jeff Custard
To: Pete Siemsen
Subject: nagman snmp additions today

Pete:

My notes from the stuff I installed on nagman today. I've got lots more conf work to do, but the packages are there.

Jeff

============================================ Ref: http://packages.debian.org/stable/source/net-snmp

# stable (net): 5.1.2-6.1
Binary packages: libsnmp-base, libsnmp-perl, libsnmp5, libsnmp5-dev, snmp, snmpd, tkmib

--
nagman# apt-get install libsnmp-base
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  libsnmp-base
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1009kB of archives.
After unpacking 2269kB of additional disk space will be used.
Get:1 http://mirrors.kernel.org stable/main libsnmp-base 5.1.2-6.1 [1009kB]
Fetched 1009kB in 1s (608kB/s)        
Selecting previously deselected package libsnmp-base.
(Reading database ... 28063 files and directories currently installed.)
Unpacking libsnmp-base (from .../libsnmp-base_5.1.2-6.1_all.deb) ...
Setting up libsnmp-base (5.1.2-6.1) ...
nagman# apt-get install libsnmp-perl
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libsensors3 libsnmp5
Suggested packages:
  lm-sensors lm-sensors-mod-2.9 kernel-image-2.6
The following NEW packages will be installed:
  libsensors3 libsnmp-perl libsnmp5
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2429kB of archives.
After unpacking 4067kB of additional disk space will be used.
Do you want to continue? [Y/n] y

got this message:

 lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu Configuring libsensors3 

tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  
 x                                                                                   

                                                x  
 x libsensors3 not functional                                                        

                                                x  
 x                                                                                   

                                                x  
 x It appears that your kernel is not compiled with sensors support and that you 

don't have sensors modules installed. As a result,  x  
 x libsensors3 will not be functional on your system.                                

                                                x  
 x                                                                                   

                                                x  
 x If you want to enable it, you can:                                                

                                                x  
 x  - Install the i2c-2.4-xx-x-xxx and lm-sensors-2.4-xx-x-xxx packages              

                                                x  
 x    corresponding to your kernel if you are using a prebuilt kernel;               

                                                x  
 x  - Patch your kernel using the packages kernel-patch-2.4-i2c and                  

                                                x  
 x    kernel-patch-2.4-lm-sensors;                                                   

                                                x  
 x  - Build the modules yourself using i2c-source and lm-sensors-source.  

then it continued:

Selecting previously deselected package libsensors3.                                 

                                                  
(Reading database ... 28139 files and directories currently installed.)
Unpacking libsensors3 (from .../libsensors3_1%3a2.9.1-1sarge2_i386.deb) ...
Selecting previously deselected package libsnmp5.
Unpacking libsnmp5 (from .../libsnmp5_5.1.2-6.1_i386.deb) ...
Selecting previously deselected package libsnmp-perl.
Unpacking libsnmp-perl (from .../libsnmp-perl_5.1.2-6.1_i386.deb) ...
Setting up libsensors3 (2.9.1-1sarge2) ...

Setting up libsnmp5 (5.1.2-6.1) ...

Setting up libsnmp-perl (5.1.2-6.1) ...
nagman# 


nagman# apt-get install libsnmp5    
Reading Package Lists... Done
Building Dependency Tree... Done
libsnmp5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

nagman# apt-get install libsnmp5-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libssl-dev libwrap0-dev
The following NEW packages will be installed:
  libsnmp5-dev libssl-dev libwrap0-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3687kB of archives.
After unpacking 11.4MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.kernel.org stable/main libwrap0-dev 7.6.dbs-8 [33.7kB]
Get:2 http://mirrors.kernel.org stable/main libssl-dev 0.9.7e-3 [2553kB]
Get:3 http://mirrors.kernel.org stable/main libsnmp5-dev 5.1.2-6.1 [1101kB]
Fetched 3687kB in 5s (629kB/s)         
Selecting previously deselected package libwrap0-dev.
(Reading database ... 28225 files and directories currently installed.)
Unpacking libwrap0-dev (from .../libwrap0-dev_7.6.dbs-8_i386.deb) ...
Selecting previously deselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_0.9.7e-3_i386.deb) ...
Selecting previously deselected package libsnmp5-dev.
Unpacking libsnmp5-dev (from .../libsnmp5-dev_5.1.2-6.1_i386.deb) ...
Setting up libwrap0-dev (7.6.dbs-8) ...
Setting up libssl-dev (0.9.7e-3) ...

Setting up libsnmp5-dev (5.1.2-6.1) ...


nagman# apt-get install snmp        
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  snmp
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 811kB of archives.
After unpacking 1085kB of additional disk space will be used.
Get:1 http://mirrors.kernel.org stable/main snmp 5.1.2-6.1 [811kB]
Fetched 811kB in 0s (1137kB/s)
Selecting previously deselected package snmp.
(Reading database ... 29698 files and directories currently installed.)
Unpacking snmp (from .../snmp_5.1.2-6.1_i386.deb) ...
Setting up snmp (5.1.2-6.1) ...

nagman# apt-get install snmpd
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  snmpd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 730kB of archives.
After unpacking 856kB of additional disk space will be used.
Get:1 http://mirrors.kernel.org stable/main snmpd 5.1.2-6.1 [730kB]
Fetched 730kB in 0s (1139kB/s)
Selecting previously deselected package snmpd.
(Reading database ... 29749 files and directories currently installed.)
Unpacking snmpd (from .../snmpd_5.1.2-6.1_i386.deb) ...
Setting up snmpd (5.1.2-6.1) ...
Starting network management services: snmpd.


nagman# apt-get install tkmib
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  perl-tk
The following NEW packages will be installed:
  perl-tk tkmib
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 3200kB of archives.
After unpacking 9429kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.kernel.org stable/main perl-tk 1:800.025-2 [2446kB]
Get:2 http://mirrors.kernel.org stable/main tkmib 5.1.2-6.1 [754kB]
Fetched 3200kB in 2s (1275kB/s)
Selecting previously deselected package perl-tk.
(Reading database ... 29778 files and directories currently installed.)
Unpacking perl-tk (from .../perl-tk_1%3a800.025-2_i386.deb) ...
Selecting previously deselected package tkmib.
Unpacking tkmib (from .../tkmib_5.1.2-6.1_all.deb) ...
Setting up perl-tk (800.025-2) ...
Setting up tkmib (5.1.2-6.1) ...

=========
Binary packages: libsnmp-base, libsnmp-perl, libsnmp5, libsnmp5-dev, snmp, snmpd, tkmib
=========

DONE. Ref for each of those 7:

http://packages.debian.org/stable/source/net-snmp
http://packages.debian.org/stable/net/snmpd
http://packages.debian.org/stable/net/snmp
http://packages.debian.org/stable/libs/libsnmp-base
http://packages.debian.org/stable/perl/libsnmp-perl
http://packages.debian.org/stable/libs/libsnmp5
http://packages.debian.org/stable/net/tkmib

---------

snmpconf -g basic_setup

The location of the system: ML-29/BW49

The contact information: Pete Siemsen

=============================================================
      

Address comments or questions about this Web page to the Network Engineering & Telecommunications Section (NETS) at nets-www@ncar.ucar.edu. The NETS is part of the Computational & Information Systems Laboratory (CISL) of the National Center for Atmospheric Research (NCAR), which is sponsored by the National Science Foundation (NSF) and managed by the University Corporation for Atmospheric Research (UCAR). This website follows the UCAR General Privacy Policy and the NCAR/UCAR/UCP Terms of Use.