send a trap and location the specify column in multiple rows(the same table)
"Alexander King" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave and All:
it is a long time no see. :)
1.where I can fill with the warning information when the trap send?
2.If the trap OBJECTS is a scalar,I can configure snmpd.conf,use DisMan monitor the value,and send trap,The NOTIFICATION-TYPE defination is not necessary,is it right?
But how do I implement this method if I want to monitor the value that is a column in one table?
3.How can I exactly location the column in multiple rows(the same table)when I send a trap?
just a example,a piece of my mib file:
HostInterfaceFCEntry ::=
SEQUENCE {
fcConnections
Integer32,
fcPort
DisplayString,
fcStatus
INTEGER,
fcWWN
DisplayString,
fcSpeed
Counter32,
fcTopology
Unsigned32
}
and my trap:
fcTrap NOTIFICATION-TYPE
OBJECTS {
fcPort,
fcStatus
}
STATUS current
DESCRIPTION "This is just a demo"
::= { trapTestingTrapTwoPrefix 1 }
Here I want to the trapd routine can tell the receiver which fcport's status changed,so I put two column values in OBJECTS domain,but in my prototype implement,I failed.
Who can tell me how to implement this?
------------------------------------------------------------------------------
_______________________________________________
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