forked from IBM/nagios-for-i
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Nagios Plugin for IBM i Install and Configure Guidelines.txt
32 lines (27 loc) · 1.59 KB
/
Nagios Plugin for IBM i Install and Configure Guidelines.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
==========================================================
==============Install the Nagios plugin for i=============
==========================================================
----------------------------------------------------------
1. Extract the Nagios for i plugin to the directory: /usr/local/nagios/
----------------------------------------------------------
# tar xvf nagios-plugin-for-IBM-i.tar.gz -C /usr/local/nagios/
----------------------------------------------------------
2. Execute the below command:
----------------------------------------------------------
# /bin/bash /usr/local/nagios/libexec/ibmi_init.sh.
It will initialize the IBM i related commands, services and templates into the configuration files.
----------------------------------------------------------
3. Issue below command to add the user name and password of the system that you would like to monitor (you can use –h option to see the help):
----------------------------------------------------------
# /bin/bash /usr/local/nagios/libexec/host_config.sh -i [host | sst | hmc]
e.g. Add an user profile for IBM i server
# /bin/bash /usr/local/nagios/libexec/host_config.sh -i host
Add an user profile for SST
# /bin/bash /usr/local/nagios/libexec/host_config.sh -i sst
Add an user profile for HMC
# /bin/bash /usr/local/nagios/libexec/host_config.sh -i hmc
----------------------------------------------------------
4. Start the server of plugin for i and restart the nagios service
----------------------------------------------------------
# /bin/bash /usr/local/nagios/libexec/server_start.sh
# service nagios restart