Server Management - Systems Insight Manager
1822430 Members
2873 Online
109642 Solutions
New Discussion юеВ

Length limit for OIDs string within mib files

 
Pagnotta
Frequent Advisor

Length limit for OIDs string within mib files


Hi, I'm trying to compile and register a new mib file for SIM5.0. The compilation and registration work fine, but when in I want to manage the trap settings(Options-> Events-> SNMP Trap settings) within SIM5.0 and select the mib file name just registered, I'm redirected to the properties of another mib file... Moreover, when A trap is generated from a system, it isn't recognized and fall as a generic traps.

I suspect that there is a limit in SIM5.0 regarding the length of OIDs string with a mib file.

Can anyone help me ?

PS: I attach the mib (the mib is used to trap windows events)

Regards
3 REPLIES 3
RuelAlojado
Frequent Advisor

Re: Length limit for OIDs string within mib files

Hi,

The MIB your compiling is not intended for Trap handling that's why it will revert back to the first mib file in the SIM MIB database.

If the MIB is intended for Trap Handling, you see this format.

TRAP-TYPE
ENTERPRISE
VARIABLES
DESCRIPTION " This event trap will be sent when it...."

--#TYPE " ..... Trap"
--#SUMMARY "%s"
--#ARGUMENTS { 0 }
--#SEVERITY MAJOR
--#GENERIC 6
--#CATEGORY "Error Events"
--#TIMEINDEX 1
--#STATE

Also, in the cfg file (Running mcompile this file will be generated, the only allowed SEVERITY value are INFORMATIONAL, MAJOR, MINOR, CRITICAL.

Hope this would help.

Regards,
Pagnotta
Frequent Advisor

Re: Length limit for OIDs string within mib files


Hi,

Do you mean that because the mib file doesn't include things like these, it is not intended for trap handling ?

--#TYPE ""
--#SUMMARY "
--#ARGUMENTS {3}
--#SEVERITY MINOR
--#TIMEINDEX 99
--#STATE DEGRADED

I thought that lines starting with "--" were just "comments" and in any way something that is interpreted. Am I wrong ?

The mib file attached does contain trap definitions... near the end... at least what I think are trap definitions... I'm not an expert of snmp standards..

If do you think I'm doing wrong tell me I'd really appreciate, because I'm stuck with this mib not working correctly within SIM5.0

Thanks

Angelo
Pagnotta
Frequent Advisor

Re: Length limit for OIDs string within mib files

Anyone is aware of such problem ?

Thanks

Angelo