5 Mayıs 2012 Cumartesi

Cacti Temel kullanım bilgileri -3

Host Template ekleme;

Merhabalar, bende ilk cacti kullanmayı öğrenmeye başladığımda saatlerce google da karış karış gezerek öğrenmeye çalıştığım bir konuyu değineceğiz.
Bu uygulamamızda BigIP F5 template cactiye tanıtacağız.Bu uygulamamızı baz alarak başka markalarıda eklemeyi yapabilirsiniz.

Resimde de görüldüğü gibi google amcamıza sorduğumuzda ilk 2 konu zaten işimizi görüyor.
2. sıradaki linkte tıkladığımızda
https://devcentral.f5.com/wiki/AdvDesignConfig.CactiF5HostTemplate.ashx
(sizden küçük bir kayıt isteyebilir.) aslında size nasıl yapılacağı anlatılmış olsun bide biz anlatalım.
https://devcentral.f5.com/downloads/advdc/cacti_f5_host_template_v2.zip   indirme linkini yazdım :))






indirdiğimiz dosyanın içeriğini görüyoruz. bunları ne yapacağız.
Direk bunları indirdiğimiz sitede yazanlar üzerinden yazıyorum.


cacti host template yazan xml hariç geri kalan tüm .xml leri cacti klasörü içinde /resource/snmp_queries klasörüne kopyalıyoruz.Windowsun en güzel yanı yetkisini otomatik olarak alıyor.


Geri kalan .pl leride cacti klasörü içinde /scripts klasörüne kopyalıyoruz.



Bu kısmını biz kendi resimlerimizle anlatalım.



Console sekme import templates dediğimizde karşımıza gelen arayüzde cacti_host_template_f5_big-ip.xml dosyasını yükleyelim.



import (ekle-yükle) dediğimizde aşağıdaki gibi bir çıktı almalısınız.

------------------------------------------------------------------------
Import Results

Cacti has imported the following items:

CDEF

[success] Make Stack Negative [update]
[success] Difference of Two [new]
[success] Turn Bytes into Bits [update]

GPRINT Preset

[success] Normal [update]
[success] Exact Numbers [update]

Data Input Method

[success] Get SNMP Data [update]
[success] F5 BIG-IP - TMM CPU [new]
[success] F5 BIG-IP - MultiHost CPU Utilization [new]
[success] Get SNMP Data (Indexed) [update]

Data Template

[success] F5 BIG-IP - Global Connections [new]
[success] F5 BIG-IP - Global packets/sec in [new]
[success] F5 BIG-IP - Global packets/sec out [new]
[success] F5 BIG-IP - Global HTTP Requests [new]
[success] F5 BIG-IP - Global HTTP Get Requests [new]
[success] F5 BIG-IP - Global HTTP Post Requests [new]
[success] F5 BIG-IP - Global HTTP V9 Requests [new]
[success] F5 BIG-IP - Global HTTP V10 Requests [new]
[success] F5 BIG-IP - Global HTTP V11 Requests [new]
[success] F5 BIG-IP - Global HTTP 4xx resp [new]
[success] F5 BIG-IP - Global HTTP 5xx resp [new]
[success] F5 BIG-IP - Global HTTP 2xx resp [new]
[success] F5 BIG-IP - Global HTTP 3xx resp [new]
[success] F5 BIG-IP - Memory - System Usage [new]
[success] F5 BIG-IP - Memory - System Total [new]
[success] F5 BIG-IP - Memory - TMM Total [new]
[success] F5 BIG-IP - Memory - TMM Usage [new]
[success] F5 BIG-IP - TPS - TotNativeConns [new]
[success] F5 BIG-IP - TPS - TotCompatConns [new]
[success] F5 BIG-IP - TMM CPU [new]
[success] F5 BIG-IP - Global Pre Compress Bytes [new]
[success] F5 BIG-IP - Global Post Compress Bytes [new]
[success] F5 BIG-IP - Global Pre HTML Compress Bytes [new]
[success] F5 BIG-IP - Global Post HTML Compress Bytes [new]
[success] F5 BIG-IP - Global Pre CSS Compress Bytes [new]
[success] F5 BIG-IP - Global Post CSS Compress Bytes [new]
[success] F5 BIG-IP - Global Pre JS Compress Bytes [new]
[success] F5 BIG-IP - Global Post JS Compress Bytes [new]
[success] F5 BIG-IP - Global Pre XML Compress Bytes [new]
[success] F5 BIG-IP - Global Post XML Compress Bytes [new]
[success] F5 BIG-IP - Global Pre SGML Compress Bytes [new]
[success] F5 BIG-IP - Global Post SGML Compress Bytes [new]
[success] F5 BIG-IP - Global Pre Plain Compress Bytes [new]
[success] F5 BIG-IP - Global Post Plain Compress Bytes [new]
[success] F5 BIG-IP - Global Pre Octet Compress Bytes [new]
[success] F5 BIG-IP - Global Post Octet Compress Bytes [new]
[success] F5 BIG-IP - Global Pre Image Compress Bytes [new]
[success] F5 BIG-IP - Global Post Image Compress Bytes [new]
[success] F5 BIG-IP - Global Pre Video Compress Bytes [new]
[success] F5 BIG-IP - Global Post Video Compress Bytes [new]
[success] F5 BIG-IP - Global Pre Audio Compress Bytes [new]
[success] F5 BIG-IP - Global Post Audio Compress Bytes [new]
[success] F5 BIG-IP - Global Pre Other Compress Bytes [new]
[success] F5 BIG-IP - Global Post Other Compress Bytes [new]
[success] F5 BIG-IP - Global NULL Compress Bytes [new]
[success] F5 GTM - Global Requests [new]
[success] F5 GTM - Global Resolutions [new]
[success] F5 GTM - Global Persists [new]
[success] F5 GTM - Global Drops [new]
[success] F5 GTM - Global Return to DNS [new]
[success] F5 WA - imcHitCount [new]
[success] F5 WA - hdsHitCount [new]
[success] F5 BIG-IP - MultiHost CPU Utilization [new]
[success] F5 BIG-IP - VS Connections [new]
[success] F5 BIG-IP - VS Traffic [new]
[success] F5 BIG-IP - Interface Traffic [new]
[success] F5 GTM - WideIP Stats [new]
[success] F5 GTM - Pool Stats [new]
[success] F5 BIG-IP - Pool Connections [new]
[success] F5 BIG-IP - Pool Traffic [new]

Graph Template

[success] F5 BIG-IP - Global Connections [new]
[success] F5 BIG-IP - Global packets/sec [new]
[success] F5 BIG-IP - Global HTTP Requests [new]
[success] F5 BIG-IP - Global HTTP Response Errors [new]
[success] F5 BIG-IP - Global HTTP Responses [new]
[success] F5 BIG-IP - Memory Utilization [new]
[success] F5 BIG-IP - SSL TPS [new]
[success] F5 BIG-IP - TMM CPU Utilization [new]
[success] F5 BIG-IP - Global Compression Detail [new]
[success] F5 BIG-IP - Global Compression Stats [new]
[success] F5 GTM - Global DNS Statistics [new]
[success] F5 WA - Hit Counts [new]
[success] F5 BIG-IP - v.10 GlobalHost CPU Utilization [new]
[success] F5 BIG-IP - v.10 MultiHost CPU Utilization [new]
[success] F5 BIG-IP - VS Connections [new]
[success] F5 BIG-IP - VS Traffic (bits/sec) [new]
[success] F5 BIG-IP - VS Connection Rate [new]
[success] F5 BIG-IP - Interface Traffic (bits/sec) [new]
[success] F5 GTM - WideIP Statistics [new]
[success] F5 GTM - Pool Statistics [new]
[success] F5 BIG-IP - Pool Connections [new]
[success] F5 BIG-IP - Pool Connection Rate [new]
[success] F5 BIG-IP - Pool Traffic (bits/sec) [new]

Data Query

[success] F5 BIG-IP - VS Statistics [new]
[success] F5 BIG-IP - Interface Statistics [new]
[success] F5 GTM - WideIP Statistics [new]
[success] F5 GTM - Pool Statistics [new]
[success] F5 BIG-IP - Pool Statistics [new]

Host Template

[success] F5 BIG-IP [new]
------------------------------------------------------------------------
 

Artık Host templates sekmesinde yeni eklenen f5 BIG -IP gözüküyor.
 

 Evet yeni cihaz eklemek istersekte host template kısmında da görebiliyoruz.




hayırlı olsun yeni host template eklemiş bulunmaktayız.

Karşılacak temel sorunlar

1. gerekli dosyaları cacti klasörü içinde doğru yere koymamış olmanızdır.
2. gerekli izinlerin almamış olmasıdır.Web server için okuma izni olmalıdır. windows içinde bulunduğu klasörün izin haklarını aldığından sorun yok ama yinede siz dikkat edin.






bundan sonra değineceğimiz konular:
kullanıcı ayarları
graphs tree
grafiklerin çıktılarının alınması
ve en önemlisi Plugin ler
En çok kullanılan Pluginlerin kurulumu ve tanıtılması.








Hiç yorum yok:

Yorum Gönder