Download SunNet Manager 2.2.3 Programmer`s Guide

Transcript
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xv
Part 1—Writing Management Applications
1. Overview of Writing Management Applications . . . . . . . . . .
1-1
1.1 Manager/Agent Model . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
1.2 Manager Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2
1.3 Default File Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4
1.3.1 API Examples Source Code . . . . . . . . . . . . . . . . . . . .
1-4
1.3.2 Header Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4
1.3.3 Default Locations for Various Files. . . . . . . . . . . . . .
1-5
2. Registering for Data, Event, and
Trap Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
2.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
2.2 Data Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2
2.3 Event Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3
2.4 Trap Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4
2.5 Waiting for Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-6
iii