Previous Next Contents Generated Index Home



Procedures and Examples

Name Module Definition Files 14

Specify Module Parameters 14

Create a Data Model 14

Realize the Data Model 15

Add Alarm Checks 15

Install Module Files 16

Load a Module 16

Log Data and To Activate Debug Mode 17

Write a Module from an existing SNMP MIB 19

Publish an SNMP Interface 19

Build Your Own Console 20

To Access Troubleshooting Information 20

Use the Client API 21

To Start the Platform Agent 21

How to See Changes that have been made to the Agent's module-d.x File 23

Work With a Java Application 23

Internationalize a Module 24

Creating a Parameter File 33

Creating a Data Model 40

Solaris Example--Model File 46

Module Configuration File Format 49

Performance Data Model Structure 50

File System Data Model Structure Code 51

Solaris Example Model Realization File 61

The solaris-example-console-user-d.sh File 63

The solaris-example-models-d.x File 69

The solaris-example.properties File 73

Solaris Example Model Realization File 74

The solaris-example-primary-user-d.sh File 76

Loading the Filter File 78

Solaris Example Model File 88

Solaris Example Model Realization File 89

The solaris-example-system.prc File 92

The solaris-example-average-d.flt File 92

Agent File Modifications 94

Code Fragments From ssi Package File 95

DAQ C code 97

Code Fragment Used to Retrieve System Load Average   98

Alarm File 107

Managing Alarms using rCompare 109

Solaris Example--Intermediate Data Model 110

Tcl Rule Example 143

Tcl rules File Format 145

Template 149

Module Model File 151

Module Agent File 152

Simple Rule 156

Log Rule 157

To Specify a Managed Property as Writable 166

To Log Data to a Typical Flat File 174

To Log Data to a Circular Log File 175

Specifying Availability Property 176

To Specify a Probe Command 179

Find Files 181

Entry in the Solaris Example Properties File 181

To Limit Top Probe Command 182

Model file For the Filesize Module 187

Set Actions 197

Default Memberships to Logical Users, Groups and Communities 200

Default ACL settings for All Nodes 201

Specifying Authenticated/Encrypted SNMP get and set Requests 202

Specifying Requests without SNMP set operations for UNIX User 202

Permitting admin/operator to Perform SNMP get and set 202

To Add a Row 203

To Remove a Row 203

To Edit a Row 203

To Disable a Row 204

To Enable a Row 204

To Load a Module Instance 204

Adhoc SNMP Table Management Commands 205

Additional Objects to the Solaris Example Model d.x File 207

Example of the Agent File 209

To Work Within the Agent Interactive Mode 214

To Exit the Environment 214

To Define a Module 224

To Find the Attribute Value of a Certain Object 225

To View the Result of an Operation on a Certain Object 227

To Import and Export a Set of Object Attributes 229

To Generate SNMP MIB From a Module 231

To Add a Composite Object 251

To Remove a Composite Object 253

Discovery Object Table 255

Adding a Reference to Discovery Object Table 260

When the es-dt script is executed or if the Discovery Object Table is Modified 262

Running the Discovery Interface 262

Discovery Object Table Model Data Realization Example Code 263

Sun Management Center MIB2 Definitions 264

Group Type Object Configuration File 274

Node Type Object Configuration File 274

Segment Type Object Configuration File 275

Composite Type Object Configuration File 275

Solaris Managed Object and Property Models 277

Example Data for Host Node 282

Example Data for SNMP Node 282

Example Data for Module Node 283

Example Data for IPBased Group 283

Example Data for Bus Segment 283

To Build a Module Using the Module Builder 288

To Launch the Module Builder 290

To Access the Module Parameters Folder 301

To Update the Module Parameters Tables 302

To Create the Hierarchy of the Module 312

To Change the Data Model 316

To Enable Data Acquisition on a Module, Table, or Object 321

To Invoke the HostDetailsBean 333

To Add Additional Popup Menu Options at the Module or Managed Object Level 346

To Add Menu Choices At the Table Level 346

To Invoke a Help Class 347

To Integrate the Online Help Mapping Key 348

staticmenu-version01-d.x 350

SMHello.java 352

SMContextExample.java 353

To Specify New Dynamic Menu choice(s) Over a Table Cell 358

To Specify New Dynamic Menu Choice(s) Over a Table Column Header 359

To Test Popup Menus and See the Changes 359

dynamicmenu-version01-d.x 362

SMDynamicMenu.java 366

To Specify that a Cell is Editable 373

To Use the Boolean Editor 374

To Use the Combo Box Editor 374

To Implement a Customized Cell Editor 374

To Specify a Custom Cell Editor 375

To Internationalize Cell Editors 376

To Test Custom Cell Editors 376

Cell Editor Example Code 377

SMCustomCellEdit.java 379

SMTabHello.java 384

To Run the Client API Examples: 393

SMLoginTest 394

setURLValue Method 398

createURL Method 399

getUserId Method 399

SMProbeTest 400

SMRawDataTest 404

SMRawDataAsyncTest 406

SMAlarmAsyncTest 410

SMAlarmSyncTest 413

SMManagedEntityTest 418

SMModuleTest 424

SMLogViewerTest 429

SMResrouceAccessTest 432

SMTopologyTest 435

base-modules-d.dat 534

To Stop the Platform Agent 535

To Load a Module in the Platform Agent 535

To Unload a Module in the Platform Agent 535

To Convert an OID URL to an Actual OID 537

To Access the fulldes Shadow Attribute of the Same MIB Property 538

To Convert the Shadow OID URL to a Valid OID 538

To Access a Table Property in a Module 539

To Convert the OID URL to an OID 539

Absolute Time Expression Specification 582

Syntax for Cyclic Specification 583

Syntax for Comparison Specification 584

Example Parameter File (filesize-m.x) 590

Example Model File (filesize-models-d.x) 591

Example Properties File (filesize.properties) 592

Example Agent File (filesize-d.x) 592

Example Alarm File (filesize-d.def) 593

Example Parameter File (filesize-m.x) 594

Example Agent File (filesize-d.x) 595

Example Parameter File (filesize-m.x) 595

Example Agent File (filesize-d.x) 596

Example Properties File (filesize.properties) 597

Example Parameter File (filesize-table-m.x) 598

Example Model File (filesize-table-models-d.x) 599

Example Agent File (filesize-table-d.x) 600

Example: Procedure File (filesize-table-d.prc) 602

Properties File (filesize-table.properties) 603

Example Alarm File (filesize-table-d.def) 603

Example: mib2-proxy-v2-m.x 606

Example: mib2-proxy-models-d.x 608

Example: mib2-proxy-d.x 612

Module Realization: MIB2 Proxy Module 614

Example: hp-jetdirect-trapspd.x 621

Sun Management Center Enterprise Specific Traps 645




Previous Next Contents Generated Index Home

Copyright © 2000 Sun Microsystems, Inc. All Rights Reserved.