Openfiler Install NRPE Rumi, January 1, 2013January 1, 2013 INSTALL Compiler Dependency conary update gcc (a C-Compilter to compile the NRPE) conary update glibc:devel conary update openssl:devel conary update xinetd Add User ——– useradd nagios passwd nagios INSTALL NRPE ———— cd /usr/local/src/ wget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.13/nrpe-2.13.tar.gz?r=http%3A%2F%2Fexchange.nagios.org%2Fdirectory%2FAddons%2FMonitoring-Agents%2FNRPE–2D-Nagios-Remote-Plugin-Executor%2Fdetails&ts=1342427280&use_mirror=nchc tar xzfv nrpe-2.12.tar.gz cd nrpe-2.12 ./configure make all make install-plugin make install-daemon make install-daemon-config make install-xinetd Edit /etc/xinetd.d/nrpe file and Change the value of ONLY_FROM to the IP-address of the Nagios server. Edit the /etc/services file and add a line: nrpe 5666/tcp # NRPE service xinetd restart Test with: netstat -at | grep nrpe Otherwise, open your IPTables Firewall: iptables -I RH-Firewall-1-INPUT -p tcp -m tcp –dport 5666 -j ACCEPT service iptables save INSTALL NAGIOS TOOLS ——————– cd /usr/local/src wget http://downloads.sourceforge.net/project/nagiosplug/nagiosplug/1.4.16/nagios-plugins-1.4.16.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fnagiosplug%2F%3Fsource%3Ddirectory&ts=1342427687&use_mirror=nchc tar xzfv nagios-plugins-1.4.13.tar.gz cd nagios-plugins-1.4.13 ./configure –with-nagios-user=nagios –with-nagios-group=nagios make make install Src: http://jerry2yang.wordpress.com/2012/01/09/openfiler-install-nrpe/ Related Configurations (Linux) NagiosOpenfiler
Disable swap in Linux February 24, 2020 Identify configured swap devices and files with cat /proc/swaps. Turn off all swap devices and files with swapoff -a. Remove any matching reference found in /etc/fstab. Optional: Destroy any swap devices or files found in step 1 to prevent their reuse. Due to your concerns about leaking sensitive information, you… Read More
Allow large attachment (greater than 10MB) in ISPConfig postfix MTA March 4, 2018 Just a small hack, but worked good on my ISPConfig 3 setup. Add the following: nano /etc/postfix/main.cf mailbox_size_limit = 104857600 Save and restart postfix service. According to official postfix documentation: message_size_limit (default: 10240000) The maximal size in bytes of a message, including envelope information. Note: be careful when making changes…. Read More
Allow NFS attachment on Proxmox OpenVZ containers November 4, 2015 Prepare the container To allow a container to use NFS filesystem, you will need to start it with “nfs” feature enabled. If the container is running while you set the –features nfs:on, you will need to reboot it. # vzctl set 101 –features “nfs:on” –save # vzctl start 101 After… Read More