To add some details:

When I start the master agent, 'ls -ltr master' gives:
srwxrwxr-x   1 arnboden rms            0 Aug 25 11:09 ../master=

When I start the subagent, the same command gives the same result:
srwxrwxr-x   1 arnboden rms            0 Aug 25 11:09 ../master=

Bu, I'm a bit confused with this parameter (agentxsocket). When must I use:
- a named socket?
- an address?

For security reasons, is it preferable to use named socket or address?

Thanks.

>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: [email protected]
>Subject: Re: FW: Re: How can I extend a MIB with a subagentX
>Date: Thu, 24 Aug 2006 13:37:50 +0200
>
>I execute the command 'kill -15 PID' on the two servers
>
>For the master agent, I put in the configuration file the parameter:
>agentxsocket /home/arnboden/snmp/test/masterFile
>
>For the subagent, I set it dynamically in the code of the subagent:
>netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_X_SOCKET,
>"/home/arnboden/snmp/test/masterFile");
>
>
> >From: "Dave Shield" <[EMAIL PROTECTED]>
> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
> >CC: [email protected]
> >Subject: Re: FW: Re: How can I extend a MIB with a subagentX
> >Date: Thu, 24 Aug 2006 09:33:05 +0100
> >
> > > Unsuccessful test:
> > > I start the master agent => the file is created
> > > I start the subagent
> > > I stop the subagent
> > > I stop the master agent => the file is NOT deleted
> > >
> > > Do I have to do something specific in the code at the shutdown of the
> > > subagent?
> >
> >No - that ought to work OK.
> >How do you stop the two agents?   What's the command that you use?
> >
> >Dave
> >

_________________________________________________________________
Search from any web page with powerful protection. Get the FREE Windows Live 
Toolbar Today!   http://get.live.com/toolbar/overview


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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

Reply via email to