воскресенье, 9 декабря 2018 г.

Install GLPi on CentOS7 (php7.1)


Install MariaDB:
yum -y install mariadb-server mariadb-devel
systemctl enable mariadb
systemctl start mariadb

mysql_secure_installation
# mysql -u root -p
> create database glpidb;
> create user 'glpiuser'@'localhost' identified by 'P@ssword01';
> grant all privileges on glpidb.* to glpiuser@localhost;
> flush privileges;

суббота, 8 декабря 2018 г.

Configure Cisco loggin to SPLUNK

logging trap informational
logging source-interface vlan 1 (that interface's ip will be identified in SPLUNK)
logging host 192.168.3.92 (SPLUNK's ip)

archive
 log config
  logging enable
  logging size 200
  notify syslog contenttype plaintext
  hidekeys

login on-failure log
login on-success log
logging userinfo

process cpu threshold type total rising 80 interval 5
memory free low-watermark processor 20000
memory free low-watermark io 20000

Install SPLUNK on CentOS7


Install (get the link on Splunk website):
wget -O splunk-7.2.1-be11b2c46e23-linux-2.6-x86_64.rpm 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version=7.2.1&product=splunk&filename=splunk-7.2.1-be11b2c46e23-linux-2.6-x86_64.rpm&wget=true'

rpm -i splunk-7.2.1-be11b2c46e23-linux-2.6-x86_64.rpm