0

Nagios is used by Linux System Administrator for Network Monitoring Services. NRDP abbreviated as Nagios Remote Data Processor in this tutorial we are dealing with the how to install and integrate the NRDP Addon and Server with the Nagios and Nagios Core.

Step-I ( Starting of Nagios Server and Login using root Credentials)
Step-II (Download of Nagios Remote Data Processor (NRDP) Archive)
# wget http://assets.nagios.com/downloads/nrdp/nrdp.zip
Step-III (Create a DIR for Extraction of NRDP Archive)
# mkdir NRDP
Step-IV (Extact the NRDP.zip Archive)
# unzip nrdp.zip /NRDP
Step-V (Create a DIR for the Installation of NRDP)
# mkdir /usr/local/nrdp
Step-VI (Copy all files present on Extracted NRDP DIR to nrdp)
# cp -rv /NRDP/* /usr/local/nrdp
Step-VII (Set the write permissions to the nrdp DIR)
# chown -R nagios.nagios /usr/local/nrdp
Step-VIII (Edit the Configuration file of NRDP server php files)
# vim /usr/local/nrdp/server/config.inc.php
Add your token here
$cfg['authorized_tokens'] = array(
"ADD Your TOKEN Here",
);
Step-IX (Copy the nrdp.conf file to the Apache configuration folder)
# cp -rv nrdp.conf /etc/httpd/conf.d
Step-X (Edit the ndrp configuration file for Edit the NRDP Settings)
# vim /etc/httpd/conf.d/nrdp.conf
Step-XI (Restart the Apache Services)
# service httpd restart
Step-XII (Test the NRDP Server API)
Open the Web Browser type the given URL on browser
http://<ipaddress of Nagios Server>/nrdp
After opening the Page you must Add the TOKENS that you are assigning to the STEP-IX of this Procedure
Step-XIII (Usage of NRDP Client from NRDP )
Operate the client with command arguments
/usr/local/nrdp/clients/send_nrdp.php
Operate the client without command arguments
/usr/bin/php /usr/local/nrdp/clients/send_nrdp.php

That’s all for now.

How to Monitor Remote Linux Machine using SNMP with Nagios on CentOS / Ubuntu

Previous article

Linux Basics Commands Cheat Sheet for CentOS / RHEL

Next article

You may also like

Comments

Leave a reply

Your email address will not be published. Required fields are marked *

More in Linux