You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.2 KiB
52 lines
1.2 KiB
#!/bin/bash
|
|
# forksand-pgcluu_collectd
|
|
|
|
pgcluu_collectd \
|
|
--pid-file=/var/run/pgcluu/pg1.pid \
|
|
--daemonize \
|
|
--interval=60 \
|
|
--host=10.52.1.91 \
|
|
--dbuser=postgres \
|
|
--dbname=postgres \
|
|
--rotate-daily \
|
|
--enable-ssh \
|
|
--ssh-user pgcluu \
|
|
/var/lib/pgcluu/data/pg1
|
|
|
|
pgcluu_collectd \
|
|
--pid-file=/var/run/pgcluu/pg2.pid \
|
|
--daemonize \
|
|
--interval=60 \
|
|
--host=10.52.1.92 \
|
|
--dbuser=postgres \
|
|
--dbname=postgres \
|
|
--rotate-daily \
|
|
--enable-ssh \
|
|
--ssh-user pgcluu \
|
|
/var/lib/pgcluu/data/pg2
|
|
|
|
pgcluu_collectd \
|
|
--pid-file=/var/run/pgcluu/pg3.pid \
|
|
--daemonize \
|
|
--interval=60 \
|
|
--host=10.52.1.93 \
|
|
--dbuser=postgres \
|
|
--dbname=postgres \
|
|
--rotate-daily \
|
|
--enable-ssh \
|
|
--ssh-user pgcluu \
|
|
/var/lib/pgcluu/data/pg3
|
|
|
|
pgcluu_collectd \
|
|
--pid-file=/var/run/pgcluu/pg4.pid \
|
|
--daemonize \
|
|
--interval=60 \
|
|
--host=10.52.1.94 \
|
|
--dbuser=postgres \
|
|
--dbname=postgres \
|
|
--rotate-daily \
|
|
--enable-ssh \
|
|
--ssh-user pgcluu \
|
|
/var/lib/pgcluu/data/pg4
|
|
|