Nagios
Install NRPE on CentOS 7
1) Install required packages yum -y install wget openssl-devel 2) Download latest NRPE agent cd /tmp wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz 3) Unzip NRPEagent tar xzf linux-nrpe-agent.tar.gz 4) Install agent cd linux-nrpe-agent ./fullinstall You will get asked which hosts to add. include your Nagios Server here In this case my Nagios server is 10.0.0.50 6) […]
Nessus Scan Showing SSLv3 on NS Client
Problem During a Nessus scan of a network it was showing lots of insecurities with an NSClient configuarion on a windows machine we were monitoring via Nagios. OS: Windows 2016 NSClient: 0.3.x Nagios: 4.0.7 Looking at one particular issue (SSLv2 and SSLv3) showing on the report: Nessus Output: The remote service accepts connections encrypted […]
Add NRPE Exim Mailqueue Check to cPanel Server
This blog assumes that NRPE and nagios plugins are already installed on the remote server. Remote OS: Centos 6.7 Nagios Server OS: Centos 5.7 WHM: 11.50.0 NRPE: 2.14 Remote server Download the check_eximailqueue plugin (version 1.3 as of writing) from Nagios.org . Upload the plugin to the the Nagios plugin directory (/usr/lib64/nagios/plugins/) on the remote server [RemoteServer]# vi /usr/lib64/nagios/plugins/check_eximailqueue Uncomment […]
Nagios: DNS CRITICAL – ‘/usr/bin/nslookup -sil’ msg parsing exited with no address
Scenario: We changed from BIND to Unbound on a smarthost email server. As soon as this was changed Nagios started throwing up a "DNS CRITICAL – '/usr/bin/nslookup -sil' msg parsing exited with no address" . In the following example i've substituted myhost.domain.co.uk for the actual host. Troubleshooting steps: From the Nagios server i checked the config file: […]
Installing NRPE and Nagios-Plugins on Centos 6 (64bit) with IPTables
Scenario: We have several remote BSD (NRPE) and Windows servers (NSClient++) that we already actively monitor. We wanted to add a Centos 6 machine to our monitoring list. On the Centos server we also have IPTables installed. Nagios-Plugins and NRPE arent available via the official Centos repositories so we will need to use a third-party. […]
Installing and Enabling NRPE on Remote FreeBSD Server
Here are some instructions I had (from a couple of years ago may I add) to assist in setting up NRPE for remote monitoring from (eg) Nagios 1) Add nagios user. nologin 2) install nagios-plugins from ports (nagios-plugins-1.4.11,1 ) -> cd / /usr/ports/net-mgmt/nagios-plugins/ -> make -> make install 3) Set permissions -> chown […]