对于Linux系统(以Ubuntu为例),可以使用以下命令检查PostgreSQL服务的状态: bash sudo systemctl status postgresql 或者 bash sudo service postgresql status 如果服务未运行,可以使用以下命令启动它: bash sudo systemctl start postgresql 或者 bash sudo service postgresql start 对于Windows系统,可以通过服务管理器...
$ check_postgres_locks --warning=100--critical="total=200:exclusive=20"POSTGRES_LOCKS OK: DB"postgres"total=1|time=0.00s peiybdb.total=0;100;200postgres.total=1;100;200template1.total=0;100;200trade.total=0;100;200$ check_postgres_txn_idle --port=5432--warning='+50'--critical='5 f...
You can use the df command on Linux and Unix operating systems to acquire a thorough report on the system’s disk space consumption.
The output will be similar to that from the Ubuntu server. Now we will restrict access to the agent. Restricting Access This time we will not be monitoring a local host, soxinetdmust allow connections coming from the Ubuntu server, where Checkmk is installed, to gather the data. To...
Check if a Network Port is Open From the Server Itself If you’re logged into the computer you wish to see what ports are open on, use one of the following tools to see which ports are open: ThenetstatCommand sudo netstat -tuplen ...
msg "Connection type (auto-detected): PostgreSQL ($HOST:$PGPORT)" fi export HOST fi dbg "CHECK_HOST_CMD: '${CHECK_HOST_CMD}'" dbg "HOST: '${HOST}'" dbg "_PSQL: '${_PSQL}'" dbg "_PSQL_NO_TIMEOUT: '${_PSQL_NO_TIMEOUT}'" ...
{DB_DATA_LOCATION}:/var/lib/postgresql/datahealthcheck:test:>-pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1;Chksum="$$(psql --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" --tuples-only --no-align--command='SELECT COALESCE(SUM(...
Step 5:Checking Postgresql DB and user ... OK:Postgresql version and default port are OK. gvmd | _gvm | UTF8 | en_US.UTF-8 | en_US.UTF-8 | OK:At least one user exists. Step 6:Checking Greenbone Security Assistant (GSA) ... ...
HI, I just install CVAT in Ubuntu 18.04LTS. All installations and configurations did without any error. But when I load the CVAT site it's getting the error "Could not check authorization on the server. Open the Browser Console to get de...
Database:pgsql PostgreSQL 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0, 64-bit PHP version: 7.2.24-0ubuntu0.18.04.2 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sod...