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: Read More…

Setting up vsFTPd to use SSL on FreeBSD

Notes: FreeBSD 9.1 / vsFTPD 3.0.2  / using a CA certificate 1) Ensure both private key and certificate are located in .pem. I named this vsftpd.pem   2) Edit the the vsftpd.conf file # vi /usr/local/etc/vsftpd.conf ### PASV FTP pasv_enable=YES pasv_min_port=49152 pasv_max_port=65535 port_enable=YES ssl_enable=YES ### SSL STUFF allow_anon_ssl=NO force_local_data_ssl=NO force_local_logins_ssl=NO ssl_tlsv1=YES ssl_sslv2=NO ssl_sslv3=NO rsa_cert_file=/usr/local/etc/vsftpd.pem   3) Read More…

Enable SNMP FreeBSD

1) Install Net-SNMP # cd /usr/ports/net-mgmt/net-snmp # make install clean   2) Create SNMP conf file # vi /usr/local/share/snmp/snmpd.conf syscontact [email protected] rocommunity public 10.0.0.1/24 syscontact Jordansphere syslocation London   3) Start SNMP service # /usr/local/etc/rc.d/snmpd start   4) Input line in rc.conf so it starts on a reboot # vi /etc/rc.conf snmpd_enable="YES"