Automatic batch operation and maintenance monitoring module linux host

1. Modify the linux agent codecs i.e. with the package
is opened zabbix_linux_agent.zip compression software with the following solution and into the directory:
Automatic batch operation and maintenance monitoring module linux host
the right to open the selected note install_zabbix_linux_agent.sh, found Agent_Server parameters in the parameter area, and address zabbix value to the server. The results as shown below:
Automatic batch operation and maintenance monitoring module linux host
storing and updating the compressed package:
Automatic batch operation and maintenance monitoring module linux host
2. Automatic operation and maintenance management module host to add
steps:
automatic operation and maintenance -> host management -> add
information to fill:
group name: Linux, hostname: 192.168.1.10, IP: 192.168.1.10, operating system: Linux, account: XXXX, password: xXXXX, port: 22
Automatic batch operation and maintenance monitoring module linux host
after completion, as shown below:
Automatic batch operation and maintenance monitoring module linux host
3. fast file distribution
steps:
automatic operation and maintenance -> job execution -> fast file distribution
fill information:
as shown below, fill in the information.
Automatic batch operation and maintenance monitoring module linux host
Note that the target path is / end root / temp / directory has / does not exist in the directory will be automatically created
after the information is filled out click start execution.
FIG execution results are as follows:
Automatic batch operation and maintenance monitoring module linux host

  1. Fast script execution
    (unzip extracting installation needs to use the command, the first batch execution yum -y install unzip mounted unzip command)
    Procedure:
    automatic operation and maintenance -> job execution -> fast script execution
    information to fill:
    As shown below, fill in the information .
    Automatic batch operation and maintenance monitoring module linux host

Content script:
cd / root / the TEMP /
the unzip zabbix_linux_agent.zip
click on the rapid implementation of results are as follows:
Automatic batch operation and maintenance monitoring module linux host
Note: Tips fails, may actually be successful, the current automatic operation and maintenance module is not perfect.

Click to return to
the script would read:
/ usr / bin / LS the -l / root / the TEMP /
/ usr / bin / LS the -l / root / the TEMP / zabbix_linux_agent /
changed after clicking again fast execution
results can be seen as follows :( successfully uploaded archive and unzipped successfully)
Automatic batch operation and maintenance monitoring module linux host
click to return to
the script would read:
cd / root / the TEMP / zabbix_linux_agent /
bash install_zabbix_linux_agent.sh install
SS -tnl
changed after clicking again fast execution
results are as follows:
Automatic batch operation and maintenance monitoring module linux host
you can see the open port 10050
wait for the on-line monitoring host
Automatic batch operation and maintenance monitoring module linux host

Guess you like

Origin blog.51cto.com/14010230/2422641