Add maxHttpConnections to persister, tail to script
Change-Id: I7b7c15125f41df0e2ead8df820cc2be7194a6aa5
This commit is contained in:
parent
58fd028a5d
commit
3061a773e1
|
@ -71,6 +71,18 @@ stop() {
|
|||
done
|
||||
}
|
||||
|
||||
tail_logs() {
|
||||
/usr/bin/tail -f /opt/storm/current/logs/*log \
|
||||
/var/log/monasca/*log \
|
||||
/var/log/influxdb/*log \
|
||||
/var/log/kafka/*log \
|
||||
/opt/kafka/logs/*log
|
||||
}
|
||||
|
||||
tail_metrics() {
|
||||
/usr/bin/tail -f /tmp/kafka-logs/metr*/*log | /usr/bin/strings
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
status)
|
||||
status
|
||||
|
@ -86,7 +98,13 @@ case "$1" in
|
|||
sleep 2
|
||||
start
|
||||
;;
|
||||
tail-logs)
|
||||
tail_logs
|
||||
;;
|
||||
tail-metrics)
|
||||
tail_metrics
|
||||
;;
|
||||
*)
|
||||
echo "Usage: "$1" {status|start|stop|restart}"
|
||||
echo "Usage: "$1" {status|start|stop|restart|tail-logs|tail-metrics}"
|
||||
exit 1
|
||||
esac
|
||||
|
|
|
@ -44,6 +44,7 @@ databaseConfiguration:
|
|||
influxDbConfiguration:
|
||||
name: mon
|
||||
version: V9
|
||||
maxHttpConnections: 100
|
||||
replicationFactor: <%= replication_factor %>
|
||||
retentionPolicy: <%= retention_policy %>
|
||||
url: http://localhost:8086
|
||||
|
|
Loading…
Reference in New Issue