19 May 2017

Zabbix : use external ip in simple checks

In Zabbix, simple checks are done by the Zabbix Server or Proxy on the default agent IP address, usually the internal one.
If you would like to monitor some services like SSH or SMTP using the external IP address, simply add another Agent Interface with the external IP.

Then choose the external interface in the item configuration:

03 February 2017

Resolve "Cannot download packages whilst offline" issue in Deja-Dup backup software

If you got the error message "Cannot download packages whilst offline" but your internet connection is active, this is probably because you've managed the network configuration yourself and the network manager is reporting an offline status even if it's not correct.

To fix this issue, simply edit the file /etc/NetworkManager/NetworkManager.conf and change the following configuration to be inline with:
Then restart the Network Manager :
sudo service NetworkManager restart


13 January 2017

Using TeamViewer on headless (without monitor) ubuntu machine

In order to get TeamViewer running smoothly (without lag, or simply cannot install) when no monitors are connected, you need to emulate one.

This is done by creating (or editing) this file :
And add the following content :
Section "Device"
    Identifier  "Configured Video Device"
    Driver      "dummy"

Section "Monitor"
    Identifier  "Configured Monitor"
    HorizSync 31.5-48.5
    VertRefresh 50-70

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1024x800"
Reboot the computer