LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How come I cannot find a simple procedure for installing and configuring net-snmp (https://www.linuxquestions.org/questions/linux-newbie-8/how-come-i-cannot-find-a-simple-procedure-for-installing-and-configuring-net-snmp-657557/)

mikemillion 07-22-2008 07:44 PM

How come I cannot find a simple procedure for installing and configuring net-snmp
 
I have searched and searched the i-net, and cannot find a simple procedure for installing net-snmp. All of the articles I'm finding read 'install net-snmp', but don't supply the steps to fully install and configure it properly.

Does anyone have any suggestions?

Frustrated in Maryland...

Tinkster 07-22-2008 08:13 PM

First things first: what distro are you using?

cyclepathology 07-22-2008 08:15 PM

Quote:

Originally Posted by mikemillion (Post 3223196)
I have searched and searched the i-net, and cannot find a simple procedure for installing net-snmp. All of the articles I'm finding read 'install net-snmp', but don't supply the steps to fully install and configure it properly.

Does anyone have any suggestions?

Frustrated in Maryland...

Depends on what you're running. As root, try:

apt-get install net-snmp (if you're running something based on debian)
yum install net-snmp (if you're running a recent Red Hat)

If those don't work, mention your distro.

mikemillion 07-22-2008 08:35 PM

Tinkster - RHEL 4.6

Cyclepathology - The yum command you gave me is currently running. Seems to be taking a tad long:

[root@itmtest /]# /etc/log.d/scripts/services/yum install net-snmp

It hasn't returned to the prompt as of yet. My linux distro is RHEL 4.6

Tinkster 07-22-2008 10:09 PM

So if yum is still running ... is the machine in question hooked up
to the net, and configured for online repositories?

mikemillion 07-22-2008 10:19 PM

Tinkster- Then that would be the issue. This machine is a VM running in an isolated network. I thought it would install from the current rpm that is on the server.

Tinkster 07-22-2008 10:25 PM

If you have an rpm handy all you need to do is

rpm -Uvh /path/to/net-snmp*rpm


All times are GMT -5. The time now is 08:42 PM.