Networking Forums

Networking Forums > Computer Networking > Linux Networking > Good snmpd setup or how-to?

Reply
Thread Tools Display Modes

Good snmpd setup or how-to?

 
 
Ohmster
Guest
Posts: n/a

 
      05-15-2004, 04:18 AM
I have a small setup at home, Redhat 9 box connected to ADSL modem, connects
with roaring penguin. Runs apache, vsftpd, firestarter, and senmail. Has
FQDN. 2nd NIC connects to hub, hub to two XP machines. Linux box is
gateway/server/router/firewall.

I have net-snmptd installed but not setup or running. I want to use WhatsUp
Gold to monitor this network. I need to setup snmpd on the linux machine so
that WhatsUp will be able to work.

Can anyone recommend a good how-to or guide for this or offer any helpful
suggestions?

Thanks.

--
Of course my email address is invalid.
Email me by assembling this address:
tinykitty a/t/ ohmster dot com
~Ohmster
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      05-15-2004, 07:21 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking Ohmster <(E-Mail Removed)> suggested:
> I have a small setup at home, Redhat 9 box connected to ADSL modem, connects
> with roaring penguin. Runs apache, vsftpd, firestarter, and senmail. Has
> FQDN. 2nd NIC connects to hub, hub to two XP machines. Linux box is
> gateway/server/router/firewall.


> I have net-snmptd installed but not setup or running. I want to use WhatsUp
> Gold to monitor this network. I need to setup snmpd on the linux machine so
> that WhatsUp will be able to work.


> Can anyone recommend a good how-to or guide for this or offer any helpful
> suggestions?


Should be answered in the FAQ:

http://www.net-snmp.org/FAQ.html

In addition the fine manual 'man snmpd.conf' should be helpful
while setting up the agent. Basically you just have to enable
snmpv2 (community) or/and create/configure a snmpv3 user and
restart snmpd.

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFApcT4AkPEju3Se5QRAknLAJ9RX3mTz5Uc8qi1C+CI/KHG8exXlACfQId9
/5lxrTBOyjwwNSFqJQc7VlM=
=WbbX
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Ohmster
Guest
Posts: n/a

 
      05-15-2004, 05:08 PM
Michael Heiming <michael+(E-Mail Removed)> wrote in news0tgn1-
(E-Mail Removed):

> Should be answered in the FAQ:
>
> http://www.net-snmp.org/FAQ.html
>
> In addition the fine manual 'man snmpd.conf' should be helpful
> while setting up the agent. Basically you just have to enable
> snmpv2 (community) or/and create/configure a snmpv3 user and
> restart snmpd.
>


Hmmm, that is pretty darned helpful, I am reading it now.

Hmmm, what is a "MIB"? They seem to think one already knows this by reading
the FAQ. This is a bit over my head. I just want the thing to get up and
running so that I can explore it a bit. I tried this go get me started:

snmpconf -g basic_setup

Whoa man, this is not self-explanitory at all, I backed out with ctl-c. Here
is what I found:

[root@ohmster root]# snmpconf -g basic_setup

The following installed configuration files were found:

1: /etc/snmp/snmpd.conf

Would you like me to read them in? Their content will be merged with the
output files created by this session.

Valid answer examples: "all", "none","3","1,2,5"

Read in which (default = all):


....would one want to "read in" the original snmp.conf file as supplies by
redhat? Let's just say "none" for right now. (file /etc/snmp/snmp.conf backed
up to snmp.conf.orig)

Next question:

************************************************
*** Beginning basic system information setup ***
************************************************
Do you want to configure the information returned in the system MIB group
(contact info, etc)? (default = y):

Let's go default "y".

Configuring: syslocation
Description:
The [typically physical] location of the system.
Note that setting this value here means that when trying to
perform an snmp SET operation to the sysLocation.0 variable will make
the agent return the "notWritable" error code. IE, including
this token in the snmpd.conf file will disable write access to
the variable.
arguments: location_string

The location of the system:

Okay what does this mean? They want to know the physical locatioin of what,
the computer? Like "bedroom" or something? I don't know what I am doing, ctl-
c.

can you give me some pointers here, Mike?

Thanks.

--
Of course my email address is invalid.
Email me by assembling this address:
tinykitty at ohmster dot com
~Ohmster
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      05-15-2004, 08:22 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking Ohmster <(E-Mail Removed)> suggested:
> Michael Heiming <michael+(E-Mail Removed)> wrote in news0tgn1-
> (E-Mail Removed):


>> Should be answered in the FAQ:
>>
>> http://www.net-snmp.org/FAQ.html


[..]

> [root@ohmster root]# snmpconf -g basic_setup


Good idea!

[..]

> ...would one want to "read in" the original snmp.conf file as supplies by
> redhat? Let's just say "none" for right now. (file /etc/snmp/snmp.conf backed
> up to snmp.conf.orig)


Depends on what it contains, sometime there are useful comments.

[..]

> Do you want to configure the information returned in the system MIB group
> (contact info, etc)? (default = y):


[..]

> The location of the system:


> Okay what does this mean? They want to know the physical locatioin of what,
> the computer? Like "bedroom" or something? I don't know what I am doing, ctl-
> c.


You can put in what you want, it's just what will be displayed if
you query the agent for the syslocation. It can be used in large
installation, where it might be wanted to be able to gather the
systems position via snmp.

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFApnwUAkPEju3Se5QRAhWoAKCU05EWbUNBlBmyojufHT M0nhU/HwCfd3pb
eX2FURz0pMvS6a189pPhVxg=
=vS/w
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Ohmster
Guest
Posts: n/a

 
      05-17-2004, 10:29 PM
Michael Heiming <michael+(E-Mail Removed)> wrote in news:lpain1-
(E-Mail Removed):

> You can put in what you want, it's just what will be displayed if
> you query the agent for the syslocation. It can be used in large
> installation, where it might be wanted to be able to gather the
> systems position via snmp.


Thanks Mike.

--
Of course my email address is invalid.
Email me by assembling this address:
tinykitty at ohmster dot com
~Ohmster
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Setup- Sound like a good idea Kyle Blake Windows Networking 5 01-29-2008 11:26 AM
Please Help me in VPN Setup and a good VPN hardware recommendation as400tips@lycos.com Windows Networking 1 12-10-2006 02:24 PM
snmpd to listen to a specific IP saidev Linux Networking 1 04-27-2005 09:49 AM
Good networking guide?? Advice on Setup?? Robin Wireless Internet 0 12-24-2004 02:26 AM
snmpd error on starting... Laurent Linux Networking 0 05-10-2004 06:27 PM



1 2 3 4 5 6 7 8 9 10 11