Re: Question about difference between V5.4.3 V5.7.1

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGbF_A7EL=4QYx4_fnvL+KuVASY8jof6iiwi77vxnBTGhA@mail.gmail.com>
On 24 April 2012 15:38, Geoffrey Fournier <[email protected]> wrote:
> It's again me for a newbie question! I have seen i have installed two
> version of snmp it's why i was a little lost. I know that by default the
> snmp.conf snmpd.conf are in etc/snmp/ for the version 5.4.3 and inside
> usr/local/etc/snmp for V5.7.1.

No.
The default config location for user-compiled versions of the software
will typically be /usr/local/etc  (unless an alternative location is specified
when running configure)

The default config location for vendor-supplied versions of the software
will often be /etc

But it's related to how the software was configured/compiled,
not the version of the package that you are using.



> After to clean and delete all the snmp file i reinstall only the V5.7.1
> thanks to the source file and the tutorial. My problem now, is how to run
> the agent? the file etc/init.d/snmpd doesn't exist.

The simplest approach is to take a copy of the vendor-supplied startup
file  (/etc/init.d/snmpd) before you delete this package, tweak this to
match the user-compiled locations, and then put this amended version
back into /etc/init.d once you've installed the user-compiled package.

We do not attempt to provide a project-supplied version of the startup
script, as different OS distributions can handle this quite differently.
(In fact, there is an example Fedsora/RedHat-based startup script in
the source tree, under 'local' I believe - but this won't necessarily work
on Ubuntu or other Linux distributions.   And if you're using *BSD, Solaris,
HP-UX or something else, then it will be different again)


Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.