Customizing the Management Information Base
For each Simple Network Management Protocol (SNMP) channel object, you must generate and distribute the venafi.mib file to the SNMP management console. If you change event definitions, or if you upgrade to a new version of Trust Protection Foundation, you can should and redistribute the .mib file.
To generate the file, you run the GenerateMIB utility. GenerateMIB maps events to specific Object Identifiers (OID)s in the .mib file. The OIDs include the Trust Protection Foundation event fields and descriptive event text so administrators can look for specific traps in their monitoring systems.
To generate the CyberArk Trust Protection Foundation MIB file
-
Open CyberArk Configuration Console or the CyberArk Tools MMC Snap-in.
NOTE You must have
Read, Writepermission to the event definitions. -
Open the Tools > Logging > Event Definitions node and make the desired changes.
Now that the event definitions have changes, you need to actually generate the .mib file.
- On the CyberArk Trust Protection Foundation - Self-Hosted server, open a command prompt.
- Browse to the
[drive]:\Program Files\CyberArk\Platformdirectory. -
Run the
GenerateMIB.exeutility:Generatemib.exe [-n:<mibname>] [-m:<modulename>] [-o:<outfile>] -c [-?|-h]Example:
Generatemib.exe –n:VENAFI-MIB -m:MyCustomName –o:VENAFI-MIB.txt -cThe
-mswitch is optional and allows you to provide a custom module name that will be displayed in your SNMP management system.The
-cswitch should always be used and ensures the data is refreshed from the configuration.This program creates the
venafi.mibfile in the current directory.An example of a customized MIB entry is the following:
customizedNoCATemplate NOTIFICATION-TYPE
OBJECTS { eventComponent, eventSeverity, eventClientIpAddressType, eventClientIpAddress, publicKeyFingerprint-11, certificateFolder, translatedEvent }
STATUS current
DESCRIPTION "Customized - No CA Template"
::= {director 3276817}
- Distribute the MIB file to the SNMP management console.
- Each time you change event definitions, re-run the
GenerateMIButility and redistribute the resultingvenafi.mibfile.