LinuxQuestions.org
Register a domain and help support LQ
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 04-28-2009, 05:31 AM   #1
tsbpreetham
LQ Newbie
 
Registered: Apr 2009
Location: Bangalore
Posts: 4

Rep: Reputation: 0
How to use snmpd ans snmpdtrap


Hi all,

I want to know the system parameters of desktops and servers present in a particular environment using snmp. How should I do it? Will net-snmp help me anyways? If yes please help me, any code is available on this regard, please let me know.

Thanks in advance
 
Old 04-29-2009, 03:39 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,314

Rep: Reputation: 3877Reputation: 3877Reputation: 3877Reputation: 3877Reputation: 3877Reputation: 3877Reputation: 3877Reputation: 3877Reputation: 3877Reputation: 3877Reputation: 3877
Quote:
Originally Posted by tsbpreetham View Post
Hi all,

I want to know the system parameters of desktops and servers present in a particular environment using snmp. How should I do it? Will net-snmp help me anyways? If yes please help me, any code is available on this regard, please let me know.

Thanks in advance
Yes, that's exactly what SNMP is for. There are lots of guides and tutorials on how to set up SNMPD (you don't say what version/distro, so can't give you specifics, but Google can find them).

Basically, set up SNMPD to give whatever values you want. Load different MIB's, set up the info/passwords, and you're done. Query the daemon with SNMP on a remote box with the built-in tools (snmpwalk, snmpget, etc.), or write your own program. PHP, Perl, and Ruby, all have SNMP modules ready to go...
 
Old 04-30-2009, 01:21 AM   #3
tsbpreetham
LQ Newbie
 
Registered: Apr 2009
Location: Bangalore
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Yes, that's exactly what SNMP is for. There are lots of guides and tutorials on how to set up SNMPD (you don't say what version/distro, so can't give you specifics, but Google can find them).

Basically, set up SNMPD to give whatever values you want. Load different MIB's, set up the info/passwords, and you're done. Query the daemon with SNMP on a remote box with the built-in tools (snmpwalk, snmpget, etc.), or write your own program. PHP, Perl, and Ruby, all have SNMP modules ready to go...


Hi,

I have net-snmp 5.4.1-4fc8, I tried to see the local filesystem mounted using the command as mentioned below, but get the error as End of MIB for major of the values. What is it specifying? Please help me

Code:
#snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.9.1.2
End of MIB
 
  


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
doing /etc/init.d/snmpd status gives "snmpd dead but pid file exists" kaushal143 Linux - Newbie 2 07-10-2008 03:55 AM
snmpd: relocation error snmpd:undefined symbol: lastAddrAge Strike2000 Slackware 0 02-11-2008 05:45 AM
problem ans questions in c alaios Programming 4 07-19-2005 03:06 AM
Don't see /etc/modules ans /etc/modutils deepika Linux - General 2 07-02-2003 10:52 AM
ans to problem on hostnames: toxic53 Linux - Newbie 2 10-04-2001 03:40 AM


All times are GMT -5. The time now is 11:51 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