Ticket #3578 (new enhancement)

Opened 3 months ago

Add env variable SMIPATH as zProperty and update zenmib.py to use it

Reported by: kpg123 Owned by: edahl
Priority: 4 - Low Milestone:
Component: All Version: 2.2.3
Keywords: Cc:
Reviewed: no Community Patch Attached:
Deployed @ Customer: Installer:
Microrelease Target: Specific ZenPack:
Microrelease Status: Documentation Note?: Required
Regression:

Description

It has been noted on the list that some people have had to manually add SMIPATH to their environment variables before running zenmib.py to add a MIB to Zenoss. By creating a zProperty (eg zSMIPATH), this environment can be more easily tracked and documented.

Suggested implementation in zenmib.py:

  • if the environment variable SMIPATH exists, do nothing
  • if the zProperty zSMIPATH is not null, export the variable SMIPATH before running smidump
Note: See TracTickets for help on using tickets.