Red Hat Topics - SNMP Setup - where is snmpconf

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > September 2004 > SNMP Setup - where is snmpconf





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SNMP Setup - where is snmpconf
Rod

2004-09-23, 9:31 am

In the process of attempting to set up mrtg, I am trying to set up snmp on a
test box. I see that I need to create an snmpd.conf file and that the man
page for snmpd.conf instructs me to run snmpconf -g basic_setup. I have also
located an FAQ file in the net-snmp folder on my box and it refers to the
same thing. Typing snmpconf at the command line is not recognized and I have
been unable to locate a file by that name anywhere on my system.

I am running Redhat Linux 9.0. Can anyone give me some direction on this. I
have been following the mrtg instructions with a fair amount of success
until I came to this point.

Thanks,

Rod



P Gentry

2004-09-23, 9:31 am

"Rod" <theNOSPAMlanman@coxNOSPAM.net> wrote in message news:<9a%3d.1$HL5.0@newsfe04.lga.highwinds-media.com>...
> In the process of attempting to set up mrtg, I am trying to set up snmp on a
> test box. I see that I need to create an snmpd.conf file and that the man
> page for snmpd.conf instructs me to run snmpconf -g basic_setup. I have also
> located an FAQ file in the net-snmp folder on my box and it refers to the
> same thing. Typing snmpconf at the command line is not recognized and I have
> been unable to locate a file by that name anywhere on my system.
>
> I am running Redhat Linux 9.0. Can anyone give me some direction on this. I
> have been following the mrtg instructions with a fair amount of success
> until I came to this point.
>
> Thanks,
>
> Rod


Assuming no change from this RH8 box:

[me@pbrain]$ whereis snmpconf
snmpconf: /usr/bin/snmpconf

Typing snmpconf gives me the app's prompt ...

Just checked the RH9 net-snmp-utils-5.0.6-17.i386.rpm :

[me@pbrain]$ rpm -qpl net-snmp*
....
/usr/bin/net-snmp-config
/usr/bin/snmpbulkget
/usr/bin/snmpbulkwalk
/usr/bin/snmpconf <<<<<<
/usr/bin/snmpdelta
.... etc.

Seems you may have a "messed up" PATH?

Or perhaps net-snmp is not installed?

[me@pbrain]$ rpm -qi net-snmp
Name : net-snmp Relocations: (not relocateable)
Version : 5.0.9 Vendor: Red Hat, Inc.
Release : 2.80.1
.... etc.

Description :
SNMP (Simple Network Management Protocol) is a protocol used for
.... etc.
This package contains the snmpd and snmptrapd daemons,
documentation, [etc. ...]
You will probably also want to install the net-snmp-utils package,
which contains NET-SNMP utilities.

[me@pbrain]$ rpm -qi net-snmp-utils
Name : net-snmp-utils Relocations: (not relocateable)
Version : 5.0.9 Vendor: Red Hat, Inc.
Release : 2.80.1
.... etc.

hth,
prg
email above disabled
Rod

2004-09-23, 9:31 am

Thanks for your help. My path was OK and net-snmp was installed, but I did
not have the utilities loaded which was apparently the problem. It is
working now. At least the script is running. I haven't actually tried to
configure it yet. More fun ahead.

Thanks,

Rod

"P Gentry" <rdgentry1@cablelynx.com> wrote in message
news:facb01db.0409220842.4487388f@posting.google.com...
> "Rod" <theNOSPAMlanman@coxNOSPAM.net> wrote in message
> news:<9a%3d.1$HL5.0@newsfe04.lga.highwinds-media.com>...
>
> Assuming no change from this RH8 box:
>
> [me@pbrain]$ whereis snmpconf
> snmpconf: /usr/bin/snmpconf
>
> Typing snmpconf gives me the app's prompt ...
>
> Just checked the RH9 net-snmp-utils-5.0.6-17.i386.rpm :
>
> [me@pbrain]$ rpm -qpl net-snmp*
> ...
> /usr/bin/net-snmp-config
> /usr/bin/snmpbulkget
> /usr/bin/snmpbulkwalk
> /usr/bin/snmpconf <<<<<<
> /usr/bin/snmpdelta
> ... etc.
>
> Seems you may have a "messed up" PATH?
>
> Or perhaps net-snmp is not installed?
>
> [me@pbrain]$ rpm -qi net-snmp
> Name : net-snmp Relocations: (not relocateable)
> Version : 5.0.9 Vendor: Red Hat, Inc.
> Release : 2.80.1
> ... etc.
>
> Description :
> SNMP (Simple Network Management Protocol) is a protocol used for
> ... etc.
> This package contains the snmpd and snmptrapd daemons,
> documentation, [etc. ...]
> You will probably also want to install the net-snmp-utils package,
> which contains NET-SNMP utilities.
>
> [me@pbrain]$ rpm -qi net-snmp-utils
> Name : net-snmp-utils Relocations: (not relocateable)
> Version : 5.0.9 Vendor: Red Hat, Inc.
> Release : 2.80.1
> ... etc.
>
> hth,
> prg
> email above disabled



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com