reloadoid command is failing
search cancel

reloadoid command is failing

book

Article ID: 434902

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

When running the sm_tpmgr -s <AMPM> --reloadoid command in Smart, the command fails and the following warning is seen in the IP domain log:

[Date/Time] t@ID SM_ProtocolEngine-25 732552 sm_tpmgr ASL ASL_MSG-*-ASLP-discovery/ic-oid2type.asl: ic-oid2type: Warning: improperly formatted line: /########################

Environment

All supported releases of Smart

Cause

This warning occurs when the ASL (Adapter Scripting Language) parser encounters a line in the oid2type_Field.conf file that does not conform to standard syntax. This is commonly caused by:

  • Improperly formatted comments (e.g., missing closing tags or invalid starting characters like /####).

  • Accidental manual edits to the script resulting in stray characters.

  • File corruption within the Smarts local directory.

Resolution

 

  • Log into your Smarts server and navigate to your local discovery configuration folder: cd <BASEDIR>/smarts/local/conf/discovery/

  • Use grep to quickly find which file contains the errors:

    • grep -rn "/########################" *

  • Remove the stray / from your comment block.

  • Save the file and run your reload command again: ./sm_tpmgr -s <AMPM> --reloadoid