30 Nisan 2013 Salı

PfSense LightSquid Oversize ve BigFile Limiti belirleme

PfSense üzerine Squid Proxy sunucusu kurduktan sonra, hat trafiğinizi raporlamak için Light Squid kurarsanız, varsayılan Oversize ve BigFiles limitlerinin çok küçük olduğunu (10 MByte ve 2 MByte) göreceksiniz.

Bu ayarları değiştirmek için yapmanız gerekenler aşağıdaki gibidir.

1. Öncelikle PfSense sunucunuza ssh ile bağlanmalısınız. Eğer sunucu konsoluna ulaşabiliyorsanız işlemlere konsoldan devam edebilirsiniz. Eğer konsol imkanınız bulunmuyorsa, önce PfSense web arayüzünde, menüden System > Advanced sekmesine gelip Secure Shell bölümünde "Enable Secure Shell" kutucuğunu işaretleyip kaydetmelisiniz. Bunu yaptıktan sonra herhangi bir ssh client ile bağlantı yapabilirsiniz.



2. SSH Client ile bağlandığınızda karşınıza konsol ekranı çıkacak. Burada 0-14 arası rakamlarla ifade edilmiş seçenekleri göreceksiniz. 8 ile Shell ekranına girelim.



3. LightSquid konfigürasyon dosyasını vi editörü ile açalım

# vi /usr/local/etc/lightsquid/lightsquid.cfg
Kullandığınız versiyona göre dosyanız şu yolda da olabilir. 
/usr/pbi/lightsquid-amd64/local/etc/lightsquid/lightsquid.cfg

4. Dosya içerisinde bigfilelimit ve oversize ayarlarını değiştirelim. Bigfilelimit için 100 MB, oversize için 500 MB kullandığımızı varsayarsak, değişiklik aşağıdaki gibi olacak.


#if url size exceed $bigfilelimit - add this file into report
$bigfilelimit        = 100*1024*1024;

#user maximum size per day limit (oversize)
$perusertrafficlimit = 500*1024*1024;

5. Kaydedip kapattığınızda bundan sonra yeni ayarlarınız geçerli olacaktır. Sunucu yeniden başladığında bu ayarların kaybolmaması için aynı değişikliği /usr/local/etc/lightsquid/lightsquid.cfg.dist dosyasında da yapmanız gerekiyor.
Kullandığınız versiyona göre dosyanız şu yolda da olabilir. 
/usr/pbi/lightsquid-amd64/local/etc/lightsquid/lightsquid.cfg

Bu dosyada tüm konfigürasyon ayarlarını bulabilirsiniz.


21 Nisan 2013 Pazar

Tabbix Help / Tabbix Manual

Add Server
Click "+" button in Servers Tab. 
Fill the all informations in form and click Save icon on top right

Edit Server
Long press to the server which you want to edit in Servers Tab. There will be a menu. Choose "Edit" option. 
Change informations that you want and click Save icon

Delete Server
Long press to the server which you want to delete in Servers Tab. There will be a menu. Choose "Delete" option. 

Servers Tab
The Servers tab shows Zabbix servers that you added. 
You can see active triggers count in a problem state in the right side. 
The green arrow means there is no active trigger in a problem state. The red arrow means there is active trigger in problem state.
The Hosts view is shown when you click a server.
You can refresh the view by pulling down (Tabbix Pro only)

Hosts
You can see all hosts name and triggers count when you click server in Servers tab.
You can see active triggers count in a problem state that belongs to the host in the right side. 
The green arrow means there is no active trigger in a problem state. The red arrow means there is active trigger in problem state.
The Host view is shown when you click a host.
You can refresh the view by pulling down (Tabbix Pro only)

Host
You can see host information, triggers and items of host.
You can refresh the view by pulling down (Tabbix Pro only)

Host Item
You can see host item information and last values of item.
You can refresh the view by pulling down (Tabbix Pro only)

Host Item Graph
You can see the graph of item values. Click Graph icon on top right in Host Item view. There are two buttons for "zoom in" and "zoom out". The default period is two hours. You can zoom out to one year and zoom in to one hour.

Triggers Tab
The Triggers tab shows all active triggers in a problem state for all Zabbix servers. 
There is a green tick if trigger has acknowledge.
The green arrow means there is an acknowledge for the last event of trigger. 
The red arrow means there is no acknowledge for the last event of trigger.
The Trigger view is shown when you click a trigger.
You can refresh the view by pulling down (Tabbix Pro only)

Trigger
You can see trigger information, trigger hosts, trigger items and last ten events of trigger.
There is "+ Ack" icon on top right. You can add comment for the last event of trigger.
You can refresh the view by pulling down (Tabbix Pro only)

Add Acknowledge
You can add comment to the last event of a trigger from Trigger view.

Events Tab (Tabbix Pro only)
The Events tab shows last 25 trigger events for every Zabbix servers. 
You can refresh the view by pulling down.

Event (Tabbix Pro only)
You can see the event information, trigger information related to the event and messages added to the event.
There is "+ Ack" icon on top right. You can add comment for the event which the related trigger has status of problem.

Graphs Tab (Tabbix Pro only)
The Graphs Tab shows all graphs for active hosts.
You can refresh the view by pulling down.

Graphs (Tabbix Pro only)
You can see the graph.

Settings
1. Hide triggers for hosts in maintenance from Triggers Tab. When you select this option, you can still see triggers for hosts in maintenance from Servers Tab.
2. Hide disabled hosts. When you select this option, disabled hosts disappear from Hosts View.
3. Hide acknowledged triggers from Triggers Tab. When you select this option, acknowledged triggers disappear from Triggers Tab.
4. Minimum severity for triggers in Triggers Tab. You can set the minimum severity for Triggers Tab
5. Custom Logo and Custom Title. 
6. Home Tab (Tabbix Pro only). You can set the home tab.

Push Notification
You can find detailed manual in here :
https://tech.tirgil.com/2020/01/tabbix-push-notification-setup.html

5 Nisan 2013 Cuma

Android 4.2 de "Developer options" seçeneğinin açılması

Android 4.2 versiyonundan önce telefonunuzun Settings (Ayarlar) kısmına girdiğinizde en altta About Phone (Telefon Hakkında) seçeneğinden önce "Developer options" seçeneği görülüyordu. 4.2 versiyonu ile beraber bu seçeneğin ortadan kaybolduğunu farkedeceksiniz.

Bu seçenek aslında sadece görünmüyor. Şimdi bu seçeneği tekrardan nasıl görünür kılacağınızı göstereyim.

Telefonunuzda Settings kısmında en altta About Phone kısmına girelim.
Buradaki seçeneklerden en allta bulunan Build number kısmına gelelim ve üzerine 7 kez tıklayalım. Son 3 tıklamanızla birlikte geriye doğru sayan bir sayaç çıkacak ve son tıklamnızla birlikte artık Developer options kısmını Settings ana menüsünde en altta görebileceksiniz.