Compiling PHP for Zabbix 2.2 frontend

To compile PHP for Zabbix 2.2 frontend you will need to use the following keys:

[code]
./configure –enable-mbstring –enable-sockets –with-mysql –with-mysqli –with-ldap –enable-fpm –enable-bcmath –with-gettext –with-xmlrpc –with-openssl –with-mcrypt –with-gd –with-zlib –with-freetype-dir=/usr/include/freetype2 –with-jpeg-dir=/usr/lib
[/code]

PHP ini required values (minimal):

[code]
memory_limit = 128M
post_max_size = 16M
upload_max_filesize = 2M
max_execution_time = 300
max_input_time = 300
session.auto_start = 0
[/code]

Zabbix backup script without history data

Here is simple backup script for Zabbix 2 configuration data (hosts, items, templates etc). It will not backup history/event/trend data, so backup file is relatively small.

Just replace ZBX_DB and ZBX_USER with Zabbix database name and username.

[code]
mysqldump -u ZBX_USER -p ZBX_DB \
–ignore-table=ZBX_DB.acknowledges \
–ignore-table=ZBX_DB.alerts \
–ignore-table=ZBX_DB.auditlog \
–ignore-table=ZBX_DB.auditlog_details \
–ignore-table=ZBX_DB.escalations \
–ignore-table=ZBX_DB.events \
–ignore-table=ZBX_DB.history \
–ignore-table=ZBX_DB.history_log \
–ignore-table=ZBX_DB.history_str \
–ignore-table=ZBX_DB.history_str_sync \
–ignore-table=ZBX_DB.history_sync \
–ignore-table=ZBX_DB.history_text \
–ignore-table=ZBX_DB.history_uint \
–ignore-table=ZBX_DB.history_uint_sync \
–ignore-table=ZBX_DB.trends \
–ignore-table=ZBX_DB.trends_uint \
| gzip > zbx_db.sql.gz

[/code]

Last Ad Free Skype version

*UPDATE*
If you want to use latest Skype version just add following line to hosts file (C:\Windows\System32\drivers\etc):

[code]
127.0.0.1 rad.msn.com
127.0.0.1 live.rads.msn.com
127.0.0.1 ads1.msn.com
127.0.0.1 static.2mdn.net
127.0.0.1 g.msn.com
127.0.0.1 a.ads2.msads.net
127.0.0.1 b.ads2.msads.net
127.0.0.1 ac3.msn.com
[/code]

Today I received a Skype update that started to show advertisements in chat windows.
This was unacceptable for me, so I decided to downgrade Skype to latest ad-free version, which seems to be 6.9.0.106.

You can download old Skype version without ads from here:

http://download.skype.com/msi/SkypeSetup_6.9.0.106.msi

Mirror:
http://mirror.szepe.net/software/SkypeSetup_6.9.0.106.msi

To prevent Skype from updating automatically go to:

Tools -> Options… -> Advanced -> Automatic updates and click “Turn off automatic updates’.

Cisco IOS Remote Access and Site to Site VPN on one router

Simultaneous use of Remote Access VPN and Site-to-Site VPN has a few caveats.

Important configuration lines:

1. crypto isakmp key Pr3sh4r3DKEY address 89.123.45.6 no-xauth
Make sure to include no-xauth for Site-to-Site VPN peer.

2. crypto map VPNMAP 65535 ipsec-isakmp dynamic DYNMAP
Dynamic map should be last in crypto map assigned to external interface. You may use 65535 here at is is maximum supported number.

Example of Cisco IOS configuration with multiple VPN connections on one router:

[code]

crypto isakmp policy 1
encr aes 256
authentication pre-share
group 2

crypto isakmp key Pr3sh4r3DKEY address 89.123.45.6 no-xauth

crypto isakmp client configuration group REMOTEGROUP
key
dns 10.18.19.2
pool REMOTEPOOL
acl 110
!
!
crypto ipsec transform-set REMOTEVPN esp-3des esp-sha-hmac
!
crypto dynamic-map DYNMAP 10
set transform-set REMOTEVPN
!
!

crypto map VPNMAP client authentication list vpnuserauth
crypto map VPNMAP isakmp authorization list vpngroupauthor
crypto map VPNMAP client configuration address respond

crypto map VPNMAP 5 ipsec-isakmp
set peer 213.219.124.154
set transform-set REMOTEVPN
set pfs group2
match address VPN_ACL

crypto map VPNMAP 65535 ipsec-isakmp dynamic DYNMAP

ip local pool REMOTEPOOL 192.168.100.10 192.168.100.20

[/code]