1. Cyford Technologies

    Server-Room2

  2. Managed Services

    • Managed Services

      Cyford Technologies LLC is a leader among IT Service Companies, we specialize in a mired of managed services and Technical support. Our focus is on small to medium sized business in Metro Atlanta and surrounding cities. We have one of the quickest response times in the industry; we also provide exceptional services because we utilize the latest tools and technologies. Best Practices is the name of our game at Cyford Technologies, our dedicated engineers never take short cuts which better serves our customers by reducing network issues or downtimes. Qualified engineers manage and supply technical support for each of our customs networks nationwide. If your company or department is seeking award winning IT support or related services then give Cyford Technologies LLC a call today!
       

  3. Website Design's

  4. Login

Articles

(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

Add comment


Create RSS Feed

feed-image Feed Entries

Tech Blog on Steroids

Key-Technical

Got Something to Say - Bring it to the Blog... 

Sign in And Create You own Nitch !!

Buy From US

Login or Register

Article Menu