Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  SNMP agent

eeicmui at eei.ericsson.s
Posted: Tue Aug 17, 1999 1:01 pm Reply with quote
Guest
Hi,

Suppose two erlang nodes are active on the same machine and
both have SNMP app active on them, and both these apps use
the same SNMP configuration. If a request arrives, will both
of these nodes act on it?? Assuming both have loaded the same
MIB.bin files.

tia,
Chandru

--
Random Wodehouse Quote

I was behind the desk, crouching on the carpet and trying to
breathe solely through the pores.

Thank You, Jeeves, 1934


Post generated using Mail2Forum (http://m2f.sourceforge.net)
mbj at bluetail.com
Posted: Wed Aug 18, 1999 9:27 am Reply with quote
Guest
Chandrashekhar <eeicmui_at_eei.ericsson.se> wrote:
> Hi,
>
> Suppose two erlang nodes are active on the same machine and
> both have SNMP app active on them, and both these apps use
> the same SNMP configuration. If a request arrives, will both
> of these nodes act on it?? Assuming both have loaded the same
> MIB.bin files.

No; since a single UDP port cannot be shared between two
OS-processes, you can't start two agents on the same host,
using the same UDP port.


/martin


Post generated using Mail2Forum (http://m2f.sourceforge.net)
eeicmui at eei.ericsson.s
Posted: Wed Aug 18, 1999 10:25 am Reply with quote
Guest
Martin Bjorklund wrote:
>
> Chandrashekhar <eeicmui_at_eei.ericsson.se> wrote:
> > Hi,
> >
> > Suppose two erlang nodes are active on the same machine and
> > both have SNMP app active on them, and both these apps use
> > the same SNMP configuration. If a request arrives, will both
> > of these nodes act on it?? Assuming both have loaded the same
> > MIB.bin files.
>
> No; since a single UDP port cannot be shared between two
> OS-processes, you can't start two agents on the same host,
> using the same UDP port.

Yes - thats what I could expected. But I could start two nodes
as I have described above. I started two erlang nodes and started
snmp on both of them using the same configuration. I'm stumped.

regards,
Chandru

--
Random Wodehouse Quote

`You are probably not familiar with the inner workings of a paper like
Society Spice, Sir Gregory, but I may tell you that it is
foreign to the editorial policy ever to meet visitors who call with
horsewhips.'

Summer Lightning (1929)


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum