Re: Is it necessary to be root to install Net-SNMP

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/5/29 Raghavendra Prasad <[email protected]>:
> ./configure --with-mib-modules="dio_modules/snmpData  dio_modules/controller
> dio_modules/controller_trap  dio_modules/general dio_modules/general_trap
> dio_modules/channelA dio_modules/channelA_trap  dio_modules/channelB
> dio_modules/channelB_trap  dio_modules/coupler dio_modules/coupler_trap
> dio_modules/standardPwrAmplif dio_modules/standardPwrAmplif_trap
> dio_modules/cabinet dio_modules/cabinet_trap  dio_modules/klystronPwrAmplif1
> dio_modules/klystronPwrAmplif1_trap  dio_modules/klystronPwrAmplif2
> dio_modules/klystronPwrAmplif2_trap  dio_modules/inventory
> dio_modules/inventory_trap  dio_modules/config dio_modules/config_trap
> dio_modules/sys dio_modules/sys_trap  dio_modules/sysKp
> dio_modules/sysKp_trap  dio_modules/rmsGeneral dio_modules/rmsGeneral_trap
> dio_modules/rcvr1 dio_modules/rcvr1_trap  dio_modules/rcvr2
> dio_modules/rcvr2_trap"

You might find it easier if you created a file 'dio_modules.h' containing

    config_require( dio_modules/snmpData )
    config_require( dio_modules/controller )
       :
    config_require( dio_modules/rcvr2_trap )

Then you could simply invoke

   configure --with-mib-modules=dio_modules --with-persistent-directory.....

rather than listing all the modules every time.


> It am not able to get an agent with second configuration.

What do you mean by this?  Does the compilation fail?
If so, what are the last few lines of

    (cd agent ; make )

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.