Nagios Probe Server install for Spectranet
Appearance
Referance - sites.box293.com/nagios/guides/mod-gearman/workers/centos-6-5?tmpl=%2Fsystem%2Fapp%2Ftemplates%2Fprint%2F&showPrintDialog=1
Pre- Requisites
yum install -y gcc glibc glibc-common make gettext automake wget openssl-devel net-snmp net-snmp-utils epel-release yum install -y perl-Net-SNMP autoconf yum install nagios-plugins-all nrpe yum install nagios-plugins-nrpe
for Gearman Information - https://labs.consol.de/nagios/mod-gearman/index.html
Download from http://www.mod-gearman.org/download/v2.1.2/rhel6/x86_64/
mkdir gearman cd gearman/ wget http://www.mod-gearman.org/download/v2.1.2/rhel6/x86_64/gearmand-0.33-2.rhel6.x86_64.rpm wget http://www.mod-gearman.org/download/v2.1.2/rhel6/x86_64/gearmand-devel-0.33-2.rhel6.x86_64.rpm wget http://www.mod-gearman.org/download/v2.1.2/rhel6/x86_64/gearmand-server-0.33-2.rhel6.x86_64.rpm wget http://www.mod-gearman.org/download/v2.1.2/rhel6/x86_64/mod_gearman2-2.1.2-1.rhel6.x86_64.rpm yum -y localinstall --nogpgcheck gearmand-0.33-2.rhel6.x86_64.rpm gearmand-devel-0.33-2.rhel6.x86_64.rpm gearmand-server-0.33-2.rhel6.x86_64.rpm mod_gearman2-2.1.2-1.rhel6.x86_64.rpm
Configuration -
vi /etc/mod_gearman2/worker.conf
Change localhost to Nagios XI Server IP
server=203.122.61.114:4730
/etc/init.d/gearmand status /etc/init.d/gearmand start chkconfig --list chkconfig gearmand on