Email : inbox [at] sysadmin.lk
Linkedin : https://www.linkedin.com/in/prabatht
Facebook : https://www.facebook.com/prabath.hinoize
Related Articles
Installation of KLOXO Hosting Panel with DKIM and SPF
An easy to follow guide to install DKIM on CentOS 5.x Linux mail servers using qmailtoaster and kloxo/lxadmin. help prevent outgoing emails from your email servers winding up in someone’s spam box. KLOXO instalation guide su – root setenforce 0 su – root yum install -y wget wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh #To install as Master (Default Single […]
Docker Cheat Sheet
Docker Terms This section defines some of the most useful Docker terms. Docker Image: A set of read-only files. These files are a part of an operating system that is required to run a Docker container. Dockerfile: A simple text file that contains all the commands a user could call in the command line to […]
Send SNMP Traps from Nagios to Remote Management Host
1. Add ‘send snmp trap’ command to nagios vim /usr/local/nagios/etc/objects/commands.cfg define command{ command_name send_snmptrap command_line /usr/bin/snmptrap -v 2c -c public 10.50.24.34 ” NAGIOS-NOTIFY-MIB::nSvcEvent nSvcHostname s “$HOSTNAME$” nSvcDesc s “$SERVICEDESC$” nSvcStateID i $SERVICESTATEID$ nSvcOutput s “$SERVICEOUTPUT$” } 2. Add this event and enable the event to services which needed to send traps vim /usr/local/nagios/etc/objects/localhost.cfg define service{ […]