2017/11/17

How to disable Windows Remote Desktop Copy/Paste Function

1. Press Win+R key to open Run window.
2. Type gpedit.msc then press Enter.
3. Expand  Computer Configuration→Administrative Templates→Windows Components→Remote Desktop Services→Remote Desktop Session Hosts→Device and Resource Redirection
4. Enable "Do not allow clipboard redirection" rule.

Reference screen capture as below:





2017/11/08

How to Install Nagios 4 on CentOS 6.x

[Install Package]
yum update
yum install  -y nano openssl-devel git
yum install -y httpd php
yum install -y gcc glibc glibc-common
yum install -y gd gd-devel

[Create User and Group]
useradd nagios
passwd nagios
groupadd nagcmd
usermod -a -G nagcmd nagios
usermod -a -G nagcmd apache

2017/11/04

Nagios 4 - Monitor Server and Remote Client Configuration

Install NRPE v3 to Remote Client

cd /tmp
wget --no-check-certificate -O nrpe.tar.gz https://github.com/NagiosEnterprises/nrpe/archive/nrpe-3.2.1.tar.gz
tar xzf nrpe.tar.gz
cd /tmp/nrpe-nrpe-3.2.1/
./configure --enable-command-args
make all
make install
make install-config
echo >> /etc/services
echo '# Nagios services' >> /etc/services
echo 'nrpe    5666/tcp' >> /etc/services
make install-init
nano /usr/local/nagios/etc/nrpe.cfg
allowed_hosts=127.0.0.1,192.168.xx.xx

service nrpe start
/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1