Multi platform Nagios client Installer
NagClient is tool designed for anyone who wishes to easily deploy Nagios application, NRPE Daemon and some recommended plugins on different Linux platforms and Cloud/VZ systems.
For CentOS/RHEL application rely on EPEL.
EPEL (Extra Packages for Enterprise Linux) is open source and free community based repository project from Fedora team which provides 100% high quality add-on software packages for Linux distribution including RHEL (Red Hat Enterprise Linux), CentOS, and Scientific Linux. Epel project is not a part of RHEL/Cent OS but it is designed for major Linux distributions by providing lots of open source packages like networking, sys admin, programming, monitoring and so on. Most of the epel packages are maintained by Fedora repo.
Why we use EPEL repository? Provides lots of open source packages to install via Yum. Epel repo is 100% open source and free to use. It does not provide any core duplicate packages and no compatibility issues. All epel packages are maintained by Fedora repo.
Debian/Ubuntu Operating systems are using installed repositories who work just fine.
#How to use NagClient tool?
-
First clone it on your server by executing:
git clone https://github.com/nemke82/nagclient
make file executable: chmod a+rwx nagclient.sh
Next type: bash nagclient.sh -
wget -c https://raw.githubusercontent.com/nemke82/nagclient/master/nagclient.sh
chmod a+rwx nagclient.sh
bash nagclient.sh -
curl -s https://raw.githubusercontent.com/nemke82/nagclient/master/nagclient.sh | bash /dev/stdin
Hint: By default, application should recognize your Operating system and use auto_setup function.
You can use direct commands as :
bash nagclient.sh centos
(For Installing on CentOS 6/7 RHEL OS)
bash nagclient.sh ubuntu (For Installing on Ubuntu/Debian OS)
#NOTE Make sure that you open port 5666 or any other from within your Firewall rules. In next version I will add functionality to the application to detect firewall and add proper rule.