Category: Genel
Genel, Linux

[Nagios] Error: Request contained command arguments, but argument option is not enabled!

Jan 27 12:53:16 samba nrpe[13163]: Error: Request contained command arguments, but argument option is not enabled! Jan 27 12:53:16 samba nrpe[13163]: Client request was invalid, bailing out... Yukaridaki hatalari nagios sunucusu nrpe kurulu client uzerinde ki komutlari calistiramadigi icin vermektedir. Yapilmasi gereken, nrpe kurulu client ustunde, vim /etc/nagios/nrpe.cfg  dont_blame_nrpe=0 satirini dont_blame_nrpe=1 olarak degisitirilmeli ve /etc/init.d/nagios-nrpe-server restart edilmelidir.  
Genel, Linux

[Nagios] CHECK_NRPE: Error – Could not complete SSL handshake

Eger "CHECK_NRPE: Error – Could not complete SSL handshake" seklinde nagios server 'da hata aliyorsaniz, NRPE yuklenmis istemci sunucuya erisim saglanamamaktadir. Bunun icin; 1. Istemci bilgisayarda /etc/nagios/nrpe.cfg dosyasinda  allowed_hosts=127.0.0.1 olan satiri bulup allowed_hosts=127.0.0.1,nagios_sunucu_ip seklinde degistiriniz. 2. Son olarak /etc/init.d/nagios-nrpe-server restart komutunu calistirip servisi bastan baslatin.    
Genel, Linux

Sunucu seri numarasi, model vb bilgilere ulasmak

Sunucuya ulasmaniz fiziksel olarak zorsa ve seri numarasi, model vb bilgilere ihtiyaciniz varsa "dmidecode" kullanabilirsiniz. dmidecode -t ile keywordslere ulasabilirsiniz daha fazlasi icin man dmidecode inceleyebilirsiniz. [root@pop3 ~]# dmidecode -t system # dmidecode 2.11 SMBIOS 2.6 present. Handle 0x0100, DMI type 1, 27 bytes System Information Manufacturer: HP Product Name: ProLiant DL380 G6 Version: Not Specified Serial Number: C13R9P UUID: 30303734-3536 Wake-up Type: Power Switch SKU Number: 470065-082 Family: ProLiant
Genel, Linux

perl: warning: Setting locale failed.

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_PAPER = "tr_TR.UTF-8", LC_ADDRESS = "tr_TR.UTF-8", LC_MONETARY = "tr_TR.UTF-8", LC_NUMERIC = "tr_TR.UTF-8", LC_TELEPHONE = "tr_TR.UTF-8", LC_IDENTIFICATION = "tr_TR.UTF-8", LC_MEASUREMENT = "tr_TR.UTF-8", LC_TIME = "tr_TR.UTF-8", LC_NAME = "tr_TR.UTF-8", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Error: The locale requested by the environment is invalid.   COZUMU : 
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
Genel, Linux

Debian 6 ‘dan 7 ‘ye Guncelleme

vim /etc/apt/source.lists dosyasi asagidaki gibi duzenlenir. deb http://mirrors.kernel.org/debian/ wheezy main deb-src http://mirrors.kernel.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main deb http://mirrors.kernel.org/debian/ wheezy-updates main deb-src http://mirrors.kernel.org/debian/ wheezy-updates main apt-get update # komutu ile guncellenir apt-get upgrade && apt-get dist-upgrade # islemi ile guncelleme yapilir. Paket yuklenmeleri ve guncellemeleri bittikten sonra shutdown -r now komutu ile sistem yeniden baslatilir. cat /etc/debian_version ciktisi ile Debian surumunu kontrol edebilirsiniz. veya lsb_release -r komutuyla. Not: Mesuliyet kabul edilmez :) Sevgiler.