Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-24-2009, 08:52 AM
|
#1
|
LQ Newbie
Registered: Dec 2009
Posts: 15
Rep:
|
net-snmp-utils required for Ubuntu 8.1
Hi,
I am brand new to Ubuntu and I am trying to setup a monitoring P.C. using Ubuntu 8.1 with Nagios 3.1
Amongst other things I want to check on the condition of our network printers and I am being informed through forums that I need to install net-snmp and net-snmp-utils.
I have been able to locate and install the net-snmp-5.2.5.1.tar.gz file but I am unable to locate the net-snmp-utils file.
Please can anybody point me in the correct direction to obtain the required file
|
|
|
12-25-2009, 02:13 AM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Welcome to LQ!
You should use Ubuntu's package manager to install these packages. In most Linux distros, most common software is installed via the package manager, which in Ubuntu's case is apt-get or aptitude (command line) or synaptic (GUI). I don't have an Ubuntu box at home at the moment, but if you're in GNOME, the package manager should be somewhere under System -> Administration IIRC. You might also want to consider upgrading to a newer Ubuntu, since I believe 8.10 is close to beign out of support -- both 9.04 and 9.10 have been released.
|
|
|
12-25-2009, 11:06 AM
|
#3
|
LQ Newbie
Registered: Dec 2009
Posts: 15
Original Poster
Rep:
|
Hi, I used apt-get to install the net-snmp (net-snmp-5.2.5.1.tar.gz) but as I don't know the actual file name of the net-snmp-utils file or where it can be found I am having a problem.
|
|
|
12-25-2009, 11:21 AM
|
#4
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
You don't use apt-get to install a .tar.gz ... when you do "apt-get install net-snmp" it actually fetches the .deb (Debian/Ubuntu packageformat) file from a server and istalls it for you. Why don't you try typing "apt-get install net-snmp-utils" (no quotes) and see if that works for you.
|
|
|
12-26-2009, 02:45 PM
|
#5
|
LQ Newbie
Registered: Dec 2009
Posts: 15
Original Poster
Rep:
|
Hi, I tried the command line apt-get install net-snmp-utils, all that happened is it did some searching and then it reported,
E: Couldn't find package net-snmp-utils
|
|
|
12-26-2009, 02:49 PM
|
#6
|
LQ Newbie
Registered: Dec 2009
Posts: 15
Original Poster
Rep:
|
` .
Last edited by NewtoUbuntu8.1; 12-26-2009 at 02:57 PM.
|
|
|
12-26-2009, 03:50 PM
|
#7
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Hmm, I looked in my Ubuntu box and the net-snmp-utils indeed doesn't seem to be a valid package. It's possible that the utilities are simply included in the net-snmp package. Different distributions organize packages differently, so for example Red Hat might have two packages net-snmp and net-snmp-utils whereas Ubuntu has all of the SNMP stuff is a single net-snmp package. Can you tell us exactly what directions you're following and what commands you need access to? It's possible they're already installed from the net-snmp package. You can list the contents of net-snmp by doing:
dpkg -L net-snmp
|
|
|
12-26-2009, 03:50 PM
|
#8
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Hmm, I looked in my Ubuntu box and the net-snmp-utils indeed doesn't seem to be a valid package. It's possible that the utilities are simply included in the net-snmp package. Different distributions organize packages differently, so for example Red Hat might have two packages net-snmp and net-snmp-utils whereas Ubuntu has all of the SNMP stuff is a single net-snmp package. Can you tell us exactly what directions you're following and what commands you need access to? It's possible they're already installed from the net-snmp package. You can list the contents of net-snmp by doing:
dpkg -L net-snmp
|
|
|
01-09-2010, 01:48 AM
|
#9
|
LQ Newbie
Registered: Dec 2009
Posts: 15
Original Poster
Rep:
|
Sorted,
Instead of downloading the net-snmp taz file and then installing, configuring, make etc I was pointed in the direction of using "apt-get install snmp" which I did before I installed nagios and the nagios plugins.
I am now able to monitor the printers O.K.
Last edited by NewtoUbuntu8.1; 01-14-2010 at 06:23 AM.
|
|
|
All times are GMT -5. The time now is 05:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|