[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 …

Continue reading

[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.    

Continue reading

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 …

Continue reading

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 …

Continue reading

Unable to open MTP device'[usb:002,007]’

Eger ki Android cihazinizi bilsiyariniza mount edemezseniz GVFS desteginin olmasindandir. Android 4 ve ustu icin Ubuntu/Debian/Mint icin asagidaki paketi yuklemeniz gerekmektedir. sudo add-apt-repository ppa:langdalepl/gvfs-mtp sudo apt-get update sudo apt-get install mtpfs Android OS ‘li cihazi baglayip dosyalariniza erisebilirsiniz.

Continue reading

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 …

Continue reading

Xen ‘de Usb ve Cd-rom baglamak (mount islemi)

Kullanimi :  xm block-attach sanalin_ismi_veya_ID phy:xen_ustunde_gozuken_aygit sanalda_gozukecek_aygit mod xm list ciktisiyla sanallastirmalari gorebilirsiniz ve aygit_id ‘sini gorebilirsiniz. Ornek: #usb aygit icin xm block-attach 1 phy:/dev/sdb xvdb r #Cd-Dvd rom icin xm block-attach 1 phy:/dev/dvd hda:cdrom r

Continue reading