forked from tjko/nxgipd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nxgipd.conf
150 lines (113 loc) · 3.61 KB
/
nxgipd.conf
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
<?xml version="1.0"?>
<configuration>
<!-- serial port configuration -->
<serial>
<device>/dev/ttyS0</device>
<speed>9600</speed>
<protocol>ascii</protocol>
</serial>
<alarm>
<!-- max no. of partitions supported,
Set this based on the alarm panel mode:
NX-8E 8
NX-8 8
NX-6 2
NX-4 1
Set to 0 to enable auto detection of partitions.
-->
<partitions>0</partitions>
<!-- max no. of zones supported
Set this based on the alarm panel model:
NX-8E 192
NX-8 48
NX-6 16
NX-4 8
Set to 0 to enable auto detection of zones.
-->
<zones>0</zones>
<!-- panel status check interval (minutes) -->
<statuscheck>30</statuscheck>
<!-- time synchronization interval (hours), set 0 to disable -->
<timesync>168</timesync>
</alarm>
<!-- logging configuration
logging tresholds:
0 = minimal logging
1 = normal logging
2 = verbose logging
3 = very verbose logging (log serial I/O)
4 = full logging
-1 = disable logging target
-->
<!-- syslog: set logging treshold for syslog -->
<syslog>1</syslog>
<!-- log: set logging treshold for log file -->
<log>2</log>
<!-- specify which events trigger running the alarm program -->
<triggers>
<!-- logentry: specify which log entries trigger alarm program
0 = none
1 = reporting log entries (alarm, alarm restore, etc..)
2 = reporting log entries + open and close (non-reporting log entries)
3 = all log entrie (reporting or non-reporting)
-->
<logentry>0</logentry>
<!-- partitionstatus: specify which partition status changes trigger alarm program
0 = none
1 = all except "Ready" and "Not Ready".
2 = all
-->
<partitionstatus>0</partitionstatus>
<!-- zonestatus: specify which zone status changes trigger alarm program
0 = none
1 = only zone "Fault", "Trouble", or "Tamper"
2 = all
-->
<zonestatus>0</zonestatus>
<!-- maxprocesses: limit number of concurrent trigger processes,
this can be used as fail-safe if trigger
program is hanging (etc) so not to run system
out of memory or processes
0 = no limit (disabled)
n = do not start any more trigger processes if there
is already n such processess (still) running
-->
<maxprocesses>0</maxprocesses>
</triggers>
<!-- IPC Shared Memory and Message Queue settings -->
<shm>
<!-- shared memory segment settings -->
<shmkey>0xf00f0042</shmkey>
<shmmode>0640</shmmode>
<!--
<shmuser>root</shmuser>
-->
<!--
<shmgroup>operator</shmgroup>
-->
<!-- message queue settings -->
<msgkey>0xf00f0042</msgkey>
<msgmode>0660</msgmode>
<!--
<msguser>root</msguser>
-->
<!--
<msggroup>operator</msggroup>
-->
</shm>
<!-- file locations -->
<!-- directory: default directory for files (unless filename is specified
as absolute filename)
-->
<directory>/usr/local/nxgipd</directory>
<!-- logfile: specify log file location -->
<logfile>nxgipd.log</logfile>
<!-- statusfile: specify file to save system state -->
<statusfile>alarmstatus.xml</statusfile>
<!-- savestatus: specify time interval (in minutes) to save/update statusfile -->
<savestatus>1440</savestatus>
<!-- alarmprogram: specify program to run when an event is detected -->
<!--
<alarmprogram>alarm-program.sh</alarmprogram>
-->
</configuration>