(3 - user rating)

User Rating: 1 / 5

Star ActiveStar InactiveStar InactiveStar InactiveStar Inactive
 

/usr/sbin/useradd -m -s /bin/bash nagios passwd nagios


Client NRPE Install

  • Download nrpe and nagios-plugin.
    Tarball names will vary depending on the release number of the packages
  • wget http://assets.nagios.com/downloads/nagiosplugins/nagios-plugins-1.5.tar.gz
  • wget http://softlayer-dal.dl.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz
  • tar -xf nrpe-2.15.tar.gz
  • tar -xf nagios-plugins-1.5.tar.gz

Nagios Plugin Installation

  • cd nagios-plugins-1.5
  • ./configure
  • make
  • make install
  • chown nagios.nagios /usr/local/nagios
  • chown -R nagios.nagios /usr/local/nagios/libexec

NRPE Installation

  • cd ..
  • cd nrpe-2.15
  • ./configure
  • make all
  • make install-plugin
  • make install-daemon
  • make install-daemon-config
  • make install-xinetd
  • edit /etc/xinetd.d/nrpe
    add the name of the Nagios server to the line
    only_from = 127.0.0.1
  • edit /etc/services
    add the line
    nrpe 5666/tcp
  • Restart xinetd daemon with
    service xinetd restart

Test NRPE

  • Test nrpe with
    netstat -at | grep nrpe
  • Edit TCP wrappers
    vi /etc/hosts.allow
    Add the line
    nrpe: 17.0.0.1 server.name.domain.edu
    where server.name.domain.edu is your Nagios server DNS name

Test New client

  • /usr/local/nagios/libexec/check_nrpe -H localhost

If you get back the NRPE version number, you are done on the client

Setup IPTABLES

  • iptables -I RH-Firewall-1-INPUT -p tcp -m tcp --dport 5666 -j ACCEPT
    lets all packets with a destination of port 5666 past the firewall
 full instructions and examples on NRPE and Nagios instalation and configuration can be found here http://www.cyfordtechnologies.com/linux-servers/installing-and-configuiring-nagios

Comments   

0 #1 CharlieBold 2018-06-09 01:28
I have checked your website and i have found some duplicate content, that's why you don't rank
high in google's search results, but there is a tool that
can help you to create 100% unique articles, search for; SSundee advices unlimited content
for your blog
Quote | Report to administrator

Add comment


YOUR SUCCESS IS OUR SUCCESS

 

 

OUR BUSINESS MANAGEMENT

Maecenas et faucibus arcu. Quisque congue diam ac vulputate finibus. Fusce sed neque dictum, porta sapien quis, vehicula orci.

management1 f9b07

CHAIRMAN

Lorem ipsum dolor sit amet cursus consectetur adipiscing elit curabitur maximus augue consectetur.

management2 b741d

DIRECTOR

Lorem ipsum dolor sit amet cursus consectetur adipiscing elit curabitur maximus augue consectetur.

management3 b694d

PRESIDENT

Lorem ipsum dolor sit amet cursus consectetur adipiscing elit curabitur maximus augue consectetur.

management4 b4f56

MANAGER

Lorem ipsum dolor sit amet cursus consectetur adipiscing elit curabitur maximus augue consectetur.

management5 daffa

SUPERVISOR

Lorem ipsum dolor sit amet cursus consectetur adipiscing elit curabitur maximus augue consectetur.

management6 00f9d

ACCOUNTANT

Lorem ipsum dolor sit amet cursus consectetur adipiscing elit curabitur maximus augue consectetur.

management7 5e1be

LAWYER

Lorem ipsum dolor sit amet cursus consectetur adipiscing elit curabitur maximus augue consectetur.

management8 2fab9

TEAM LEADER

 

Lorem ipsum dolor sit amet cursus consectetur adipiscing elit curabitur maximus augue consectetur.

$489.00 each Cyford PBX Phone System
5 5 1 Product
Item not sold anymore
$489.00 each Cyford PBX Phone System
5 5 1 Product
Item not sold anymore
$489.00 each Cyford PBX Phone System
5 5 1 Product
Item not sold anymore
$489.00 each Cyford PBX Phone System
5 5 1 Product
Item not sold anymore