Re: snmp set
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2005-12-15 at 19:56 +0000, gilles B wrote:
> MIB architecture is:
>
> ipAgSNMP(1.3.6.1.4.1.xxxx.yyyyyyyy.2)
> |
> +--ipAgSNMPMIB(1)
> | +--TrapDestinationTable(7)
> | |
> | +--TrapDestinationEntry(1)
That looks wrong.
'TrapDestinationEntry' should be a child of 'TrapDestinationTable'
rather than being at the same level.
Also, neither of these names are actually legal - MIB object
names must start with a lower-case letter. You'd be better
off using something like 'ipTrapDestination{Table,Entry}'
It also looks suspiciously as if you're trying to re-invent
the wheel. There's already a standard mechanism for defining
the destinations for SNMP traps (SNMP-NOTIFICATION-MIB and
SNMP-TARGET-MIB), which the Net-SNMP agent uses to handle this.
Why not simply use that?
Dave
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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