LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-24-2009, 09:52 AM   #1
NewtoUbuntu8.1
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Rep: Reputation: 0
Question 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
 
Old 12-25-2009, 03:13 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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.
 
Old 12-25-2009, 12:06 PM   #3
NewtoUbuntu8.1
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
Old 12-25-2009, 12:21 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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.
 
Old 12-26-2009, 03:45 PM   #5
NewtoUbuntu8.1
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 12-26-2009, 03:49 PM   #6
NewtoUbuntu8.1
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Original Poster
Rep: Reputation: 0
` .

Last edited by NewtoUbuntu8.1; 12-26-2009 at 03:57 PM.
 
Old 12-26-2009, 04:50 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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
 
Old 12-26-2009, 04:50 PM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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
 
Old 01-09-2010, 02:48 AM   #9
NewtoUbuntu8.1
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Original Poster
Rep: Reputation: 0
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 07:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrate Mod-Apache-Snmp with Net-SNMP source kirukan Linux - Server 2 05-11-2011 02:48 AM
Net-SNMP writing a Subagent - snmp.conf Unknown token: master AustinMarton Programming 0 12-16-2008 08:34 PM
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 09:09 AM
Mandrake 10.1 / Ethereal / net-snmp-utils ultrajones Mandriva 1 01-18-2005 12:13 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM


All times are GMT -5. The time now is 02:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration