-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjon_agent_configuration.xml
1192 lines (1025 loc) · 61.5 KB
/
jon_agent_configuration.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
<!--
==============================================================================
RHQ Agent Configuration
This configuration file defines the initial defaults for an agent that is not
yet fully configured. Once the agent is completely configured (e.g. when
you answer the setup questions asked by the agent when it starts up the
very first time), this configuration file is no longer read or used to define
the agent's behavior.
After you provide the agent the answers to the setup questions, it will store
the configuration in Java Preferences and will thereafter no longer need this
configuration file. See the Java documentation on the Java Preferences API
for more information as to where the persisted configuration is stored for
your particular platform the agent is running on.
When you start the agent for the very first time it will not yet have any
configuration preferences defined. It is only under this condition when this
configuration file is actually used automatically by the agent.
Please keep this in mind whenever you make changes to this configuration file
(to be more clear - do not assume that when you change this file that the
agent's configuration will actually change - it normally will not).
If you do want to change the agent's configuration by making changes to this
file, you must tell the agent to re-configure itself with the file by
passing in the command line option "-c agent-configuration.xml".
If you want to fully configure the agent with this configuration file and
not be asked those setup questions (even during the very first time you
start the agent) make sure that you set the configuration preference named
"rhq.agent.configuration-setup-flag" to the value of "true" in this file
(of course, if you do this, you must make sure this configuration file
contains all valid configuration for all settings since you opted not to be
asked the setup questions).
If you are interested in learning about additional ways in which you can
configure the agent, please see the help documentation on the agent prompt
commands named "config", "setconfig" and "setup" and the command line options
-l (cleanconfig), -c (config), -p (prefs), -s (setup) and -a (advanced).
==============================================================================
-->
<preferences EXTERNAL_XML_VERSION="1.0">
<root type="user">
<map />
<node name="rhq-agent">
<map />
<node name="${rhq.agent.preferences-node}">
<map>
<!--
_______________________________________________________________
rhq.agent.configuration-schema-version
Defines what version of the agent configuration schema this
file conforms to. This is the schema for the rhq.agent
preferences.
-->
<entry key="rhq.agent.configuration-schema-version" value="9" />
<!--
_______________________________________________________________
rhq.agent.configuration-setup-flag
If true, the agent will assume it is fully configured and
will not ask setup questions when it starts up. If false,
the agent assumes the configuration is not complete and
will ask a series of setup questions to the user in order
to be fully configured.
If you write your own custom agent configuration file, you
will probably want to set this flag to true since you
probably will set all of your configuration right in the
configuration file itself. However, you may wish to
distribute agent configuration files with only a subset
of configuration preferences set and rely on each agent's
startup setup mechanism to finish its configuration - in this
case, you'll want to leave this as false.
-->
<!--
<entry key="rhq.agent.configuration-setup-flag" value="false" />
-->
<entry key="rhq.agent.configuration-setup-flag" value="false" />
<!--
_______________________________________________________________
rhq.agent.name
Explicitly defines what the agent's name is. This will
default to the agent's fully qualified domain name (that is,
the FQDN of the platform where the agent is running). However,
you can set this to any value you want, so long as it is
unique among all other agents. You will need to explicitly set
this if the agent platform's FQDN cannot be reliably determined
at runtime.
-->
<!--
<entry key="rhq.agent.name" value="my.hostname.com"/>
-->
<!--
_______________________________________________________________
rhq.agent.server.transport
rhq.agent.server.bind-address
rhq.agent.server.bind-port
rhq.agent.server.transport-params
rhq.agent.server.alias
The RHQ Server endpoint configuration.
Note that because this is an XML file, you must specify
"&" in the transport-params value when needing an ampersand
to separate the transport parameters.
Note that the server address is left undefined - the agent
will default to the DNS alias (see rhq.agent.server.alias)
and if that is not defined, it will default to the localhost
or 127.0.0.1.
-->
<entry key="rhq.agent.server.transport" value="servlet" />
<entry key="rhq.agent.server.bind-port" value="7080" />
<!--
<entry key="rhq.agent.server.bind-address" value="127.0.0.1" />
-->
<entry key="rhq.agent.server.bind-address" value="jon-server" />
<entry key="rhq.agent.server.transport-params" value="/jboss-remoting-servlet-invoker/ServerInvokerServlet/?generalizeSocketException=true" />
<entry key="rhq.agent.server.alias" value="rhqserver" />
<!--
_______________________________________________________________
rhq.agent.server-auto-detection
If true, the agent will attempt to auto-detect the RHQ Server
coming online and going offline. This is more efficient
than server polling but it requires multicast traffic to be
enabled on your network and also requires the multicast
detector be enabled.
-->
<entry key="rhq.agent.server-auto-detection" value="false" />
<!--
_______________________________________________________________
rhq.agent.register-with-server-at-startup
If true, the agent will attempt to register itself with the
RHQ Server when the agent starts up. If false, the agent will
not automatically register itself at startup; the agent must
be manually registered via some other mechanism (e.g. the
'register' prompt command). The agent must be registered
at least once in order to notify the RHQ Server about its
existence and to assign the agent a valid security token.
Note that even if this is true, the registration may not happen
immediately if the RHQ Server itself is not up - once the RHQ
Server comes up, the registration attempt will occur.
-->
<entry key="rhq.agent.register-with-server-at-startup" value="true" />
<!--
_______________________________________________________________
rhq.agent.wait-for-server-at-startup-msecs
This defines how many milliseconds the agent should wait at
startup for the RHQ Server to be detected. If the RHQ Server
has not started up in the given amount of time, the agent will
continue initializing and expect the server to come up later.
If this is 0, the agent will not wait at all.
-->
<entry key="rhq.agent.wait-for-server-at-startup-msecs" value="60000" />
<!--
_______________________________________________________________
rhq.agent.update-plugins-at-startup
If true, the agent will attempt to update its current set
of plugins to their latest versions at startup. If false, the
agent will not automatically update the plugins; the agent
will use its current plugins. To update the plugins, you must
manually do so via some other mechanism (e.g. the
'plugins' prompt command).
Note that even if this is true, the update may not happen
immediately if the RHQ Server itself is not up - once the RHQ
Server comes up, the update attempt will occur.
-->
<entry key="rhq.agent.update-plugins-at-startup" value="true" />
<!--
_______________________________________________________________
rhq.agent.test-failover-list-at-startup
If true, the agent will test connectivity to all server
endpoints found in the agent's failover list. This helps
provide a mechanism to quickly detect problems with the
public endpoints configured for all RHQ Servers.
The default is false.
-->
<entry key="rhq.agent.test-failover-list-at-startup" value="true" />
<!--
_______________________________________________________________
rhq.agent.agent-update.enabled
If true, the agent will be allowed to update itself if it
finds there is a new agent update binary available.
If this feature is not enabled, the agent will never
be allowed to update itself.
-->
<entry key="rhq.agent.agent-update.enabled" value="true" />
<!--
_______________________________________________________________
rhq.agent.agent-update.version-url
If this is defined, it will be the URL the agent uses when it
needs to retrieve information about the latest available
agent update binary. If this is not defined, the agent will
ask its server for the agent update binary version information.
-->
<!--
<entry key="rhq.agent.agent-update.version-url" value="http://127.0.0.1:7080/agentupdate/version" />
-->
<!--
_______________________________________________________________
rhq.agent.agent-update.download-url
If this is defined, it will be the URL the agent uses when it
needs to download the latest available agent update binary.
If this is not defined, the agent will download the agent
update binary from its server.
-->
<!--
<entry key="rhq.agent.agent-update.download-url" value="http://127.0.0.1:7080/agentupdate/download" />
-->
<!--
_______________________________________________________________
rhq.agent.primary-server-switchover-check-interval-msecs
The agent will periodically check to ensure that the server
it is connected to is its primary server (as opposed to one
of its failover servers). This preference defines how many
milliseconds the agent should wait in between these checks.
A side-effect of this check is that the agent will also
download an updated version of its failover list. So if
new servers have been added to the cloud, the agent will
now know about it.
If this is 0, this check is never performed. You should never
set this to 0 unless your agent will never participate in
an RHQ HA environment.
-->
<entry key="rhq.agent.primary-server-switchover-check-interval-msecs" value="3600000" />
<!--
_______________________________________________________________
rhq.agent.vm-health-check.interval-msecs
The agent will periodically check the health of its JVM if
this preference is larger than 0. This check will allow the
agent to attempt to correct possibly fatal problems that are
detected (such as the JVM getting critically low on memory).
The value of this preference, if larger than 0, is the number
of milliseconds the agent should wait in between checks.
-->
<entry key="rhq.agent.vm-health-check.interval-msecs" value="5000" />
<!--
_______________________________________________________________
rhq.agent.vm-health-check.low-heap-mem-threshold
rhq.agent.vm-health-check.low-nonheap-mem-threshold
The threshold percentage (as a floating decimal) that must be
crossed if the agent's VM health check thread is to consider
the JVM with critically low memory. For example, if
the agent's maximum heap size is 100MB and the heap
threshold is set to 0.90, the agent's VM health check thread
will consider the agent critically low on memory if the agent
is using over 90MB of heap space.
Note that the heap and non-heap memory thresholds are specified
as separate preferences.
-->
<entry key="rhq.agent.vm-health-check.low-heap-mem-threshold" value="0.90" />
<entry key="rhq.agent.vm-health-check.low-nonheap-mem-threshold" value="0.90" />
<!--
_______________________________________________________________
rhq.agent.data-directory
Location of a directory where the agent can write its internal
cache of data.
-->
<entry key="rhq.agent.data-directory" value="data" />
<!--
_______________________________________________________________
rhq.agent.client.queue-size
The maximum size of the client command queue - this is the
maximum number of commands that can be queued for sending to
the server. If this is 0, then the queue is unbounded.
WARNING! Setting this to 0 could lead to resources being used
up if for some reason commands keep getting queued but are
not getting sent.
-->
<entry key="rhq.agent.client.queue-size" value="50000" />
<!--
_______________________________________________________________
rhq.agent.client.max-concurrent
The maximum number of concurrent commands that can be in the
process of being sent to the server at any one time.
-->
<entry key="rhq.agent.client.max-concurrent" value="5" />
<!--
_______________________________________________________________
rhq.agent.client.command-timeout-msecs
The time in milliseconds that the client sender will wait
before aborting a command. This is the amount of time in
milliseconds that the server has in order to process commands.
This value is only the default if a command has not specified
its own timeout. A command can override this by setting its
own timeout in the command's configuration, so this value may
not be used for all commands that are sent. If this value is
less than or equal to 0, there will be no default timeout
and commands will therefore be allowed to take as long as they
need (again, this is the default, individual commands may
override this and set their own timeout). While this infinite
timeout default could conceivably cause a thread to hang
waiting for a rogue command that never finishes, it also reduces
the amount of threads created by the system and may
slightly increase throughput.
-->
<entry key="rhq.agent.client.command-timeout-msecs" value="600000" />
<!--
_______________________________________________________________
rhq.agent.client.retry-interval-msecs
This is the minimum amount of time, in milliseconds, the client
sender will wait before trying to resend a guaranteed command
that previously failed. This is not a guarantee of when
a command is retried - all that can be inferred is that a
command that fails to be sent will not be retried until at
least this amount of time passes.
Note: if the sender is currently waiting in this retry pause
period, the agent will not be able to be shutdown until that
retry period is over. In other words, if the agent is asked
to shutdown, it will wait for those commands waiting in this
retry interval to wake up. This is to help ensure those
commands are not lost. Keep this time period short enough
to make agent shutdowns fairly responsive but long enough
to avoid spinning the process with continuous resending of
commands during periods of RHQ Server downtime. It is
recommended to use auto-detection or server polling in order
to automatically stop the client sender from continuously
trying to retry commands during long periods of RHQ
Server downtime.
-->
<entry key="rhq.agent.client.retry-interval-msecs" value="15000" />
<!--
_______________________________________________________________
rhq.agent.client.max-retries
If a guaranteed delivery message is sent, but the agent fails
to connect to the server and deliver the message, it will
always be retried. However, if the error was something other
than a "cannot connect" error, the command will only be retried
this amount of times before the command is dropped. When this
happens, the guaranteed command will never be delivered. This
will normally happen under very odd and rare circumstances.
Also, this setting only effects asynchronous messages that
are sent with guaranteed delivery. This setting has no effect
on other messages.
-->
<entry key="rhq.agent.client.max-retries" value="10" />
<!--
_______________________________________________________________
rhq.agent.client.server-polling-interval-msecs
If this value is larger than 0, it indicates the client sender
should periodically poll the RHQ Server to make sure it's still
up or (if it was down) see when it comes back up. The value is
the number of milliseconds to wait in between polls. If the
value is 0 or less, server polling is disabled. Server polling
is less efficient that the agent's auto-detection mechanism,
but server polling does not use multicasting, and thus might
be the only way for the agent to detect the server.
-->
<entry key="rhq.agent.client.server-polling-interval-msecs" value="60000" />
<!--
_______________________________________________________________
rhq.agent.client.command-spool-file.name
This defines the name of the command spool file. This
file must be located in the data directory (if one does not
exist, it will be created). Note that if you do not define
this setting, the default is to not spool commands to disk
and thus implicitly disable guaranteed delivery.
-->
<entry key="rhq.agent.client.command-spool-file.name" value="command-spool.dat" />
<!--
_______________________________________________________________
rhq.agent.client.command-spool-file.params
This defines the parameters for the command spool file.
The spool file is where the agent persists commands that
are flagged for guaranteed delivery and need to be sent.
The format is defined as "max-file-size:purge-percentage".
The first number is the size, in bytes, of the maximum file
size threshold. If the spool file grows larger than this, a
"purge" will be triggered in order to shrink the file.
The second number is the purge percentage which indicates how
large the file is allowed to be after a purge. This is
specified as a percentage of the first parameter - the max
file size threshold. For example, if the max file size is
100000 (i.e. 100KB) and the purge percentage is 90, then when
the spool file grows larger than 100KB, a purge will be
triggered and the file will be shrunk to no more than
90% of 100KB - which is 90KB. In effect, 10KB will be freed
to allow room for new commands to be spooled. When this
occurs, unused space is freed first and if that does not
free up enough space, the oldest commands in the spool file
will be sacrificed in order to make room for the newer
commands.
-->
<entry key="rhq.agent.client.command-spool-file.params" value="10000000:75" />
<!--
_______________________________________________________________
rhq.agent.client.command-spool-file.compressed
If this flag is true, the commands stored in the spool file
will be compressed. This can potentially save about 30%-40% in
disk space (give or take), however, it slows down the
persistence mechanism considerably. Recommended setting for
this should be true unless something on the agent deployment
box warrants persistence performance over disk-saving . The
performance hit will only appear when unusual conditions occur,
such as shutting down while some guaranteed commands have not
been sent yet or if the RHQ Server is down. It will not affect
the agent under normal conditions (while running with the RHQ
Server up and successfully communicating with the agent).
In those unusual/rare conditions, having performance degradation
may not be as important.
-->
<entry key="rhq.agent.client.command-spool-file.compressed" value="true" />
<!--
_______________________________________________________________
rhq.agent.client.send-throttling
If this setting is defined, it will enable send throttling to
occur while sending commands to the server. The format is
defined as "max-commands:quiet-period-milliseconds"
where the maximum commands defines the maximum number
of commands that will be sent before the start of a quiet
period. The quiet period defines the number of milliseconds
in which no commands should be sent. After this duration
expires, commands can again be sent, up to the maximum defined.
Note that send throttling only affects those commands that
are "throttle-able". Some commands are sent as soon as
possible, regardless of the throttling settings.
This affects sending commands synchronously and asynchronously.
-->
<entry key="rhq.agent.client.send-throttling" value="100:1000" />
<!--
_______________________________________________________________
rhq.agent.client.queue-throttling
If this setting is defined, it will enable queue throttling to
occur while sending commands to the server. The format is
defined as "max-commands-per-burst:burst-period-milliseconds"
where the maximum commands per burst defines the maximum number
of commands that can be dequeued within a burst period. The
burst period defines the number of milliseconds in which the
defined maximum number of commands can be dequeued. If more
than the maximum number of commands are queued within this
time period, they will wait until the next burst period starts
before being able to be dequeued.
This does not affect sending commands synchronously. It only
effects commands queued to be sent asynchronously.
-->
<entry key="rhq.agent.client.queue-throttling" value="200:2000" />
<!--
_______________________________________________________________
rhq.agent.client.command-preprocessors
Defines what class or classes will handle preprocessing of all
commands that are sent by the agent. To define multiple
classes, separate them with colon characters (:).
You should never have to change this unless you know what
you are doing.
-->
<entry key="rhq.agent.client.command-preprocessors" value="org.rhq.enterprise.agent.SecurityTokenCommandPreprocessor:org.rhq.enterprise.agent.ExternalizableStrategyCommandPreprocessor" />
<!--
_______________________________________________________________
rhq.agent.disable-native-system
The agent has a native system (JNI native libraries) on certain
supported platforms to help the plugin container perform
discovery of native components on those platforms. If the
native libraries are causing errors within the agent or if you
simply do not want to load native components in the agent,
you can disable this native system by setting this preference
setting to true.
-->
<entry key="rhq.agent.disable-native-system" value="false"/>
<!--
_______________________________________________________________
rhq.agent.plugins.directory
Defines where the plugins can be located.
-->
<entry key="rhq.agent.plugins.directory" value="plugins"/>
<!--
_______________________________________________________________
rhq.agent.plugins.operation-invocation-timeout-secs
When an operation is invoked, it will be aborted if it takes
longer than the given amount of seconds. This is just the
default operation invocation timeout - a plugin can override
this default by defining its own timeout in the operation
metadata within its plugin descriptor.
-->
<!--
<entry key="rhq.agent.plugins.operation-invocation-timeout-secs" value="600"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.operation-invoker.threadpool-size
When an operation is to be invoked, the execution of the
operation will be performed by threads from a thread pool.
This defines the number of threads within that thread pool,
effectively defining the number of operations that can be
invoked concurrently.
-->
<!--
<entry key="rhq.agent.plugins.operation-invoker.threadpool-size" value="5"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.server-discovery.initial-delay-secs
Defines the delay before the first server discovery scan is
run. The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.server-discovery.initial-delay-secs" value="10"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.server-discovery.period-secs
Defines how often a server discovery scan is run. This type
of scan is used to determine changes in the platform
as well as to find new servers that have been added or
old server that have been removed. The value is specified
in seconds.
-->
<!--
<entry key="rhq.agent.plugins.server-discovery.period-secs" value="900"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.service-discovery.initial-delay-secs
Defines the delay before the first service discovery scan is
run. The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.service-discovery.initial-delay-secs" value="20"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.service-discovery.period-secs
Defines how often a service discovery scan is run. This type
of scan is used to find new services that have been added or
removed from existing platforms and servers. Technically,
this kind of discovery is used to find any child resource
to an existing parent resource (like a platform or server).
The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.service-discovery.period-secs" value="86400"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.child-discovery.delay-secs
Defines the delay between merging newly committed or modified resources with
the inventory and kicking off a discovery to discover their child resources.
Once the RHQ administrator imports a server or platform into the inventory,
or a connection settings change is made on a resource, the agent is notified
about that action and such resources are "merged" into the agent's inventory
with a "committed" status and updated details.
This setting defines the delay between the agent notifying such change and
performing the discovery to find if the change made any difference in the
children of the resources in question.
Note that in the case of newly imported resources, their immediate children
are discovered immediately. It is only the further levels that are governed
by this setting.
The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.child-discovery.delay-secs" value="5"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.availability-scan.initial-delay-secs
Defines the delay before the first availability scan is
run. The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.availability-scan.initial-delay-secs" value="5"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.availability-scan.period-secs
Defines how often an availability scan is run. This type
of scan is used to determine what resources are up and running
and what resources have gone down. The value is specified in
seconds.
-->
<!--
<entry key="rhq.agent.plugins.availability-scan.period-secs" value="30"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.availability-scan.threadpool-size
The number of threads that can be concurrently scanning
resource availabilities.
-->
<!--
<entry key="rhq.agent.plugins.availability-scan.threadpool-size" value="100"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.measurement-collection.threadpool-size
When measurement's are scheduled for collection, the collection
will be performed by threads from a thread pool. This defines
the number of threads within that thread pool, effectively
defining the number of measurements that can be collected
concurrently.
-->
<!--
<entry key="rhq.agent.plugins.measurement-collection.threadpool-size" value="5"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.measurement-collection.initial-delay-secs
Defines the delay before the first measurement collection is
run. The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.measurement-collection.initial-delay-secs" value="30"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.drift-detection.initial-delay-secs
Defines the delay before the first drift detection scan is
run. The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.drift-detection.initial-delay-secs" value="30"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.drift-detection.period-secs
Defines how often a drift detection scan is run. This type
of scan is used to determine what, if any, file changes (such
as additions, deletions, modifications) occurred within
specific file system locations that are being monitored.
If this value is 0 or less, drift detection will be disabled.
-->
<!--
<entry key="rhq.agent.plugins.drift-detection.period-secs" value="60"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.content-discovery.threadpool-size
When plugins are scheduled to discover content, the discovery
will be performed by threads from a thread pool. This defines
the number of threads within that thread pool.
-->
<!--
<entry key="rhq.agent.plugins.content-discovery.threadpool-size" value="10"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.content-discovery.initial-delay-secs
Defines the delay before the first content discovery is
run. The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.content-discovery.initial-delay-secs" value="60"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.content-discovery.period-secs
Defines how often content discoveries are run. The value is
specified in seconds. If this value is 0 or less, content
discovery will be disabled. Content discovery is used to
detect new or changed content that are associated with
resources in inventory.
-->
<!--
<entry key="rhq.agent.plugins.content-discovery.period-secs" value="30"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.configuration-discovery.initial-delay-secs
Defines the delay before the first configuration discovery is
run. The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.configuration-discovery.initial-delay-secs" value="300"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.configuration-discovery.interval-secs
Defines how often configuration discoveries are run. The value
is specified in seconds. If this value is 0 or less,
configuration discovery will be disabled. Configuration
discovery is performed to detect changes in a managed resource's
configuration settings. Note that not every resource is
necessarily checked on each run. See the other
configuration-discovery settings for more information.
-->
<!--
<entry key="rhq.agent.plugins.configuration-discovery.interval-secs" value="120"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.configuration-discovery.period-secs
Defines the period of time following a configuration check
before the same resource is eligible for another configuration
check. The value is specified in seconds. If this value is 0 or
less, configuration discovery will be disabled. Configuration
discovery is performed to detect changes in a managed resource's
configuration settings.
-->
<!--
<entry key="rhq.agent.plugins.configuration-discovery.period-secs" value="3600"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.configuration-discovery.limit-secs
Defines the amount of time after which a configuration check
will stop and defer remaining work to the next discovery run.
The value is specified in seconds. This is not a timeout, the
check may exceed this time to finish work in progress but will
likely not exceed it by very much.
-->
<!--
<entry key="rhq.agent.plugins.configuration-discovery.limit-secs" value="10"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.event-sender.initial-delay-secs
Defines the delay before the first event report gets sent
to the server. The value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.event-sender.initial-delay-secs" value="30"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.event-sender.period-secs
Defines how often event reports get sent to the server. The
value is specified in seconds.
-->
<!--
<entry key="rhq.agent.plugins.event-sender.period-secs" value="30"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.event-report.max-per-source
Defines the maximum number of events for any given event source
that can be placed in a single event report that is sent up
to the server. If this number is larger than the max-total
setting, then this setting is ignored.
-->
<!--
<entry key="rhq.agent.plugins.event-report.max-per-source" value="200"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.event-report.max-total
Defines the total maximum number of events that can be placed
in a single event report that is sent up to the server.
-->
<!--
<entry key="rhq.agent.plugins.event-report.max-total" value="400"/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.disabled
Defines the names of the plugins that are to be disabled.
This is a comma-separated list of plugin names, where a
plugin name is found in the name attribute in the root XML
element in the plugin descriptor. A disabled plugin will
simply not be loaded in the plugin container.
By default, all plugins are enabled. If a plugin was marked
as disabled by the server, the agent will not download it and
will not load it, regardless of the value of this preference.
If a plugin is enabled on the server, this
preference will override that enable setting (in other words,
an agent is able to disable a plugin, effectively overriding
the server setting, by placing the plugin name in this
preference). If the agent already has a plugin jar in
its local plugins directory, but that plugin is disabled
via this preference, that local plugin jar file will be
deleted and the plugin will not be loaded.
Note that if a plugin is listed in both this preference and
the rhq.agent.plugins.enabled preference, the plugin will
be disabled (that is, this disabled setting takes precedence).
-->
<!--
<entry key="rhq.agent.plugins.disabled" value=""/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.enabled
Defines the names of the plugins that are to be enabled.
This is a comma-separated list of plugin names, where a
plugin name is found in the name attribute in the root XML
element in the plugin descriptor. If this setting is set,
any plugin not in this enabled list will be disabled and thus
simply not loaded in the plugin container.
By default, all plugins are enabled. If a plugin was marked
as disabled by the server, the agent will not download it and
will not load it, regardless of the value of this preference.
If a plugin is enabled on the server, this
preference will override that enable setting (in other words,
if the agent did not have a plugin in this enabled setting,
the plugin will not be enabled, effectively overriding
the server setting). If the agent already has a plugin jar in
its local plugins directory, but that plugin is not enabled
via this preference, that local plugin jar file will be
deleted and the plugin will not be loaded.
Note that if a plugin is listed in both this preference and
the rhq.agent.plugins.disabled preference, the plugin will
be disabled (that is, the disabled setting takes precedence).
-->
<!--
<entry key="rhq.agent.plugins.enabled" value=""/>
-->
<!--
_______________________________________________________________
rhq.agent.plugins.disabled-resource-types
Defines the names of the resource types to be disabled.
This is a vertical-bar-separated list of type names, where a
type name is the plugin name (found in the name attribute
in the root XML element in the plugin descriptor) followed by
a series of ">" followed by type names (which follow the
type hierarchy defined in the plugin).
Example:
Platform>Network Adapter|JBossAS Server>Web Application (WAR)>Web Application Context
-->
<!--
<entry key="rhq.agent.plugins.disabled-resource-types" value=""/>
-->
<!--
_______________________________________________________________
rhq.communications.configuration-schema-version
Defines what version of the agent configuration schema this
file conforms to. This is the schema for the
rhq.communications preferences.
-->
<entry key="rhq.communications.configuration-schema-version" value="1" />
<!--
_______________________________________________________________
rhq.communications.service-container.mbean-server-name
Name of the MBean Server that houses the communications MBean
services. This is actually the default domain name of the
MBean Server and if an MBean Server has already been registered
with this name, it will be used to house the communications
services. If an MBean Server has not yet been registered with
this name as its default domain, one will be created. Typically
this can be left undefined which means the fallback MBeanServer
to be used is the built-in JVM platform MBeanServer.
-->
<!--
<entry key="rhq.communications.service-container.mbean-server-name" value="jboss-on" />
-->
<!--
_______________________________________________________________
rhq.communications.data-directory
The location where the communication services write internal
data files. If not defined, the data directory will be the
same as the agent's.
-->
<!--
<entry key="rhq.communications.data-directory" value="data" />
-->
<!--
_______________________________________________________________
rhq.communications.global-concurrency-limit
The maximum number of incoming commands that are allowed to be
received concurrently. Zero or less indicates there is to
be no limit and the agent can accept as many incoming
commands as possible. By default, there is no limit
and you typically did not have to change this from its
default.
-->
<entry key="rhq.communications.global-concurrency-limit" value="-1" />
<!--
_______________________________________________________________
rhq.communications.multicast-detector.enabled
rhq.communications.multicast-detector.multicast-address
rhq.communications.multicast-detector.bind-address
rhq.communications.multicast-detector.port
rhq.communications.multicast-detector.default-time-delay
rhq.communications.multicast-detector.heartbeat-time-delay
The multicast detector configuration. This is the service that
listens for new remote servers coming on and going offline and
is required if you want server auto-detection. If you do not
have server auto-detection enabled or your network will not