Observium - Rename existing devices 1

Observium – Rename existing devices

In case you have a lot of devices monitored by observium and for a reason (a hypervisor migration maybe?) you need to change servers’ hostnames, observium, at the time being, doesn’t seem to support renaming via its web interface but you can successfully do it from the command-line. Read the instructions below. Change current directory […]

Fix nethogs 'creating socket failed while establishing local IP' 2

Fix nethogs ‘creating socket failed while establishing local IP’

As it’s not available in repo nor PPA you need to build it (it is really easy and quickly done). Fetch and extract

Install dependencies and build

Check and run

Source

syslog server

Setup central syslog server on raspberry pi 2 (and other debian based distros)

Central log server using rsyslog is an asset of your sysadmin life! It may get you on the surface on really critical failures when you manage xyz number of servers and some of them go down. In my case raspberry pi 2 with rasbian (debian wheezy for arm processors) does the job very well, without […]

Cacti installation for monitoring servers and routers 3

Cacti installation for monitoring servers and routers

This is done with Ubuntu 12.04 Precise, but, it may be done with othe distros too. First install the required packages:

Go to /var/www/ download cacti, unpack it and rename it:

Create a database for cacti, a user for the database and insert the cacti tables in it:

 

Edit […]

Server monitoring - remote monitor a server with GKrellM via ssh tunnel 4

Server monitoring – remote monitor a server with GKrellM via ssh tunnel

Hostname/systemname display. Clock/calendar. SMP CPU monitor that can chart individual CPUs and/or a composite CPU. Temperature, fan, and voltage sensor monitors if supported by the kernel and the mainboard hardware. Linux requires lm_sensors modules, sysfs sensors for kernels >= 2.6.0 or a running mbmon daemon. Sensors can also be read from mbmon on […]