Hero Image

IT setup examples

Sensu monitoring software on debian

Install Erlang

sudo wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get -y install erlang-nox

Install RabittMQ

sudo wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.0/rabbitmq-server_3.6.0-1...

Read more

20th Jan 2019

Dnsmasq setup on centos 7

Configuring the server

Create a file /etc/dnsmasq.d/main.conf containing the following:

# ignore resolv.conf
no-resolv

# use google dns servers for internet lookups
server=8.8.8.8
server=8.8.4.4

# define localdomain, answers for this domain will come from /etc/hosts or static hosts files
local...

Read more

20th Jan 2019

ESX command line vmi on and off

Get a list of all VMs

vim-cmd vmsvc/getallvms

Power on

vim-cmd vmsvc/power.on ID_NUMBER

Suspend

vim-cmd vmsvc/power.suspend ID_NUMBER

Resume

vim-cmd vmsvc/power.suspend_resume ID_NUMBER

Other vmsvc commands:

~ # vim-cmd vmsvc
Commands available under vmsvc/:
acquiremksticket...

Read more

20th Jan 2019

Nagios 4.4 setup on centos

Install Dev Tools, PHP, Nginx

  sudo yum install nginx php php-fpm php-common gcc glibc glibc-common gd gd-devel make net-snmp unzip -y
  sudo yum groupinstall 'Development Tools' -y

Nginx – Nagios Configuration

  cd /etc/nginx/conf.d
  sudo vi nagios.conf

Nginx - Nagios Configuration with P

...

Read more

20th Jan 2019