Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
ISON BPO Nagios XI
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[category:ISON BPO Nagios XI]] '''Building Probe Machine Documentation''' ==STEP 1: Install Mod-gearman in the Probe Machine and Configure== '''Note: Run this command as a Root User''' rpm -Uvh https://repo.nagios.com/nagios/7/nagios-repo-7-4.el7.noarch.rpm yum update wget https://assets.nagios.com/downloads/nagiosxi/scripts/ModGearmanInstall.sh chmod +x ModGearmanInstall.sh ./ModGearmanInstall.sh --type=worker { Set the Nagios XI Server IP address is 172.105.253.143 } vi /etc/mod_gearman/worker.conf {Add the hostgroups Location of probe machine} systemctl restart mod-gearman-worker {Now go to the Nagios XI server and add the hostgroups of the probe machine which you created now} vi /etc/mod_gearman/module.conf systemctl restart gearmand gearman_top {to see all the hostgroups} telnet 172.105.253.143 4730 (if telnet status is connected means communication is established between the probe machine and Nagios XI server) ==Step 2: Install Nagios XI in the Probe Machine to get the Plugins== cd /tmp wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.8.7.tar.gz tar xzf xi-5.8.7.tar.gz cd nagiosxi/ ./fullinstall cd /usr/local/nagios/libexec/ ls (to see all the plugins) ==Step 3: Install check_nwc_health Plugin in the Probe Machine to check Network Devices (Routers, Switches and Firewall etc)== wget https://labs.consol.de/assets/downloads/nagios/check_nwc_health-10.0.0.2.tar.gz tar xvfz check_nwc_health-10.0.0.2.tar.gz cd check_nwc_health-10.0.0.2 ./configure make make install cd /usr/local/nagios/libexec/ '''Note: while running the check_nwc_health plugin some perl files will be missing you have to download those files''' 14.98.74.34 is a IP address of a Network device ./check_nwc_health --hostname 14.98.74.34 --community public --mode hardware-health After running this command if error comes can’t locate and *.pm file download the file using yum install perl-file name Suppose error comes can’t locate JSON.pm file then I will run command like this yum install perl-JSON yum install perl-File-Slurp (if error comes can’t locate File/Slurp.pm file) yum install perl-Module-Load (if error comes can’t locate Module/Load.pm file) ./check_nwc_health --hostname 14.98.74.34 --community public --mode cpu-load yum install perl-JSON-XS (If error comes can’t locate JSON/XS.pm file)
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)