I am using rsyslogd and I have not been able to get any messages in my cacti syslog plugin. I checked the contents in /var/log/syslog there were messages stored inside. rsyslog.conf Load the output module, you need to have rsyslog-mysql installed. Verify if you have ommysql.so by doing find / -name ommysql.so, the default path … Continue reading Cacti: No syslog messages
I was trying to compile the cacti spine poller source code and I encounter this error: configure: error: MySQL libraries not found To specify the lib location: LDFLAGS="-L/usr/lib -L/usr/lib/i386-linux-gnu/" ./configure Reference:http://forums.cacti.net/viewtopic.php?f=2&t=46947
Add the IP address of the nagios server to nrpe.cfg, for my case my configuration file is located in /usr/local/nagios/etc/nrpe.cfg, if your cfg file is located else where use this command to find find / -name nrpe.cfg Search for the parameter allowed_hosts: append the nagios server ip address.
I followed the instruction from this guide. There is a line sudo make install-xinetd which is not suitable for Ubuntu Server 12.04 LTS, the directory /etc/xinet.d is in RedHat/Centos but in Ubuntu the equivalent is /etc/init.d/ The below steps are from this guide.
I have encountered the following error while configuring the nrpe plugin: I have found a solution from here. apt-file is not installed in Ubuntu server 12.04 LTS by default, install by using this command sudo apt-get install apt-file -y After apt-file is installed use apt-file update, use apt-file search libssl |grep libssl-dev you will see … Continue reading Nagios: NRPE configure error
Reference 1: Nagios and Nginx on Ubuntu 12.04 LTS Reference 2: Ubuntu quickstart guide to installing Nagios. Development files and packages libssl-dev is the development files needed for compiling Nagios plugins. Without this you will encounter errors while compiling Nagios plugins. Create user and group Create user and group for nagios, also create another group … Continue reading Installing Nagios
I had problem trying to make the nagios plugin, I found out that I lacked libssl-dev, install the development file by using sudo apt-get install libssl-dev then make and sudo make install