Re: No /etc/snmp in el4

This is a discussion on Re: No /etc/snmp in el4 within the SNMP Users forums, part of the Networking and Network Related category; [ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-22-2005
Dave Shield
 
Posts: n/a
Default Re: No /etc/snmp in el4

[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]

On Mon, 2005-11-21 at 11:22 -0600, Rusty Shackleford wrote:
> I appreciate your reply.
>
> The binaries came from sourceforge.


OK - My apologies.
I've now checked the binaries, and it appears that we *do*
install into /usr/share et al (rather than /usr/local).
Sorry for misleading you.



> The snmpconf script ends with, "copy the file to /usr/local/share".


Hmmm...
I've just check my installed version of this script (fc2,
but it ought to have been built from the same configuration)
and this defaults to "/usr/share/snmp"

I'm not quite sure why your script is telling you to use
/usr/local/share.


> So I copied my working snmpd.comf file from a working FC2 install
> into /usr/local/share


I'd actually expect this to be either /usr/local/share/snmp or
(given the binaries you're using) /usr/share/snmp

> and tried to start snmpd with /etc/init.d/snmpd
> start. I failed with no error message at all.


Try starting the agent using:

snmpd -f -Le -Dread_config

That will:
a) let you see any error messages
b) report *exactly* where the agent is looking for the config files.


> I checked
> the /etc/init.d/snmpd script and it is looking for the file
> in /etc/snmp/snmpd.conf ????


Hmmm...
Yes - you are quite correct.
That initialisation script is making some unwarrented assumptions.
Unfortunately, most of the developers are probably working with
the agents directly (since I typically have two or three on the
go at once, and need to switch between them). So we won't tend
to use this initialisation script :-(


> So, it looks like there is still a bit of work to do on the el4
> binary package.


Thanks for bringing this to our attention.
We're in the process of releasing the next version, so I'll
try to make sure that this is fixed for that binary release.


> I have no problem with not including the snmpd.conf but it would be nice
> to see some consistency in the packages across platforms since FC2
> install does include the snmpd.conf file and installs it in /etc/snmp.


Umm...??
I've just looked at the contents of the 5.2.1.2-1.fc2 RPM, and that
*doesn't* seem to include an 'snmpd.conf' file. Are you sure you're
not comparing our packages with (e.g.) a RedHat supplied version?


Dave


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0