Category Archives: Monitoring

nagios-nrpe-server: Ignores dont_blame_nrpe=1

We have Debian Wheezy running on all our production machines. Debian Jessie is out there for a while and I wanted to give it a try… An upgrade like this should be painless and without any major problems. I installed a machine with Debian Jessie and made it ready for production by playing some ansible … Continue reading nagios-nrpe-server: Ignores dont_blame_nrpe=1

How to fix “ERROR: Connecting to daemon at /var/run/collectd-unixsock failed”

Sometimes connecting to the collectd unixsocket is not possible giving a connection refused. This can be fixed manually by removing manually the socket file [codesyntax lang=”bash”] rm /var/run/collectd-unixsock [/codesyntax] and then restart collectd [codesyntax lang=”bash”] /etc/init.d/collectd restart [/codesyntax] collectd does not create a new socket file when there is already such a file. But the … Continue reading How to fix “ERROR: Connecting to daemon at /var/run/collectd-unixsock failed”

How to install Nagios Grapher on debian squeeze

In case you don’t have nagios installed, you need to install it as described here After installing nagios, please install the following packages: [codesyntax lang=”bash”] apt-get install autoconf rrdtool perl perl-base perl-modules libcalendar-simple-perl libgd-gd2-perl perlmagick librrds-perl liburi-perl [/codesyntax] Download Nagios Grapher source code: [codesyntax lang=”bash”] wget -c http://downloads.sourceforge.net/project/nagiosgrapher/nagiosgrapher/NagiosGrapher-1.7.1/NagiosGrapher-1.7.1.tar.gz [/codesyntax] Extract the archive [codesyntax lang=”bash”] tar … Continue reading How to install Nagios Grapher on debian squeeze

How to install nagios3 from source on debian squeeze

1. First we will need to install the prereq’s by running: [codesyntax lang=”bash”] apt-get install apache2 build-essential libgd2-xpm-dev libperl-dev openssl gcc make autoconf automake mailutils libssl-dev libmysqld-dev libmysqlclient-dev libldap2-dev libradiusclient-ng-dev libapache2-mod-php5 libsnmp-perl nfs-common nfs-kernel-server libnet-dns-perl libnet-snmp-perl libdbi-perl libapache2-request-perl libdbd-mysql-perl libcrypt-ssleay-perl mysql-client libnet-tftp-perl snmp [/codesyntax] 2. Adding the Nagios user: [codesyntax lang=”bash”] groupadd -g 9000 nagios … Continue reading How to install nagios3 from source on debian squeeze