Novell is now a part of Micro Focus

My Favorites


Please to see your favorites.

Operations Center sample code - exporting configuration on the server, and sending it to the client

This document (7011909) is provided subject to the disclaimer at the end of this document.


NetIQ Operations Center
Novell Operations Center 5.0


Operations Center suite provides frameworks and tools for highly sophisticated and highly customizable solutions. One of these tools is fscript. Fscripting on the Operations Center (NOC) server can be done either on the server side, or on the client side. Sometimes it is useful to combine both these approaches, and pass data between server-side script and client-side script.  This sample code wants to present exactly this featue - it shows how to export NOC configuration on the server side, and how to send it as the parameter to the client side.


Our script below is triggered by the server-side operation. It works basically in four steps:
a) it locates "server" elements and exports selected configuration to the temporary file,  using 'Config|ExportSilent' method
b) it reads temporary file, and copies the data into new string array
c) it passes the string array to the client-side, as a part of client-side script invocation
d) invoked client-side script writes then the data to the file on the Java client PC

The code is designed to work for relatively small configurations, but it would for sure cause problems and crash if you would try to send this way huge configuration data.

Here is the operations definition, it needs to be added to the operations.ini file:
[Export configuration to the client]
description=Export configuration to the client

Here is our script "support/exportConfigToClient.fs":

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7011909
  • Creation Date:11-MAR-13
  • Modified Date:11-MAR-13
    • NetIQOperations Center

Did this document solve your problem? Provide Feedback

© Micro Focus