Changing the Properties format for Agentmsglong to HTML for NetIQ elements

  • 7014604
  • 21-Feb-2014
  • 21-Feb-2014

Environment

NetIQ Operations Center 5.0

Situation

A script is needed to access NetIQ alarms field "Detailed Event Message"

Resolution

In PB8, we are changing the Properties format for Agentmsglong to HTML.  This will allow us to store the
data in the correct format for historical alarms.  However, existing customers may have scripts that are reading this
property in the original XML. 
 
The attached operation demonstrates how to access the detailed event message of an alarm with the NetIQ adapter.
This can ONLY be done in a server script. Below is the actual script content that can be used to access the
raw data:


/*
* "Detailed Event Message" for an alarm can be retrieved from the alarm's element. This can
* ONLY be done from a server-side script.
* For use with the NetIQ adapter
*/
for(var i =0; i < alarms.length; i++)
{
var alarm = alarms[i];
var element = alarm.getElement();
var message = element.getAlarmDetailedMessage(alarm);
formula.log.info("RAW message=" + message);
}
 

Feedback service temporarily unavailable. For content questions or problems, please contact Support.