Centos 7 – Installing Collectd and Collectd-Web

Published on Author gryzli

Installing collectd/collectd-web is pretty easy (if we dont dive into the deep water). So the whole installation is basically installing several packages + few config modifications.   # Installing Collectd   # Install Centos 7 epel repository # yum install epel-release.noarch   # Install collectd + rrd support # yum install collectd collectd-rrdtool   #… Continue reading Centos 7 – Installing Collectd and Collectd-Web

Nagios 4.x + Nagstamon / Nagios Checker plugin not showing all services

Published on Author gryzli

The problem Suddenly I had to update one nagios server from 3.x to 4.x. After the update there was some strange condition, when we had more then 100 services in a Warning/Critical state, Nagstamon or Nagios Checker were unable to show certain alerts.   It turned out that by default Nagios 4.0 split Warning/Critical results… Continue reading Nagios 4.x + Nagstamon / Nagios Checker plugin not showing all services

Nagstamon – Crashing on choosing “Display tab” or “Add new server”

Published on Author gryzli

The problem   Suddenly I realized, that from some time on, whenever I try to choose “Display tab” or “Add new server” in Nagstamon it’s crashing. This happens with all the nagstamon versions I already tried: 1.0,  0.9.11, 0.9.10 …   I was experiencing this problem on a multiple linux distros, including: Fedora 19,20 and… Continue reading Nagstamon – Crashing on choosing “Display tab” or “Add new server”

Centos 6.x / RHEL 6.x – Apache / Nagios 4.x – Install nagiosgraph plugin

Published on Author gryzli

Nagiosgraph gets performance data from Nagios and by using RRDtool generates nice graphics for this data. The plugin’s home page is here: http://nagiosgraph.sourceforge.net/ Prerequisites Here I assume that you already have Nagios Core 4.x installed with the appropriate Apache configurations.   Installing yum packages yum install perl-CGI rrdtool-perl perl-Time-HiRes perl-GD perl-CPAN perl-Module-Build   Install Nagios::Config… Continue reading Centos 6.x / RHEL 6.x – Apache / Nagios 4.x – Install nagiosgraph plugin

Centos 6 – Install Nagios client from source

Published on Author gryzli

We are assuming that our Nagios Server has IP: 192.168.1.1 By default client NRPE will listen on port 5666, so make sure it’s enabled on IPTABLES. Prerequisities Add nagios user useradd nagios   Install openssl devel yum install openssl-devel   Install xinetd yum install xinetd     Install Nagios NRPE Current version of NRPE is… Continue reading Centos 6 – Install Nagios client from source

Nagios Core + Nagios plugins basic install from source on Centos 6.x

Published on Author gryzli

Download nagios core source In my case the latest stable nagios is nagios-4.0.8 Here’s the URL: http://www.nagios.org/download/core/thanks/?t=1414494536   Install some dependecy packages yum install httpd php gd gd-devel gcc glibc glibc-common openssl perl perl-devel make mailx   Create nagios user/groups useradd nagios groupadd nagcmd usermod -a -G nagcmd nagios   Untar the source and install… Continue reading Nagios Core + Nagios plugins basic install from source on Centos 6.x