Re: Can We place Traps as part of Tables

"santhosh" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <001901c6f1ac$49841660$6a01a8c0@rtsindia>
Hello Dave

> So the hardware will actively reporting its status (presumably when it
> changes) - and there are basically only two significant states - "in
> sync" and "out of sync".  Is that correct?

Yes, I will poll the hardware with the custom defined protocol and get the
latest updates of the hardware, In the message which I am recieving It will
mention that the systems is "In Sync" or "Out of Sync"

> Does this hold for the other pairs as well (LocalPair2, and the two
> RemotePairs) ?
> Or do they have different values?

Yes same Values

> The other issue I still have is with regard to manager-initiated
> activity.  What you've described above is driven from the hardware
> itself - actively reporting significant events.
> It's often useful to be able to query the current status of the system
> (even if nothing has changed recently).
>    Would LocalPair1 report the same two (or three) values?  Similarly
> for LocalPair2, RemotePair1 & RemotePair2.  I'm still unclear as to
> the significance of '0' in the above description.  I know you said
> that such values could be discarded, but what does this value mean?
>    Or is it not possible to query the hardware to discover the current
state?

What I mean in this Instance is if I recieve "In Sync"/"Out of Sync" then
only I need to send a trap.

what I have done is

if (IN SYNC)
{
    TrapGen(SN_TRAP_ENTERPRISE_SPECIFIC, 0, 1, &Alarm_LocalPair1);
}
else if(Out SYNC)
{
    TrapGen(SN_TRAP_ENTERPRISE_SPECIFIC, 0, 1, &Alarm_LocalPair1);
}

thanks
santhosh



-------------------------------------------------------------------------
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
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.