~ampelbein/ubuntu/oneiric/heartbeat/lp-770743

« back to all changes in this revision

Viewing changes to snmp_subagent/LINUX-HA-MIB.mib

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2009-08-10 19:29:25 UTC
  • mfrom: (5.2.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20090810192925-9zy2llcbgavbskf7
Tags: 2.99.2+sles11r9-5ubuntu1
* New upstream snapshot
* Adjusted heartbeat.install and rules for documentation path

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--
2
 
--
3
 
 
4
 
LINUX-HA-MIB DEFINITIONS ::= BEGIN
5
 
 
6
 
IMPORTS
7
 
    MODULE-IDENTITY, OBJECT-TYPE, enterprises,
8
 
    Counter32, INTEGER, Integer32, Unsigned32, IpAddress
9
 
        FROM SNMPv2-SMI
10
 
 
11
 
    TEXTUAL-CONVENTION, DisplayString, 
12
 
    TimeStamp, TruthValue, DateAndTime                      
13
 
        FROM SNMPv2-TC
14
 
 
15
 
    MODULE-COMPLIANCE, OBJECT-GROUP                 
16
 
        FROM SNMPv2-CONF;
17
 
 
18
 
LinuxHA MODULE-IDENTITY
19
 
    LAST-UPDATED "200711260000Z"        -- Nov. 26, 2007
20
 
    ORGANIZATION "High-Availability Linux Project"
21
 
    CONTACT-INFO
22
 
        "Alan Robertson
23
 
        Postal: Linux-HA Project
24
 
                13750 Bayberry Drive
25
 
                Broomfield, CO 80020-6163
26
 
        Phone:  303-466-7405
27
 
        FAX:    n/a
28
 
        Email:  alanr@unix.sh
29
 
 
30
 
        Yixiong Zou
31
 
        Postal: Intel Corp.  
32
 
                CO5-162
33
 
                15400 NW Greenbrier Parkway
34
 
                Beaverton, OR 97006
35
 
                USA
36
 
        Phone:  503-677-4988
37
 
        Fax:    503-677-6670
38
 
        Email:  yixiong.zou@intel.com
39
 
 
40
 
        In addition, the Linux-HA mailing list is where all the 
41
 
        discussion about this MIB happens. To join the mailing list, 
42
 
        send a request message to linux-ha-subscribe@muc.de.  
43
 
        The mailing list address is
44
 
        linux-ha-dev@lists.community.tummy.com."
45
 
    DESCRIPTION
46
 
        "This MIB can be used to manage a Linux-HA cluster. The
47
 
        initial plan is to make the heartbeat, resource managment,
48
 
        and memberships accessible through SNMP. Hopefully more
49
 
        things can be added as Linux-HA matures."
50
 
 
51
 
    REVISION "200711260000Z"    -- Nov. 26, 2007
52
 
    DESCRIPTION
53
 
        "The original version of this MIB."
54
 
    ::= { enterprises 4682 }
55
 
 
56
 
 
57
 
LHAUUIDString ::= TEXTUAL-CONVENTION
58
 
    DISPLAY-HINT "4x-2x-2x-2x-4x2x"
59
 
    STATUS       current
60
 
    DESCRIPTION
61
 
        "A string that represents a UUID"
62
 
    SYNTAX       OCTET STRING (SIZE (16))
63
 
 
64
 
LHAClusterInfo          OBJECT IDENTIFIER ::= { LinuxHA 1 }
65
 
 
66
 
LHATotalNodeCount OBJECT-TYPE
67
 
    SYNTAX      Counter32
68
 
    MAX-ACCESS  read-only
69
 
    STATUS      current
70
 
    DESCRIPTION
71
 
        "The number of nodes that are currently configured for this
72
 
        cluster."
73
 
    ::= { LHAClusterInfo 1 }
74
 
 
75
 
LHALiveNodeCount OBJECT-TYPE
76
 
    SYNTAX      Counter32
77
 
    MAX-ACCESS  read-only
78
 
    STATUS      current
79
 
    DESCRIPTION
80
 
        "The number of nodes that are currently active in this
81
 
        cluster."
82
 
    ::= { LHAClusterInfo 2 }
83
 
 
84
 
LHACurrentNodeID OBJECT-TYPE
85
 
    SYNTAX      Integer32
86
 
    MAX-ACCESS  read-only
87
 
    STATUS      current
88
 
    DESCRIPTION
89
 
        "The nodes id of the host that this agent currently
90
 
        represents.  This value is the same as the LHANodeIndex value
91
 
        of this node."
92
 
    ::= { LHAClusterInfo 3 }
93
 
 
94
 
LHAResourceGroupCount OBJECT-TYPE
95
 
    SYNTAX      Counter32
96
 
    MAX-ACCESS  read-only
97
 
    STATUS      current
98
 
    DESCRIPTION
99
 
        "The total number of Resource Groups that have been
100
 
        configured for this cluster."
101
 
    ::= { LHAClusterInfo 4 }
102
 
 
103
 
LHANodeTable OBJECT-TYPE
104
 
    SYNTAX      SEQUENCE OF lhaNodeEntry
105
 
    MAX-ACCESS  not-accessible
106
 
    STATUS      current
107
 
    DESCRIPTION
108
 
        "A table contains information about all the nodes in the
109
 
        cluster."
110
 
    ::= { LinuxHA 2 }
111
 
 
112
 
LHANodeEntry OBJECT-TYPE
113
 
    SYNTAX      lhaNodeEntry
114
 
    MAX-ACCESS  not-accessible
115
 
    STATUS      current
116
 
    DESCRIPTION 
117
 
        "An entry containing a node and its statistics."
118
 
    INDEX       { LHANodeIndex }
119
 
    ::= { LHANodeTable 1 }
120
 
 
121
 
lhaNodeEntry ::= SEQUENCE {
122
 
    LHANodeIndex            Integer32,
123
 
    LHANodeName             DisplayString,
124
 
    LHANodeType             INTEGER,
125
 
    LHANodeStatus           INTEGER,
126
 
    LHANodeUUID             DisplayString,
127
 
    LHANodeIFCount          Counter32,
128
 
}
129
 
 
130
 
LHANodeIndex OBJECT-TYPE    
131
 
    SYNTAX      Integer32 (0..65535)
132
 
    MAX-ACCESS  not-accessible
133
 
    STATUS      current
134
 
    DESCRIPTION
135
 
        "An integer that identifies a node in a cluster for a given
136
 
        snmp session."
137
 
    ::= { LHANodeEntry 1 }
138
 
 
139
 
LHANodeName OBJECT-TYPE
140
 
    SYNTAX      DisplayString
141
 
    MAX-ACCESS  read-only
142
 
    STATUS      current
143
 
    DESCRIPTION
144
 
        "A human readable name that represents that node."
145
 
    ::= { LHANodeEntry 2 }
146
 
 
147
 
LHANodeType OBJECT-TYPE
148
 
    SYNTAX      INTEGER {
149
 
                    unknown (0),
150
 
                    normal (1),
151
 
                    ping (2)
152
 
                }
153
 
    MAX-ACCESS  read-only
154
 
    STATUS      current
155
 
    DESCRIPTION
156
 
        "There could be many types of nodes in the cluster.  For
157
 
        example, a node could be a normal node, or a ping node
158
 
        depending on the configuration.  This object shows the
159
 
        type of this node as an integer.  
160
 
        
161
 
        So far only the normal node and ping node are defined.  All
162
 
        the rest will fall into the 'unknown' catagory. "
163
 
    ::= { LHANodeEntry 3 }
164
 
 
165
 
LHANodeStatus OBJECT-TYPE
166
 
    SYNTAX      INTEGER {
167
 
                    unknown (0),
168
 
                    init (1),
169
 
                    up (2),
170
 
                    active (3), 
171
 
                    dead (4)
172
 
                }
173
 
    MAX-ACCESS  read-only
174
 
    STATUS      current
175
 
    DESCRIPTION
176
 
        "The status of the node as an integer. For heartbeat, this
177
 
        would normally be init, up, active, or dead.
178
 
 
179
 
        So far, only these four states are defined.  All the rest
180
 
        falls in 'unknown' catagory."
181
 
    ::= { LHANodeEntry 4 }
182
 
 
183
 
LHANodeUUID OBJECT-TYPE
184
 
    SYNTAX      LHAUUIDString
185
 
    MAX-ACCESS  read-only
186
 
    STATUS      current
187
 
    DESCRIPTION
188
 
        "The UUID of the current node in string representatio.  This
189
 
        UUID will be persisted over the heartbeat session.  So it can
190
 
        be used as a unique identifier for a node."
191
 
    ::= { LHANodeEntry 5 }
192
 
 
193
 
LHANodeIFCount OBJECT-TYPE
194
 
    SYNTAX      Counter32
195
 
    MAX-ACCESS  read-only
196
 
    STATUS      current
197
 
    DESCRIPTION
198
 
        "The number of interfaces that is used by heartbeat
199
 
        for this node."
200
 
    ::= { LHANodeEntry 6 }
201
 
 
202
 
LHAIFStatusTable OBJECT-TYPE
203
 
    SYNTAX      SEQUENCE OF lhaIFEntry
204
 
    MAX-ACCESS  not-accessible
205
 
    STATUS      current
206
 
    DESCRIPTION
207
 
        "A table describes all the interfaces that are used by the
208
 
        heartbeat cluster."
209
 
    ::= { LinuxHA 3 }
210
 
 
211
 
LHAIFStatusEntry OBJECT-TYPE
212
 
    SYNTAX      lhaIFStatusEntry
213
 
    MAX-ACCESS  not-accessible
214
 
    STATUS      current
215
 
    DESCRIPTION
216
 
        "An entry containing information about that interface.
217
 
        The LHANodeIndex is listed in the LHANodeTable."
218
 
    INDEX       { LHANodeIndex, LHAIFIndex }
219
 
    ::= { LHAIFStatusTable 1 }
220
 
 
221
 
lhaIFStatusEntry ::= SEQUENCE {
222
 
    LHAIFIndex          Integer32,
223
 
    LHAIFName           DisplayString,
224
 
    LHAIFStatus         INTEGER
225
 
}
226
 
 
227
 
LHAIFIndex OBJECT-TYPE
228
 
    SYNTAX      Integer32 (0..65535)
229
 
    MAX-ACCESS  not-accessible
230
 
    STATUS      current
231
 
    DESCRIPTION
232
 
        "An unique integer identifies this interface."
233
 
    ::= { LHAIFStatusEntry 1 }
234
 
 
235
 
LHAIFName OBJECT-TYPE
236
 
    SYNTAX      DisplayString
237
 
    MAX-ACCESS  read-only
238
 
    STATUS      current
239
 
    DESCRIPTION
240
 
        "A name for this interface."
241
 
    ::= { LHAIFStatusEntry 2 }
242
 
 
243
 
LHAIFStatus OBJECT-TYPE
244
 
    SYNTAX      INTEGER {
245
 
                    unknown (0),
246
 
                    up (1),
247
 
                    down (2)
248
 
                }
249
 
    MAX-ACCESS  read-only
250
 
    STATUS      current
251
 
    DESCRIPTION
252
 
        "The status for this interface as an integer. 
253
 
        
254
 
        Currently only up and down are defined as the interface
255
 
        status.  All the others will fall into the unknown catagory."
256
 
    ::= { LHAIFStatusEntry 3 }
257
 
 
258
 
 
259
 
LHAResourceGroupTable OBJECT-TYPE
260
 
    SYNTAX      SEQUENCE OF lhaResourceGroupEntry
261
 
    MAX-ACCESS  not-accessible
262
 
    STATUS      current
263
 
    DESCRIPTION
264
 
        "A table containing information of all the resource groups."
265
 
    ::= { LinuxHA 4 }
266
 
 
267
 
LHAResourceGroupEntry OBJECT-TYPE
268
 
    SYNTAX      lhaResourceGroupEntry
269
 
    MAX-ACCESS  not-accessible
270
 
    STATUS      current
271
 
    DESCRIPTION
272
 
        "An entry that describes the resource group and its
273
 
        information."
274
 
    INDEX       { LHAResourceGroupIndex }
275
 
    ::= { LHAResourceGroupTable 1 }
276
 
 
277
 
lhaResourceGroupEntry ::= SEQUENCE      {
278
 
    LHAResourceGroupIndex       Integer32,
279
 
    LHAResourceGroupMaster      DisplayString,
280
 
    LHAResourceGroupResources   DisplayString,
281
 
    LHAResourceGroupStatus      Integer32
282
 
}
283
 
 
284
 
LHAResourceGroupIndex OBJECT-TYPE
285
 
    SYNTAX      Integer32 (0..65535)
286
 
    MAX-ACCESS  not-accessible
287
 
    STATUS      current
288
 
    DESCRIPTION
289
 
        "A unique integer that identifies this resource group."
290
 
    ::= { LHAResourceGroupEntry 1 }
291
 
 
292
 
LHAResourceGroupMaster OBJECT-TYPE
293
 
    SYNTAX      Integer32 (0..65535)
294
 
    MAX-ACCESS  read-only
295
 
    STATUS      current
296
 
    DESCRIPTION
297
 
        "The master node id of this resource group.  This is 
298
 
        the LHANodeIndex for the master node of this resource
299
 
        group. "
300
 
    ::= { LHAResourceGroupEntry 2 }
301
 
 
302
 
LHAResourceGroupResources OBJECT-TYPE
303
 
    SYNTAX      DisplayString
304
 
    MAX-ACCESS  read-only
305
 
    STATUS      current
306
 
    DESCRIPTION
307
 
        "The resources contained in this resource group."
308
 
    ::= { LHAResourceGroupEntry 3 }
309
 
 
310
 
LHAResourceGroupStatus OBJECT-TYPE
311
 
    SYNTAX      Unsigned32 (0..255)
312
 
    MAX-ACCESS  read-only
313
 
    STATUS      current
314
 
    DESCRIPTION
315
 
        "The status of this resource group.
316
 
 
317
 
         0       program is running 
318
 
         1       program is dead and /var/run pid file exists
319
 
         2       program is dead and /var/lock lock file exists
320
 
         3       program is stopped
321
 
         4-100   reserved for future LSB use
322
 
         100-149 reserved for distribution use
323
 
         150-199 reserved for application use
324
 
         200-254 reserved
325
 
         "
326
 
    ::= { LHAResourceGroupEntry 4 }
327
 
 
328
 
LHAMembershipTable OBJECT-TYPE
329
 
    SYNTAX      SEQUENCE OF lhaMembershipEntry
330
 
    MAX-ACCESS  not-accessible
331
 
    STATUS      current
332
 
    DESCRIPTION
333
 
        "A table containing membership information for the cluster.
334
 
        A successful membership has to have qurom.  
335
 
        
336
 
                                NOTE WELL
337
 
 
338
 
        If this table does not contain any entries, that means the 
339
 
        node is not part of the cluster membership."
340
 
    ::= { LinuxHA 6 }
341
 
 
342
 
LHAMembershipEntry OBJECT-TYPE
343
 
    SYNTAX      lhaMembershipEntry
344
 
    MAX-ACCESS  not-accessible
345
 
    STATUS      current
346
 
    DESCRIPTION
347
 
        "An entry containing a member and its status."
348
 
    INDEX       { LHAMemberIndex }
349
 
    ::= { LHAMembershipTable 1 }
350
 
 
351
 
lhaMembershipEntry ::= SEQUENCE {
352
 
    LHAMemberIndex              Integer32,
353
 
    LHAMemberName               DisplayString,
354
 
    LHAMemberAddress            DisplayString,
355
 
    LHAMemberClusterName        DisplayString,
356
 
    LHAMemberIsMember           TruthValue,
357
 
    LHAMemberLastChange         INTEGER,
358
 
    LHAMemberBootTime           TimeStamp,
359
 
}
360
 
 
361
 
LHAMemberIndex OBJECT-TYPE
362
 
    SYNTAX      Integer32 (0..65535)
363
 
    MAX-ACCESS  not-accessible
364
 
    STATUS      current
365
 
    DESCRIPTION
366
 
        "A unique integer that identifies this member."
367
 
    ::= { LHAMembershipEntry 1 }
368
 
 
369
 
LHAMemberName OBJECT-TYPE
370
 
    SYNTAX      DisplayString
371
 
    MAX-ACCESS  read-only
372
 
    STATUS      current
373
 
    DESCRIPTION
374
 
        "The name of the cluster member."
375
 
    ::= { LHAMembershipEntry 2 }
376
 
 
377
 
LHAMemberAddress OBJECT-TYPE
378
 
    SYNTAX      OCTET STRING (SIZE (64))
379
 
    MAX-ACCESS  read-only
380
 
    STATUS      current
381
 
    DESCRIPTION
382
 
        "The address of the cluster member."
383
 
    ::= { LHAMembershipEntry 3 }
384
 
 
385
 
LHAMemberClusterName OBJECT-TYPE
386
 
    SYNTAX      DisplayString
387
 
    MAX-ACCESS  read-only
388
 
    STATUS      current
389
 
    DESCRIPTION
390
 
        "The name of this cluster."
391
 
    ::= { LHAMembershipEntry 4 }
392
 
 
393
 
LHAMemberIsMember OBJECT-TYPE
394
 
    SYNTAX      TruthValue
395
 
    MAX-ACCESS  read-only
396
 
    STATUS      current
397
 
    DESCRIPTION
398
 
        "If this node is part of the membership or not."
399
 
    ::= { LHAMembershipEntry 5 }
400
 
 
401
 
LHAMemberLastChange OBJECT-TYPE
402
 
    SYNTAX      INTEGER {
403
 
                    undefined (0),
404
 
                    nochange (1),
405
 
                    joined (2),
406
 
                    left (3)
407
 
                }
408
 
    MAX-ACCESS  read-only
409
 
    STATUS      current
410
 
    DESCRIPTION
411
 
        "If this node is part of the membership or not."
412
 
    ::= { LHAMembershipEntry 6 }
413
 
 
414
 
LHAMemberBootTime OBJECT-TYPE
415
 
    SYNTAX      TimeStamp
416
 
    MAX-ACCESS  read-only
417
 
    STATUS      current
418
 
    DESCRIPTION
419
 
        "The time when this cluster member last started."
420
 
    ::= { LHAMembershipEntry 7 }
421
 
 
422
 
LHAHeartbeatConfigInfo          OBJECT IDENTIFIER ::= { LinuxHA 7 }
423
 
 
424
 
LHAHBVersion OBJECT-TYPE
425
 
    SYNTAX      DisplayString
426
 
    MAX-ACCESS  read-only
427
 
    STATUS      current
428
 
    DESCRIPTION
429
 
        "The heartbeat version."
430
 
    ::= { LHAHeartbeatConfigInfo 1 }
431
 
 
432
 
LHAKeepAlive OBJECT-TYPE
433
 
    SYNTAX      DisplayString
434
 
    MAX-ACCESS  read-only
435
 
    STATUS      current
436
 
    DESCRIPTION
437
 
        "The heartbeat interval."
438
 
    ::= { LHAHeartbeatConfigInfo 3 }
439
 
 
440
 
LHADeadTime OBJECT-TYPE
441
 
    SYNTAX      DisplayString
442
 
    MAX-ACCESS  read-only
443
 
    STATUS      current
444
 
    DESCRIPTION
445
 
        "The time it waits before declaring a node to be dead."
446
 
    ::= { LHAHeartbeatConfigInfo 4 }
447
 
 
448
 
LHADeadPing OBJECT-TYPE
449
 
    SYNTAX      DisplayString
450
 
    MAX-ACCESS  read-only
451
 
    STATUS      current
452
 
    DESCRIPTION
453
 
        "The time it waits before declaring a ping node to be dead."
454
 
    ::= { LHAHeartbeatConfigInfo 5 }
455
 
 
456
 
LHAWarnTime OBJECT-TYPE
457
 
    SYNTAX      DisplayString
458
 
    MAX-ACCESS  read-only
459
 
    STATUS      current
460
 
    DESCRIPTION
461
 
        "The time it waits before issuing a 'late heartbeat' warning."
462
 
    ::= { LHAHeartbeatConfigInfo 6 }
463
 
 
464
 
LHAInitDead OBJECT-TYPE
465
 
    SYNTAX      DisplayString
466
 
    MAX-ACCESS  read-only
467
 
    STATUS      current
468
 
    DESCRIPTION
469
 
        "Very first dead time.  Should be twice the normal dead time."
470
 
    ::= { LHAHeartbeatConfigInfo 7 }
471
 
 
472
 
LHABaudRate OBJECT-TYPE
473
 
    SYNTAX      DisplayString
474
 
    MAX-ACCESS  read-only
475
 
    STATUS      current
476
 
    DESCRIPTION
477
 
        "Baud rate for serial ports."
478
 
    ::= { LHAHeartbeatConfigInfo 9 }
479
 
 
480
 
LHAAutoFailBack OBJECT-TYPE
481
 
    SYNTAX      INTEGER {
482
 
                    undefined (0),
483
 
                    on (1),
484
 
                    off (2),
485
 
                    legacy (3),
486
 
                }
487
 
    MAX-ACCESS  read-only
488
 
    STATUS      current
489
 
    DESCRIPTION
490
 
        "Determins whether a resource will automatically fail back to
491
 
        its primary node, or remain on whatever the node is serving.
492
 
        
493
 
        Possible values are: on, off, legacy."
494
 
    ::= { LHAHeartbeatConfigInfo 12 }
495
 
 
496
 
LHAStonith OBJECT-TYPE
497
 
    SYNTAX      DisplayString
498
 
    MAX-ACCESS  read-only
499
 
    STATUS      current
500
 
    DESCRIPTION
501
 
        "The STONITH device configured for this cluster."
502
 
    ::= { LHAHeartbeatConfigInfo 13 }
503
 
 
504
 
LHAStonithHost OBJECT-TYPE
505
 
    SYNTAX      DisplayString
506
 
    MAX-ACCESS  read-only
507
 
    STATUS      current
508
 
    DESCRIPTION
509
 
        "The STONITH host configured for this cluster."
510
 
    ::= { LHAHeartbeatConfigInfo 14 }
511
 
 
512
 
LHARespawn OBJECT-TYPE
513
 
    SYNTAX      DisplayString
514
 
    MAX-ACCESS  read-only
515
 
    STATUS      current
516
 
    DESCRIPTION
517
 
        "The other services that got respawned by heartbeat daemon."
518
 
    ::= { LHAHeartbeatConfigInfo 15 }
519
 
 
520
 
LHAResourceTable OBJECT-TYPE
521
 
    SYNTAX      SEQUENCE OF lhaResourceEntry
522
 
    MAX-ACCESS  not-accessible
523
 
    STATUS      current
524
 
    DESCRIPTION
525
 
        "A table containing information of all the resource for V2."
526
 
    ::= { LinuxHA 8 }
527
 
 
528
 
LHAResourceEntry OBJECT-TYPE
529
 
    SYNTAX      lhaResourceEntry
530
 
    MAX-ACCESS  not-accessible
531
 
    STATUS      current
532
 
    DESCRIPTION
533
 
        "An entry that describes the resource and its status for V2."
534
 
    INDEX       { LHAResourceIndex }
535
 
    ::= { LHAResourceTable 1 }
536
 
 
537
 
lhaResourceEntry ::= SEQUENCE   {
538
 
    LHAResourceIndex    Integer32,
539
 
    LHAResourceName     DisplayString,
540
 
    LHAResourceType     INTEGER,
541
 
    LHAResourceNode     DisplayString,
542
 
    LHAResourceStatus   INTEGER,
543
 
    LHAResourceIsManaged        INTEGER,
544
 
    LHAResourceFailCount        Integer32,
545
 
    LHAResourceParent   DisplayString,
546
 
}
547
 
 
548
 
LHAResourceIndex OBJECT-TYPE
549
 
    SYNTAX      Integer32 (0..65535)
550
 
    MAX-ACCESS  not-accessible
551
 
    STATUS      current
552
 
    DESCRIPTION
553
 
        "A unique integer that identifies this resource."
554
 
    ::= { LHAResourceEntry 1 }
555
 
 
556
 
LHAResourceName OBJECT-TYPE
557
 
    SYNTAX      DisplayString
558
 
    MAX-ACCESS  read-only
559
 
    STATUS      current
560
 
    DESCRIPTION
561
 
        "The name of this resource."
562
 
    ::= { LHAResourceEntry 2 }
563
 
 
564
 
LHAResourceType OBJECT-TYPE
565
 
    SYNTAX      INTEGER {
566
 
                    unknown (0),
567
 
                    primitive (1),
568
 
                    group (2),
569
 
                    clone (3),
570
 
                    masterSlave (4)
571
 
                }
572
 
    MAX-ACCESS  read-only
573
 
    STATUS      current
574
 
    DESCRIPTION
575
 
        "The type of this resource.
576
 
         0       unknown type
577
 
         1       primitive resource.
578
 
         2       group resource.
579
 
         3       clone resource.
580
 
         4           master/slave resource.
581
 
         "
582
 
    ::= { LHAResourceEntry 3 }
583
 
 
584
 
LHAResourceNode OBJECT-TYPE
585
 
    SYNTAX      DisplayString
586
 
    MAX-ACCESS  read-only
587
 
    STATUS      current
588
 
    DESCRIPTION
589
 
        "The node name that this resource resides on."
590
 
    ::= { LHAResourceEntry 4 }
591
 
 
592
 
LHAResourceStatus OBJECT-TYPE
593
 
    SYNTAX      INTEGER {
594
 
                    unknown (0),
595
 
                    stopped (1),
596
 
                    started (2),
597
 
                    slave (3),
598
 
                    master (4)
599
 
                }
600
 
    MAX-ACCESS  read-only
601
 
    STATUS      current
602
 
    DESCRIPTION
603
 
        "The status of this resource.
604
 
         0       unknown status
605
 
         1       program is stopped.
606
 
         2       program is started.
607
 
         3       program is started in slave state.
608
 
         4       program is started in master state.
609
 
         "
610
 
    ::= { LHAResourceEntry 5 }
611
 
 
612
 
LHAResourceIsManaged OBJECT-TYPE
613
 
    SYNTAX      INTEGER {
614
 
                    unmanaged (0),
615
 
                    managed (1)
616
 
                }
617
 
    MAX-ACCESS  read-only
618
 
    STATUS      current
619
 
    DESCRIPTION
620
 
        "The status of this resource.
621
 
         0       resource is not managed.
622
 
         1       resource is managed.
623
 
         "
624
 
    ::= { LHAResourceEntry 6 }
625
 
 
626
 
LHAResourceFailCount OBJECT-TYPE
627
 
    SYNTAX      Integer32 (0..65535)
628
 
    MAX-ACCESS  read-only
629
 
    STATUS      current
630
 
    DESCRIPTION
631
 
        "The value of this resource's fail-count."
632
 
    ::= { LHAResourceEntry 7 }
633
 
 
634
 
LHAResourceParent OBJECT-TYPE
635
 
    SYNTAX      DisplayString
636
 
    MAX-ACCESS  read-only
637
 
    STATUS      current
638
 
    DESCRIPTION
639
 
        "The name of this resource's parent resource."
640
 
    ::= { LHAResourceEntry 8 }
641
 
 
642
 
LHATrapTable                    OBJECT IDENTIFIER ::= { LinuxHA 900 }
643
 
 
644
 
LHANodeStatusUpdate NOTIFICATION-TYPE
645
 
    OBJECTS { LHANodeName LHANodeStatus }
646
 
    STATUS  current
647
 
    DESCRIPTION
648
 
        "A node status change event just happened."
649
 
    ::= { LHATrapTable 1 }
650
 
 
651
 
LHAIFStatusUpdate NOTIFICATION-TYPE
652
 
    OBJECTS { LHANodeName LHAIFName LHAIFStatus }
653
 
    STATUS  current
654
 
    DESCRIPTION
655
 
        "A link status just changed."
656
 
    ::= { LHATrapTable 3 }
657
 
 
658
 
LHAMembershipChange NOTIFICATION-TYPE
659
 
    OBJECTS { LHANodeName LHAMemberLastChange }
660
 
    STATUS  current
661
 
    DESCRIPTION
662
 
        "A node just changed it membership. "
663
 
    ::= { LHATrapTable 5 }
664
 
 
665
 
LHAHBAgentOnline NOTIFICATION-TYPE
666
 
    OBJECTS { LHANodeName }
667
 
    STATUS  current
668
 
    DESCRIPTION
669
 
        "The heartbeat agent for this node is online and ready to accept queries. "
670
 
    ::= { LHATrapTable 7 }
671
 
 
672
 
LHAHBAgentOffline NOTIFICATION-TYPE
673
 
    OBJECTS { LHANodeName }
674
 
    STATUS  current
675
 
    DESCRIPTION
676
 
        "The heartbeat agent for this node is offline. "
677
 
    ::= { LHATrapTable 9 }
678
 
 
679
 
LHAResourceStatusUpdate NOTIFICATION-TYPE
680
 
    OBJECTS { LHAResourceName LHAResourceNode LHAResourceStatus }
681
 
    STATUS  current
682
 
    DESCRIPTION
683
 
        "A resource status change event just happened."
684
 
    ::= { LHATrapTable 11 }
685
 
 
686
 
END