summaryrefslogtreecommitdiff
path: root/MIBS/synso/SYNSO-UPSMIB
blob: ab954c7ecebb3767939cddea136ec9d9489e3889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
-- Synso UPS Software Management Information Base
-- SYNSO-UPSMIB
-- {iso org(3) internet(1) private(4) enterprises(1) synso(9557)}

SYNSO-UPSMIB DEFINITIONS ::= BEGIN

IMPORTS
	enterprises, IpAddress
		FROM RFC1155-SMI
	DisplayString
		FROM RFC1213-MIB;


synso			OBJECT IDENTIFIER ::= {enterprises 9557}
synsoUpsSoftware	OBJECT IDENTIFIER ::= {synso 1}

--
-- The Basic Setting Group
--

syupsBasicSetting		OBJECT IDENTIFIER ::= {synsoUpsSoftware 1}

syupsPlatForm OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..31))
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The platform which the UPS software is running on."
	::= {syupsBasicSetting 1}

syupsFeatureTable OBJECT-TYPE
	SYNTAX      SEQUENCE OF SyupsFeatureEntry
    ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "A table containing the supported features."
	::= {syupsBasicSetting 2}

syupsFeatureEntry OBJECT-TYPE
	SYNTAX      SyupsFeatureEntry
    ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "An entry representing the support information for a feature."
	INDEX {syupsFeature}
	::= {syupsFeatureTable 1}

SyupsFeatureEntry ::= SEQUENCE {
	syupsFeature INTEGER,
	syupsSupportInfo DisplayString
}

syupsFeature OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The string representing a feature."
	::= {syupsFeatureEntry 1}

syupsSupportInfo OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The string containing the support information for a feature."
	::= {syupsFeatureEntry 2}

syupsSystemStartTime OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The time that the UPS software starts.  It is the 
		number of seconds elapsed since 00:00:00,
                January 1, 1970."
	::= {syupsBasicSetting 3}

syupsSignalType OBJECT-TYPE
	SYNTAX      INTEGER {
		basicSignal(0),
		smartSignal(1)
	}
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The signaling method between the UPS and software.

                When the basicSignal used, the UPS changes the voltage
                level of some specific pins to notify the software of what
                critical event occurs.  Usually, the UPS will inform
                software when a power failure or a low battery condition
                occurs.  On the other hand, the software can change the
                voltage signal of a specific pin to ask the UPS to shut
                down (turn off).

                When the smartSignal used, the UPS asks like a standard
                communication device (such as mouse or modem).  That means 
                the UPS and software communicate with each other using a
                pre-defined protocol.  The protocol should include at
                least the following commands:
                        - query the power status of the UPS
                        - query the power data of the UPS
                        - command the UPS to shut down
                "
        ::= {syupsBasicSetting 4}

syupsBasicSignalDefinition OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The signal definitions for the basic signaling UPS.  The
                value can be the following bit combinations:
                        SG_POWER_FAILURE_ENABLE         0x01
                        SG_BATTERY_LOW_ENABLE           0x02
                        SG_SHUTDOWN_ENABLE              0x04

                        SG_POWER_FAILURE_VOLTHIGH       0x10
                        SG_BATTERY_LOW_VOLTHIGH         0x20
                        SG_SHUTDOWN_VOLTHIGH            0x40

                SG_POWER_FAILURE_ENABLE, SG_BATTERY_LOW_ENABLE, and
                SG_SHUTDOWN_ENABLE indicate whether the signals for
                a power failure , a low battery condition, and the UPS
                shutdown are enabled.  SG_POWER_FAILURE_VOLTHIGH,
                SG_BATTERY_LOW_VOLTHIGH, and SG_SHUTDOWN_VOLTHIGH indicate
                whether the voltage level for these signals are high or low."
        ::= {syupsBasicSetting 5}

syupsUpsComPort OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..31))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The serial port which the UPS software use to communicate
                with the UPS.  The format varies from platform to platform.
                For DOS program, the format is 'portNo, portAddress, portIRQ'
                (e.g. '1, 0x2f8, 3' for COM2).  For Windows program, it
                is 'portNo'. For NetWare program, it is
                'portType, boardNo, portNo'.  For UNIX, it is 'device name'."
	::= {syupsBasicSetting 6}

syupsModemComPort OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..31))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The serial port which the UPS software use to dial out
                when some particular events occur.  The format varies from
                platform to platform.  For DOS program, the format is
                'portNo, portAddress, portIRQ' (e.g. '1, 0x2f8, 3' for COM2).
                For Windows program, it is 'portNo'.  For NetWare program,
                it is 'portType, boardNo, portNo'. For UNIX, it is
                'device name'."
	::= {syupsBasicSetting 7}


--
-- The Ups Extension Group
--

syupsUpsExtension		OBJECT IDENTIFIER ::= {synsoUpsSoftware 2}


syupsUpsAlarm OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "It is used internally.  Each bit indicates a critical event,
                such as input bad, on battery, communications lost, ...,etc."
        ::= {syupsUpsExtension 1}

syupsSerialNo OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..63))
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The serial number of the UPS connected to the UPS software."
	::= {syupsUpsExtension 2}

syupsConfigBatteryVoltage OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The nominal battery voltage."
        ::= {syupsUpsExtension 3}

syupsBatteryReplaceDate OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The last battery replacement date.  It represents the
                number of days elapsed since January 1, 1901."
        ::= {syupsUpsExtension 4}

syupsNoOutlet OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The total number of controllable outlets."
        ::= {syupsUpsExtension 5}

syupsOutletParamter OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "This object is not used any more."
        ::= {syupsUpsExtension 6}

syupsShutdownDepend OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..255))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "A string containing those who should perform their shutdown 
		procedure before the UPS turns off. The agent will inform each
		one in the list to begin their shutdown procedure before it turns 
		off the power of the UPS."
	::= {syupsUpsExtension 7}

syupsEnableAutoSave OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Setting it to 1, the agent will try to save all files opened by 
		applications before shutting down the operation system. Setting it 
		to 0 will disable the auto save feature." 
	::= {syupsUpsExtension 8}

syupsShutdownOsDelay OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The delay time before shutting down the operation system. 
		When it is necessary to shut down the operation system, the agent
		will run the specified command file and try to save all files
		opened by applications before shutting down the OS. This delay 
		time is used to do such things."
	::= {syupsUpsExtension 9}

syupsShutdownUpsDelay OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The delay time before shutting down the UPS. Before shutting down 
		the operation system, the agent will send a command to tell the UPS 
		to shut down. This delay time is used to allow the agent to shut down 
		the operation system safely."
	::= {syupsUpsExtension 10}

syupsSaveConfig OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Used to inform the agnet to save the configurations. Its value indicates 
		which  group to be saved. For example, a 1 indicates group 1 (syupsBasicSetting)
		to be saved, a 6 1 indicates group 6 (syupsCoworker) to be saved. You have to 
		use it to save configurations after changing settings, or the settings may be 
		lost."
	::= {syupsUpsExtension 11}

syupsNoOutlets OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The number of controllable outlets."
        ::= {syupsUpsExtension 12}


syupsOutletTable OBJECT-TYPE
       SYNTAX     SEQUENCE OF syupsOutletEntry
       MAX-ACCESS not-accessible
       STATUS     mandatory
       DESCRIPTION
               "A list of outlet table entries.  The number of entries
               is given by the value of syupsNoOutlets."
       ::= {syupsUpsExtension 13}

syupsOutletEntry OBJECT-TYPE
       SYNTAX     SyupsOutletEntry
       MAX-ACCESS not-accessible
       STATUS     mandatory
       DESCRIPTION
               "An entry containing information applicable to a
               particular controllable outlet."
       INDEX { syupsOutletIndex }
       ::= {syupsOutletTable 1}

syupsOutletEntry ::= SEQUENCE {
       syupsOutletIndex              INTEGER,
       syupsOutletDescription        DisplayString (SIZE (0..15)),
       syupsOutletShutdownDelay      INTEGER,
       syupsOutletShutdownDepend     DisplayString (SIZE (0..63))
   }

syupsOutletIndex OBJECT-TYPE
       SYNTAX     INTEGER
       MAX-ACCESS not-accessible
       STATUS     mandatory
       DESCRIPTION
               "The outlet identifier."
       ::= {syupsOutletEntry 1}

syupsOutletDescription OBJECT-TYPE
	SYNTAX	    DisplayString (SIZE (0..15))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
               "The outlet description."
	::= {syupsOutletEntry 2}

syupsOutletShutdownDelay OBJECT-TYPE
       SYNTAX     INTEGER
       MAX-ACCESS read-write
       STATUS     mandatory
       DESCRIPTION
               "The delay time (in seconds) before turning off the outlet. 
                Before turning off the outlet, the agent will send a shutdown 
                command to anyone specified in the syupsOutletShutdownDepend, 
                telling them to start	their shutdown procedure. This delay 
                time is used to allow those cmputers to be shut down safely."
       ::= {syupsOutletEntry 3}

syupsOutletShutdownDepend OBJECT-TYPE
       SYNTAX     DisplayString (SIZE (0..63))
       MAX-ACCESS read-write
       STATUS     mandatory
       DESCRIPTION
               "A string containing those who should perform their shutdown 
		procedure before the outlet turns off. The agent will inform each
		one in the list to begin their shutdown procedure before it turns 
		off the power of the outlet."
       ::= {syupsOutletEntry 4}
       
syupsOutletOperator OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The operator is used to control the outlets. There are two commands:
                1. 'SWITCH: OutletNo, OnOff'. 
                   The OutletNo specify the outlet.
                   The OnOff can be 0 (off) or 1 (on).
                   For example, 'SWITCH: 2, 1' means turning on (1) the outlet #2. 
                   'SWITCH: 4, 0' means turning off (0) the outlet #4. 
                2. 'SET: OutletNo, Desc, DelayTime, Depend'.
                   The OutletNo specify the outlet.
                   The Desc specifies the outlet description.
                   The DelayTime specifies the shutdown delay time for the outlet.
                   The Depend specifies the shutdown dependent list for the outlet.
                   For example, 'SET: 3, My Printer, 20, 192.168.1.9' means setting 
                   the description of outlet #3 to 'My Printer', the shutdown delay 
                   time to 20 seconds and the Shutdown Dependent to '192.168.1.9'."
	::= {syupsUpsExtension 14}

--
-- The Event Action Group
--

syupsEventAction		OBJECT IDENTIFIER ::= {synsoUpsSoftware 3}

syupsNoEventActionEntries OBJECT-TYPE
	SYNTAX	    INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
		"The number of event-action items. This variable indicates 
		the number of rows in the event-action table."
       ::= {syupsEventAction 1}

syupsEventActionTable OBJECT-TYPE
	SYNTAX	SEQUENCE OF SyupsEventActionEntry
	ACCESS 	not-accessible
	STATUS	mandatory
	DESCRIPTION
               "A list of event action entries.  The number of entries
               is given by the value of syupsNoEventActionEntries."
       ::= {syupsEventAction 2}

syupsEventActionEntry OBJECT-TYPE
	SYNTAX  SyupsEventActionEntry
	ACCESS 	not-accessible
	STATUS	mandatory
	DESCRIPTION
               "An entry containing information applicable to a
               particular event action."
       INDEX {syupsEventId}
       ::= {syupsEventActionTable 1}

SyupsEventActionEntry ::= SEQUENCE {
	syupsEventId		INTEGER,
	syupsLogEnable		INTEGER,
	syupsNotifyEnable	INTEGER,
	syupsNotifyDelay	INTEGER,
	syupsNotifyMessage	DisplayString (SIZE(0..63)),
	syupsNotifyPeriod	INTEGER,
	syupsNotifyUsers	DisplayString (SIZE(0..255)),
	syupsEmailEnable	INTEGER,
	syupsEmailDelay		INTEGER,
	syupsEmailMessage	DisplayString (SIZE(0..63)),
	syupsEmailUsers		DisplayString (SIZE(0..255)),
	syupsPageEnable		INTEGER,
	syupsPageDelay		INTEGER,
	syupsPageMessage	DisplayString (SIZE(0..63)),
	syupsPageUsers		DisplayString (SIZE(0..255)),
	syupsCommandEnable	INTEGER,
	syupsCommandDelay	INTEGER,
	syupsCommandFile	DisplayString (SIZE(0..255)),
	syupsShutdownEnable	INTEGER,
	syupsShutdownDelay	INTEGER
}

syupsEventId OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The event ID."
        ::= {syupsEventActionEntry 1}

syupsLogEnable OBJECT-TYPE
	SYNTAX      INTEGER {
           disable(0),
           enable(1)
	}
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Whether to log the event in the log file when it occurs.
		A 1 indicates enable, a 0 indicates disable."
        ::= {syupsEventActionEntry 2}

syupsNotifyEnable OBJECT-TYPE
	SYNTAX      INTEGER {
           disable(0),
           enable(1)
	}
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Whether to notify users when the event occurs. 
		A 1 indicates enable, a 0 indicates disable."
        ::= {syupsEventActionEntry 3}

syupsNotifyDelay OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "How long the event must last before notifying users."
        ::= {syupsEventActionEntry 4}

syupsNotifyMessage OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..63))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The message which will be sent when the event occurs."
	::= {syupsEventActionEntry 5}

syupsNotifyPeriod OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "How often (in seconds) to send the message. The -1 means once."
	::= {syupsEventActionEntry 6}

syupsNotifyUsers OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..255))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Who will receive the message when the event occurs."
	::= {syupsEventActionEntry 7}

syupsEmailEnable OBJECT-TYPE
	SYNTAX      INTEGER {
           disable(0),
           enable(1)
	}
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Whether to email users when the event occurs. 
		A 1 indicates enable, a 0 indicates disable."
        ::= {syupsEventActionEntry 8}

syupsEmailDelay OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "How long the event must last before emailing users."
        ::= {syupsEventActionEntry 9}

syupsEmailMessage OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..63))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The additional message which will be sent when the event occurs."
	::= {syupsEventActionEntry 10}

syupsEmailUsers OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..255))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Who will receive the mail when the event occurs."
	::= {syupsEventActionEntry 11}

syupsPageEnable OBJECT-TYPE
	SYNTAX      INTEGER {
           disable(0),
           enable(1)
	}
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Whether to page users when the event occurs. 
		A 1 indicates enable, a 0 indicates disable."
        ::= {syupsEventActionEntry 12}

syupsPageDelay OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "How long the event must last before paging users."
        ::= {syupsEventActionEntry 13}

syupsPageMessage OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..15))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The message which will be sent when the event occurs."
	::= {syupsEventActionEntry 14}

syupsPageUsers OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..255))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Who will receive the code when the event occurs."
	::= {syupsEventActionEntry 15}

syupsCommandEnable OBJECT-TYPE
	SYNTAX      INTEGER {
           disable(0),
           enable(1)
	}
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Whether to execute the external command file when the event occurs. 
		A 1 indicates enable, a 0 indicates disable."
        ::= {syupsEventActionEntry 16}

syupsCommandDelay OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "How long the event must last before executing the external command file."
        ::= {syupsEventActionEntry 17}

syupsCommandFile OBJECT-TYPE
	SYNTAX      DisplayString (SIZE (0..63))
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The external command file which will be executed when the event occurs."
	::= {syupsEventActionEntry 18}

syupsShutdownEnable OBJECT-TYPE
	SYNTAX      INTEGER {
           disable(0),
           enable(1)
	}
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "Whether to shut down the system when the event occurs. 
		A 1 indicates enable, a 0 indicates disable."
        ::= {syupsEventActionEntry 19}

syupsShutdownDelay OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "How long the event must last before shutting down the system."
        ::= {syupsEventActionEntry 20}


--
-- The History Group
--

syupsHistory		OBJECT IDENTIFIER ::= {synsoUpsSoftware 4}

syupsMaxEventFileLength OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The maximum length (in bytes) of the event log file.
                UPS software will cut the first half of the file whenever
                the file exceeds this maximum length."
	::= {syupsHistory 1}

syupsEventNumRecords OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The total number of records in the event log file."
	::= {syupsHistory 2}

syupsEventTable OBJECT-TYPE
	SYNTAX      SEQUENCE OF SyupsEventEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "A list of event entries.  Each entry represents a record
                in the event log file."
	::= {syupsHistory 3}

syupsEventEntry OBJECT-TYPE
	SYNTAX      SyupsEventEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "An entry representing a record in the event log file."
	INDEX {syupsEventIndex}
	::= {syupsEventTable 1}

SyupsEventEntry ::= SEQUENCE {
	syupsEventIndex   INTEGER,
	syupsEventRecord  DisplayString
}

syupsEventIndex OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The record number of an event entry."
	::= {syupsEventEntry 1}

syupsEventRecord OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The string containing an event entry."
	::= {syupsEventEntry 2}

syupsDataRecordInterval OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The number of minutes to wait between each
                recording to the data log file."
	::= {syupsHistory 4}

syupsMaxDataFileLength OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The maximum length (in bytes) of the data log file.
                UPS software will cut the first half of the file whenever
                the file exceeds this maximum length."
	::= {syupsHistory 5}

syupsDataNumRecords OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The total number of records in the data log file."
	::= {syupsHistory 6}

syupsDataTable OBJECT-TYPE
	SYNTAX      SEQUENCE OF SyupsDataEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "A list of data entries.  Each entry represents a record
                in the data log file."
	::= {syupsHistory 7}

syupsDataEntry OBJECT-TYPE
	SYNTAX      SyupsDataEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "An entry representing a record in the data log file."
	INDEX {syupsDataIndex}
	::= {syupsDataTable 1}

SyupsDataEntry ::= SEQUENCE {
	syupsDataIndex   INTEGER,
	syupsDataRecord  DisplayString
}

syupsDataIndex OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The record number of a data entry."
	::= {syupsDataEntry 1}

syupsDataRecord OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The string containing a data entry."
	::= {syupsDataEntry 2}

syupsHistoryOperator OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The operator which is used to operate on the
                history file.  The command format is
                'Command, File, Range'.  So far, Command can be
                PURGE, File can be EVENT or DATA, and Range can be
                ALL or 'mm/dd/year..mm/dd/year'.  For example,
                'PURGE, EVENT, ALL' tells the UPS software to purge
                all entries in the event log file.  And
                'PURGE, DATA, 03/20/1995..07/02/1995' tells the UPS
                software to purge the entries which are recorded
                form 03/20/1995 to 07/20/1995 from the event log
                file."
	::= {syupsHistory 8}

syupsScopeSettings OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The string contains the settings for UPS Scope Chart,
                including Value Original Point, Value Unit, Time Unit,
                Time Interval, and Display Items.  The format for the
                settings string is '%d, %d, %d, %d, %d'.  Display Items can
                be any one or any combination of the following items:
                        SCOPE_INPUT_VOLT                0x0001
                        SCOPE_OUTPUT_VOLT               0x0010
                        SCOPE_INPUT_FREQ                0x0100
                        SCOPE_OUTPUT_FREQ               0x1000
                "
        ::= {syupsHistory 9}



--
-- The Schedule Group
--

syupsSchedule	OBJECT IDENTIFIER ::= {synsoUpsSoftware 5}

syupsNoSchEntries OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
		"The total number of schedule entries."
	::= {syupsSchedule 1}

syupsSchOperator OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The operator which is used to operate on the
                schedule table.  There are three commands:
                1.  'ADD: action, mm/dd/yyyy, hh:mm:ss,
                    week_day, repeat' indicates to add a new entry
                    to the schedule list.
                2.  'REPLACE: i, action, mm/dd/yyyy, hh:mm:ss,
                    week_day, repeat' indicates to replace the
                    i-th entry in the table with the new settings.
                3.  'DELETE:n1, n2' indicates to delete the entries
                    ranging from number n1 to number n2 from the schedule
                    table.
                'action' could be the following:
			General System Test (1)
                	Quick Battery Test (2) 
			Deep Battery Test (3)
			Turn On UPS (11)
			Turn Off UPS (21)
			Turn On Outlet (100+x)
			Turn Off Outlet (200+x)
		where x indicates the outlet number.
		'mm/dd/year' and 'hh:mm:ss' specify the action's 
                starting time. 'repeat' indicates the frequency
                of the action, it could be Once(1), Daily(2),
                Weekly(3) and Monthly(4).  'week_day' indicating the
                day of week is meaningful only when the repeat is
                set to Weekly, and it could be Sun(0), Mon(1), ...,
                and Sat(6).
                For example, '1, 07/08/1994, 15:30:00, 0, 4'
                indicates that the UPS will do a General System Test
                at 3:30 PM every month from July 8, 1994.
                '203, 06/20/1995, 07:00:00, 0, 1' indicates that the UPS
                will turn off outlet #3 at 7 o'clock on June 20, 1995 and 
		do it only once."
	::= {syupsSchedule 2}

syupsSchTable OBJECT-TYPE
	SYNTAX      SEQUENCE OF SyupsSchEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "A list of schedule entries."
	::= {syupsSchedule 3}

syupsSchEntry OBJECT-TYPE
	SYNTAX      SyupsSchEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "A schedule entry."
	INDEX {syupsSchIndex}
	::= {syupsSchTable 1}

SyupsSchEntry ::= SEQUENCE {
	syupsSchIndex   	INTEGER,
	syupsSchStartDate	DisplayString,
	syupsSchStartTime	DisplayString,
	syupsSchWeekDay		INTEGER,
	syupsSchAction		INTEGER,
	syupsSchRepeat		INTEGER
}

syupsSchIndex OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The entry number of a schedule setting."
	::= {syupsSchEntry 1}

syupsSchStartDate	OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The starting date (mm/dd/yyyy) of the schedule entry."
	::= {syupsSchEntry 2}

syupsSchStartTime	OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The starting time (hh:mm:ss) of the schedule entry."
	::= {syupsSchEntry 3}

syupsSchWeekDay OBJECT-TYPE
	SYNTAX      INTEGER {
	   	sunday(0), 
		monday(1),
	   	tuesday(2), 
		wednesday(3),
		thursday(4),
		friday(5),
		saturday(6)
	}
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The starting day of week for the schedule entry. It could
		be Sun(0), Mon(1), ..., and Sat(6). It is used when syupsSchRepeat 
		is set to weekly."
	::= {syupsSchEntry 4}

syupsSchAction OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The action of the schedule entry. It could be:
			General System Test (1)
                	Quick Battery Test (2) 
			Deep Battery Test (3)
			Turn On UPS (11)
			Turn Off UPS (21)
			Turn On Outlet (100+x)
			Turn Off Outlet (200+x)
		where x indicates the outlet number."
	::= {syupsSchEntry 5}

syupsSchRepeat OBJECT-TYPE
	SYNTAX      INTEGER {
		once(1), 
		daily(2), 
		weekly(3),
		monthly(4)
	}
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "It indicates the frequency of the action, it could be 
		Once(1), Daily(2), Weekly(3) and Monthly(4)."
	::= {syupsSchEntry 6}


--
-- The Co-worker Group
--

syupsCoworker             OBJECT IDENTIFIER ::= {synsoUpsSoftware 6}

syupsNoAccessControl OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The total number of access control entries."
        ::= {syupsCoworker 1}

syupsAccessControlOperator OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The operator which is used to operate on the
                access control table.  There are three commands:
                1.  'ADD: community' indicates
                    to add a new entry to the access control list.
                2.  'REPLACE: x, community'
                    indicates to replace the x-th entry in the table
                    with the new settings.
                3.  'DELETE:n1, n2' indicates to delete the entries
                    from number n1 to number n2 from the access control
                    table."
        ::= {syupsCoworker 2}

syupsAccessControlTable OBJECT-TYPE
	SYNTAX      SEQUENCE OF SyupsAccessControlEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "A list of access control entries.  Only entries in this list
                can have access to the agent."
        ::= {syupsCoworker 3}

syupsAccessControlEntry OBJECT-TYPE
	SYNTAX      SyupsAccessControlEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "An access control entry."
        INDEX {syupsAccessControlIndex}
        ::= {syupsAccessControlTable 1}

SyupsAccessControlEntry ::= SEQUENCE {
        syupsAccessControlIndex           INTEGER,
        syupsAccessControlSetting         DisplayString
}

syupsAccessControlIndex OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The entry number of a access control setting."
        ::= {syupsAccessControlEntry 1}

syupsAccessControlSetting OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "A string containing the community name."
        ::= {syupsAccessControlEntry 2}


syupsNoTrapReceiver OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The total number of trap receiver entries."
        ::= {syupsCoworker 4}

syupsTrapReceiverOperator OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-write
	STATUS      mandatory
	DESCRIPTION
                "The operator which is used to operate on the
                trap receiver table.  There are three commands:
                1.  'ADD: ipAddress' indicates to add a new
                    entry to the trap receiver list.
                2.  'REPLACE: x, ipAddress' indicates to replace
                    the x-th entry in the table with the new settings.
                3.  'DELETE:n1, n2' indicates to delete the entries
                    from number n1 to number n2 from the trap receiver
                    table."
        ::= {syupsCoworker 5}

syupsTrapReceiverTable OBJECT-TYPE
	SYNTAX      SEQUENCE OF SyupsTrapReceiverEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "A list of trap receiver entries.  When an important event
                occurs, the agent will send traps to all the entries in the
                list."
        ::= {syupsCoworker 6}

syupsTrapReceiverEntry OBJECT-TYPE
	SYNTAX      SyupsTrapReceiverEntry
	ACCESS      not-accessible
	STATUS      mandatory
	DESCRIPTION
                "An trap receiver entry."
        INDEX {syupsTrapReceiverIndex}
        ::= {syupsTrapReceiverTable 1}

SyupsTrapReceiverEntry ::= SEQUENCE {
        syupsTrapReceiverIndex            INTEGER,
        syupsTrapReceiverSetting          DisplayString
}

syupsTrapReceiverIndex OBJECT-TYPE
	SYNTAX      INTEGER
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "The entry number of a trap receiver setting."
        ::= {syupsTrapReceiverEntry 1}

syupsTrapReceiverSetting OBJECT-TYPE
	SYNTAX      DisplayString
	ACCESS      read-only
	STATUS      mandatory
	DESCRIPTION
                "A string containing a trap receiver's IP address."
        ::= {syupsTrapReceiverEntry 2}


--
-- notifications, i.e., traps
--
syupsTraps              OBJECT IDENTIFIER ::= { synsoUpsSoftware 7 }

-- This section defines the extension notifications sent by
-- UPS agents.

syupsTrapOverTemperature NOTIFICATION-TYPE
       OBJECTS { upsBatteryTemperature }
       STATUS  current
       DESCRIPTION
               "The battery temperature is too high. This trap is
               persistent and is resent at one minute intervals until
               the UPS either turns off or the status is no longer 
               present."
     ::= { syupsTraps 1 }

syupsTrapOverCurrent NOTIFICATION-TYPE
       OBJECTS { upsInputCurrent }
       STATUS  current
       DESCRIPTION
               "The current is too high. This trap is
               persistent and is resent at one minute intervals until
               the UPS either turns off or the status is no longer 
               present."
     ::= { syupsTraps 2 }

syupsTrapOverVoltage NOTIFICATION-TYPE
       OBJECTS { upsInputVoltage }
       STATUS  current
       DESCRIPTION
               "The voltage is too high. This trap is
               persistent and is resent at one minute intervals until
               the UPS either turns off or the status is no longer 
               present."
     ::= { syupsTraps 3 }

syupsTrapUnderVoltage NOTIFICATION-TYPE
       OBJECTS { upsInputVoltage }
       STATUS  current
       DESCRIPTION
               "The voltage is too low. This trap is
               persistent and is resent at one minute intervals until
               the UPS either turns off or the status is no longer 
               present."
     ::= { syupsTraps 4 }

syupsOffFrequency NOTIFICATION-TYPE
       OBJECTS { upsInputFrequency }
       STATUS  current
       DESCRIPTION
               "The frequency is abnormal. This trap is
               persistent and is resent at one minute intervals until
               the UPS either turns off or the status is no longer 
               present."
     ::= { syupsTraps 5 }

syupsLowBattery NOTIFICATION-TYPE
       OBJECTS { upsBatteryStatus, upsBatteryVoltage }
       STATUS  current
       DESCRIPTION
               "The battery is too low. This trap is
               persistent and is resent at one minute intervals until
               the UPS either turns off or the status is no longer 
               present."
     ::= { syupsTraps 6 }

syupsBadBattery NOTIFICATION-TYPE
       OBJECTS { upsBatteryStatus, upsBatteryVoltage }
       STATUS  current
       DESCRIPTION
               "The battery is bad. This trap is
               persistent and is resent at one minute intervals until
               the UPS either turns off or the status is no longer 
               present."
     ::= { syupsTraps 7 }

END