LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2002, 03:56 PM   #1
rob_roman23
Member
 
Registered: May 2002
Location: Hoboken NJ
Distribution: Red Hat 7.1,7.3,8.0
Posts: 58

Rep: Reputation: 15
Install snmp or snmpd


Can anyone help me install snmp or install snmpd... I don't know what rpm's to use and to be quite honest how to use the rpm's properly. I am not sure what prerequisites i need for snmp or snmpd. All i want to do i be able to use snmp to monitor my ethernet bandwidth... I do not want to use any other software but snmp from a script that i have written... Can someone please help. I am a NEWBIE....

Thanks
 
Old 08-26-2002, 10:13 AM   #2
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
You will need both SNMP and SNMPD.

The rpm's should be on your redhat CD's. If you dont have those CD's than you can ftp to dl.xs4all.nl
 
Old 09-05-2002, 12:51 PM   #3
rob_roman23
Member
 
Registered: May 2002
Location: Hoboken NJ
Distribution: Red Hat 7.1,7.3,8.0
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks
 
Old 09-05-2002, 09:41 PM   #4
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 30
Look for ucd-snmp or net-snmp (same thing, just a different name)
 
Old 09-07-2002, 02:14 PM   #5
rob_roman23
Member
 
Registered: May 2002
Location: Hoboken NJ
Distribution: Red Hat 7.1,7.3,8.0
Posts: 58

Original Poster
Rep: Reputation: 15
ok i installed it how do i configure?
 
Old 09-07-2002, 03:05 PM   #6
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Just make sure snmpd is running and you can start writing your script
 
Old 09-07-2002, 04:58 PM   #7
rob_roman23
Member
 
Registered: May 2002
Location: Hoboken NJ
Distribution: Red Hat 7.1,7.3,8.0
Posts: 58

Original Poster
Rep: Reputation: 15
i tried to do an snmpwalk on localhost, it works for a little then stops responding... Then i tried to do it again and nothing worked.... here is what i get.....


system.sysORTable.sysOREntry.sysORUpTime.1 = Timeticks: (0) 0:00:00.00
system.sysORTable.sysOREntry.sysORUpTime.2 = Timeticks: (0) 0:00:00.00
system.sysORTable.sysOREntry.sysORUpTime.3 = Timeticks: (0) 0:00:00.00
system.sysORTable.sysOREntry.sysORUpTime.4 = Timeticks: (0) 0:00:00.00
system.sysORTable.sysOREntry.sysORUpTime.5 = Timeticks: (0) 0:00:00.00
system.sysORTable.sysOREntry.sysORUpTime.6 = Timeticks: (0) 0:00:00.00
system.sysORTable.sysOREntry.sysORUpTime.7 = Timeticks: (0) 0:00:00.00
system.sysORTable.sysOREntry.sysORUpTime.8 = Timeticks: (0) 0:00:00.00
system.sysORTable.sysOREntry.sysORUpTime.9 = Timeticks: (0) 0:00:00.00
Timeout: No Response from localhost


my syslog says

Sep 7 16:51:21 Anekin last message repeated 34 times
Sep 7 16:51:22 Anekin kernel: hda: ATAPI 32X CD-ROM drive, 120kB Cache, UDMA(33)
Sep 7 16:51:22 Anekin kernel: Uniform CD-ROM driver Revision: 3.12
Sep 7 16:51:22 Anekin modprobe: modprobe: Can't locate module block-major-33
Sep 7 16:51:22 Anekin modprobe: modprobe: Can't locate module block-major-33

What is happening?
 
Old 09-08-2002, 01:21 AM   #8
rob_roman23
Member
 
Registered: May 2002
Location: Hoboken NJ
Distribution: Red Hat 7.1,7.3,8.0
Posts: 58

Original Poster
Rep: Reputation: 15
Never mind i figured it out... didn't run snmpdconf
 
Old 09-08-2002, 09:52 AM   #9
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
 
Old 09-08-2002, 11:09 AM   #10
rob_roman23
Member
 
Registered: May 2002
Location: Hoboken NJ
Distribution: Red Hat 7.1,7.3,8.0
Posts: 58

Original Poster
Rep: Reputation: 15
any suggestions on getting the bandwidth of my NIC's, right now i get the change in Octets in /8 over 15 second intervals... is there a MIB out there that will give me K/s or packets /sec...
 
Old 09-08-2002, 11:45 AM   #11
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Dont you have a switch in your network that supports SNMP???
Its much cooler to get your statistics from there.
 
Old 09-08-2002, 12:33 PM   #12
rob_roman23
Member
 
Registered: May 2002
Location: Hoboken NJ
Distribution: Red Hat 7.1,7.3,8.0
Posts: 58

Original Poster
Rep: Reputation: 15
at home .... no all I have is a DUMB repeater, unliess ORINOCO AP's have SNMP on them, But that would only get my internal bandwidth, i want internal and external....
 
Old 03-28-2003, 04:01 AM   #13
condurre
LQ Newbie
 
Registered: Mar 2003
Location: San Ramon, CA
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
Orinoco APs do support SNMP version 1. The interfaces table should show traffic both in and out of each interface independently. I would get the statistics from there.

Condurre
 
Old 03-28-2003, 06:42 AM   #14
Burke
Member
 
Registered: Dec 2002
Location: Virginia, USA
Posts: 131

Rep: Reputation: 15
Gathering statistics on traffic is very nice and pretty simple when using something like Cacti. I'm using it here at a client site to monitor bandwidth utilization for our dual-T1, a dozen Win2k/NT servers, a dozen Netware 5.x/6.x servers, and a few other misc items. In addition to bandwidth, I'm also trending processor, memory, and drive/volume utilization.
 
  


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
How to generate snmp trap using the ucLinux /user/snmpd API jonathan_wu Programming 3 08-27-2008 10:15 AM
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 09:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 07:08 AM
blocking smux after net-snmp rpm install relayer416 Linux - Software 0 02-16-2005 08:50 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM


All times are GMT -5. The time now is 10:47 AM.

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