{"batchcomplete":"","continue":{"lecontinue":"20260218140428|83","continue":"-||"},"query":{"logevents":[{"logid":93,"ns":0,"title":"Replication pgsql","pageid":76,"logpage":76,"revid":288,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-03-18T13:50:36Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e <pre> master db ->   postgresql.conf listen_addresses = '*' wal_level = replica max_wal_senders = 10   CREATE ROLE replica_user WITH REPLICATION LOGIN PASSWORD 'pwd';   pg_hba.conf host    replication     all             0.0.0.0/0               scram-sha-256     slave -> rm -rf /var/lib/postgresql/12/main/* pg_basebackup -h 10.200.200.4 -p 9005 -D /var/lib/postgresql/12/main/ -U replica_user -P -R -X stream -c fast #pwd  systemctl start postgresql\u2026\u201c"},{"logid":92,"ns":14,"title":"Kategorie:Postgres","pageid":75,"logpage":75,"revid":287,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-03-18T13:44:12Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e[[Category:Manuals]]\u201c"},{"logid":91,"ns":0,"title":"BPC checkmk","pageid":74,"logpage":74,"revid":285,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-03-06T07:50:36Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e <pre> /usr/lib/check_mk_agent/local/backuppc_status </pre>  </pre> #!/bin/bash # Velmi zjednodu\u0161en\u00fd p\u0159\u00edklad pro Checkmk Local Check ERROR_COUNT=$(sudo -u backuppc /usr/share/backuppc/bin/BackupPC_serverMesg status hosts | grep -c \"error\")  if [ \"$ERROR_COUNT\" -eq 0 ]; then     echo \"0 BackupPC_Status - OK: Vsechny zalohy jsou v poradku\" else     echo \"2 BackupPC_Status - CRITICAL: Nalezeno $ERROR_COUNT chyb v zalohach\" fi </pre>  Category:backu\u2026\u201c"},{"logid":90,"ns":0,"title":"Sending mails","pageid":73,"logpage":73,"revid":284,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-03-06T07:40:16Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e <pre> sudo -u backuppc /usr/share/backuppc/bin/BackupPC_sendEmail -u monitoring@example.com </pre>   [[Category:Backuppc]]\u201c"},{"logid":89,"ns":14,"title":"Kategorie:Backuppc","pageid":72,"logpage":72,"revid":283,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-03-06T07:39:20Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e   [[Category:Manuals]]\u201c"},{"logid":88,"ns":0,"title":"Serial output","pageid":71,"logpage":71,"revid":282,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-02-19T08:24:24Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201eSerial port can be used like \"vga output\" instead of vga/monitor ..  * edit grub <pre> vim /etc/default/grub </pre>  * add/edit follow <pre> # set terminal for output/input GRUB_TERMINAL=\"serial console\"  # set params -> unit 0 = ttyS0 GRUB_SERIAL_COMMAND=\"serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1\"  # add params for kernel to set ttyS0 output GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash console=tty0 console=ttyS0,115200n8\" </pre> * upda\u2026\u201c"},{"logid":87,"ns":0,"title":"Tail in windows","pageid":70,"logpage":70,"revid":281,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-02-18T14:18:33Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e * powershell <pre> Get-Content filenamehere -Wait -Tail 30 Get-Content atlassian-jira.log -Wait -Tail 30 </pre> [[Category:Windows]]\u201c"},{"logid":86,"ns":14,"title":"Kategorie:Windows","pageid":69,"logpage":69,"revid":280,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-02-18T14:17:39Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e[[Category:Manuals]]\u201c"},{"logid":85,"ns":0,"title":"Upgrade tomcat","pageid":68,"logpage":68,"revid":278,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-02-18T14:09:46Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e<pre> ps\u00e1no bodov, abych nezapomnl postup nov\u00e9 edocaty $ systemctl stop edocat st\u00e1hnout novej tomcat wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.62/bin/apache-tomcat-9.0.62.tar.gz pejmenovat tomcat v /opt/edocat/app/alfresco/tomcat na /opt/edocat/app/alfresco/tomcat_old rozbalit 9.0.62 do /opt/edocat/app/alfresco/tomcat zkop\u00edrovat do nov\u00e9ho bin/setenv.sh 1:1 v nov\u00e9m tomcatu soubor conf/context.xml pidat <Resources cacheMaxSize=\"51200\" cac\u2026\u201c"},{"logid":84,"ns":14,"title":"Kategorie:Tomcat","pageid":67,"logpage":67,"revid":277,"params":{},"type":"create","action":"create","user":"Chalro","timestamp":"2026-02-18T14:09:02Z","comment":"zalo\u017eena nov\u00e1 str\u00e1nka s textem \u201e[[Category:Manuals]]\u201c"}]}}