전체 글 1907

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!

Service Commands 변경할때 Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd"! 위와 같이 에러가 나타날경우 # dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw# dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3# vi /etc/nagios3/nagios.cfgcheck_extern..

monitoring 2014.07.04

nagios3 설치방법

nagios3 설치 방법(ubuntu 기준) # sudo apt-get install nagios3 nagios-nrpe-plugin -y메일설정이다 internet site 선택 ok암호 입력http://localhost/nagios3/ id : nagiosadminpass : 입력했던 암호 host 등록(client 설치 안하고 사용가능한)# cd /etc/nagios3/conf.d/ # cp localhost_nagios2.cfg konet.cfg# vikonet.cfg (테스트로 코넷등록) # A simple configuration file for monitoring the local host# This can serve as an example for configuring other serve..

monitoring 2014.07.02

kernel upgrade

리눅스 kernel upgrade 방법이다. https://www.kernel.org/해당 사이트 가서 원하는 버전을 다운 받는다. # tar -xvf linux-3.15.tar.gz# mv linux-3.15 /usr/src/linux# cd /usr/src/linux# make mrproper# yum install gcc*# make clean# cp /boot/config-'자신커널버전' ./.config 현지환경설정 파일저장 # make menuconfig환경설정 불러오고 저장# make all; make modules_install; make install시간이 오래걸린다. 완료되었으면 # vi /boot/grub/menu.lst메뉴상에 지금 업데이트한 커널로 변경하면 된다. -- error ..

Linux 2014.06.26
728x90
320x100