]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Update stats collector tests.
authorRadosław Korzeniewski <radekk@inteos.pl>
Tue, 7 Jan 2020 11:42:21 +0000 (12:42 +0100)
committerRadosław Korzeniewski <radekk@inteos.pl>
Tue, 7 Jan 2020 11:42:21 +0000 (12:42 +0100)
regress/scripts/collect-bacula-fd.conf.in
regress/scripts/collect-bacula-sd.conf.in
regress/tests/statistics-backend-test

index 4f70dd3f34b482744f579a8dffcc0ddf798322f8..133db7e5420711c2fecfe2faa7ee17146e8b60c2 100644 (file)
@@ -57,7 +57,7 @@ Statistics {
   Type = graphite
   Prefix = "backup"
   Host = localhost
-  Port = 9223
+  Port = 9224
   Metrics = "bacula.client.@hostname@-fd.memory.bufs"
 }
 
index b2edd862fb9c3fba81030240f097f68f4f9648aa..1ad6d308d2fa74ae81f0ce0772ec2c4ad189e50e 100644 (file)
@@ -154,7 +154,7 @@ Statistics {
   Type = graphite
   Prefix = "backup"
   Host = localhost
-  Port = 9223
+  Port = 9225
   Metrics = "bacula.storage.@hostname@-sd.config.devices"
 }
 
index 76dca5b92ae005becbc0944ef151ecf155ed78b2..1b006162e891043aad544294b4212ebec766e95f 100755 (executable)
@@ -59,32 +59,8 @@ END_OF_DATA
 run_bconsole
 # start a Graphite simulator :)
 netcat -l -p 9223 -w 180 > ${cwd}/tmp/log7.out
-netcat -l -p 9223 -w 180 > ${cwd}/tmp/log8.out
-netcat -l -p 9223 -w 180 > ${cwd}/tmp/log9.out
-
-#cat <<END_OF_DATA >tmp/bconcmds
-#@# FD metrics
-#collect client all
-#@$out tmp/log3.out
-#@# SD metrics
-#collect storage all
-## now run some jobs
-#@$out tmp/log4.out
-#label storage=File1 volume=TestVolume001
-#run job=$JobName storage=File1 yes
-#wait
-#messages
-#@$out tmp/log5.out
-#@# Director metrics
-#collect all
-#@$out tmp/log6.out
-#@# FD metrics
-#collect client all
-#@$out tmp/log7.out
-#@# SD metrics
-#collect storage all
-#quit
-#END_OF_DATA
+netcat -l -p 9224 -w 180 > ${cwd}/tmp/log8.out
+netcat -l -p 9225 -w 180 > ${cwd}/tmp/log9.out
 
 check_for_zombie_jobs storage=File1
 stop_bacula