Monat: November 2016

Foscam Camera – Reboot over URL / API

Reboot a Foscam camera with a url/api: Open the following URL in the browser: http://192.168.2.141:88/cgi-bin/CGIProxy.fcgi?cmd=rebootSystem&usr=username&pwd=password You should get this response: <CGI_Result> <result>0</result> </CGI_Result> Now your camera should be rebooting (hop 19, 68): At the icmp_seq number you can see the downtime (that it is working)

Ubuntu – desktop to server (remove gui)

Ubuntu: How to completely remove the gui. Desktop to server version. I just had to remove the package xserver-xorg-core. $ apt-get remove xserver-xorg-core Then you should do a complete system reboot. $ reboot Now your system will start into the command line interface (cli)

Aktualisierung abgebrochen – Speicherplatz /boot

Die Aktualisierung wurde abgebrochen. – freien Speicherplatz auf /boot Lösung: Alte Kernel löschen cd /boot Get your actual kernel: uname -a Remove the old kernels: (grep for 4.2.0-36 and remove everything # dpkg -l | grep 4.2.0-36) apt-get remove –purge linux-image-extra-4.2.0-36-generic and so on ….

Upgrade from Ubuntu 16.04 LTS to 16.10

If you want to upgrade a LTS version you must do this manually, because the LTS version just updates itself to another LTS version. (not to normal updates/upgrades) vim /etc/update-manager/release-upgrades # Prompt=lts # change to Prompt=normal do-release-upgrade -d

Demodrop.com – Download mp3 files

You can use video downloadhelper to download files from demodrop.com Here you can find the plugin: Plugin for Firefox https://addons.mozilla.org/de/firefox/addon/video-downloadhelper/ Plugin for Google Chrome https://chrome.google.com/webstore/detail/video-downloadhelper/lmjnegcaeklhafolokijcfjliaokphfk?hl=de

Postfix – SSL/TLS Configuration

Here you can find my Postfix – SSL/TLS Configuration file for ssl-tools.net. With this postfix main.cf config file every point is green under the website ssl-tools. Just add the following lines of code to the file: vim /etc/postfix/main.cf ##### TLS settings ###### ### Secure outgoing connections only ### #smtp_tls_security_level=encrypt smtp_tls_security_level=may smtp_tls_cert_file=/etc/letsencrypt/live/mail.DOMAIN.de/fullchain.pem smtp_tls_key_file=/etc/letsencrypt/live/mail.DOMAIN.de/privkey.pem smtp_tls_mandatory_protocols = TLSv1 …

Postfix – SSL/TLS Configuration Weiterlesen »

Icinga2 – check if the carbon service is running

My carbon process broke down a while ago. I figured out that my grafana wasn’t showing the actual data. So i made a icinga2 check if my carbon service is running. root@monitoring:/etc/icinga2/zones.d/master/hosts# vim monitoring.conf in the object host declaration: vars.process[„carbon“] = { procs_user = „_graphite“ procs_command = „carbon-cache“ } root@monitoring:/etc/icinga2/zones.d/master/services# vim check_procs.conf apply Service „check_procs-“ …

Icinga2 – check if the carbon service is running Weiterlesen »

Debug Grafana – no more data points

As you can see on the image, grafana has no more data received. After a bit of debugging I found out that also the whisper files were correctly received (up to date). #whisper file root@monitoring:/var/lib/graphite/whisper/icinga2/pisensoren_mattionline_lan/services/ds18b20-28-0116106adaee/ds18b20/perfdata/temp# ls -la insgesamt 196 drwxr-xr-x 2 _graphite _graphite 4096 Okt 20 22:21 . drwxr-xr-x 3 _graphite _graphite 4096 Okt 20 …

Debug Grafana – no more data points Weiterlesen »

Scroll to Top