[root@localhost ~]# yum install mariadb-server
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirrors.estointernet.in
* extras: centos.mirrors.estointernet.in
* updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.64-1.el7 will be installed
--> Processing Dependency: mariadb(x86-64) = 1:5.5.64-1.el7 for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Processing Dependency: perl-DBI for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Processing Dependency: perl(DBI) for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.64-1.el7 will be installed
---> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
--> Running transaction check
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
mariadb-server x86_64 1:5.5.64-1.el7 base 11 M
Installing for dependencies:
mariadb x86_64 1:5.5.64-1.el7 base 8.7 M
perl-Compress-Raw-Bzip2 x86_64 2.061-3.el7 base 32 k
perl-Compress-Raw-Zlib x86_64 1:2.061-4.el7 base 57 k
perl-DBD-MySQL x86_64 4.023-6.el7 base 140 k
perl-DBI x86_64 1.627-4.el7 base 802 k
perl-Data-Dumper x86_64 2.145-3.el7 base 47 k
perl-IO-Compress noarch 2.061-2.el7 base 260 k
perl-Net-Daemon noarch 0.48-5.el7 base 51 k
perl-PlRPC noarch 0.2020-14.el7 base 36 k
Transaction Summary
================================================================================
Install 1 Package (+9 Dependent packages)
Total size: 21 M
Installed size: 110 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
1:mariadb-libs-5.5.64-1.el7.x86_64 is a duplicate with 1:mariadb-libs-5.5.56-2.el7.x86_64
Installing : perl-Data-Dumper-2.145-3.el7.x86_64 1/10
Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 2/10
Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 3/10
Installing : perl-IO-Compress-2.061-2.el7.noarch 4/10
Installing : 1:mariadb-5.5.64-1.el7.x86_64 5/10
Installing : perl-Net-Daemon-0.48-5.el7.noarch 6/10
Installing : perl-PlRPC-0.2020-14.el7.noarch 7/10
Installing : perl-DBI-1.627-4.el7.x86_64 8/10
Installing : perl-DBD-MySQL-4.023-6.el7.x86_64 9/10
Installing : 1:mariadb-server-5.5.64-1.el7.x86_64 10/10
Verifying : perl-Net-Daemon-0.48-5.el7.noarch 1/10
Verifying : perl-Data-Dumper-2.145-3.el7.x86_64 2/10
Verifying : 1:mariadb-5.5.64-1.el7.x86_64 3/10
Verifying : perl-DBD-MySQL-4.023-6.el7.x86_64 4/10
Verifying : perl-IO-Compress-2.061-2.el7.noarch 5/10
Verifying : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 6/10
Verifying : 1:mariadb-server-5.5.64-1.el7.x86_64 7/10
Verifying : perl-DBI-1.627-4.el7.x86_64 8/10
Verifying : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 9/10
Verifying : perl-PlRPC-0.2020-14.el7.noarch 10/10
Installed:
mariadb-server.x86_64 1:5.5.64-1.el7
Dependency Installed:
mariadb.x86_64 1:5.5.64-1.el7
perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7
perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7
perl-DBD-MySQL.x86_64 0:4.023-6.el7
perl-DBI.x86_64 0:1.627-4.el7
perl-Data-Dumper.x86_64 0:2.145-3.el7
perl-IO-Compress.noarch 0:2.061-2.el7
perl-Net-Daemon.noarch 0:0.48-5.el7
perl-PlRPC.noarch 0:0.2020-14.el7
Complete!
[root@localhost ~]# ansible-playbook zabbix.yml
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
[WARNING]: Ignoring invalid attribute: state
PLAY [Install zabbix] **********************************************************
TASK [mariadb is installed] ****************************************************
ok: [localhost]
TASK [mariadb is running and enabled] ******************************************
changed: [localhost]
TASK [Install zabbix repo] *****************************************************
changed: [localhost]
TASK [Install zabbix agent] ****************************************************
changed: [localhost]
TASK [Install zabbix server] ***************************************************
changed: [localhost]
TASK [Install zabbix server mysql] *********************************************
ok: [localhost]
TASK [Install zabbix web mysql] ************************************************
changed: [localhost]
TASK [Install mysql-python] ***************************************************
changed: [localhost]
TASK [Create Zabbix Database] **************************************************
changed: [localhost]
TASK [Create Zabbix user and grant permissions] ********************************
changed: [localhost]
TASK [Import initial schema] ***************************************************
changed: [localhost] => (item=/usr/share/doc/zabbix-server-mysql-4.4.0/create.sql.gz)
TASK [Configure SELinux] *******************************************************
changed: [localhost]
TASK [Run MariaDB] *************************************************************
changed: [localhost]
TASK [Restart Zabbix Server] ***************************************************
changed: [localhost]
TASK [Restart Zabbix Agent] ****************************************************
changed: [localhost]
TASK [Set date.timezone] *******************************************************
changed: [localhost]
TASK [restart httpd] ***********************************************************
changed: [localhost]
TASK [Disable SELinux] *********************************************************
[WARNING]: SELinux state temporarily changed from 'enforcing' to 'permissive'.
State change will take effect next reboot.
changed: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=18 changed=16 unreachable=0 failed=0
[root@localhost ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.106 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::e9b6:a1b4:d2c0:6d7b prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:c8:6f:d4 txqueuelen 1000 (Ethernet)
RX packets 75057 bytes 109725246 (104.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 31491 bytes 2016594 (1.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 195 bytes 26037 (25.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 195 bytes 26037 (25.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:40:25:4a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vsphere
[root@localhost ~]# ssh 192.168.0.108
The authenticity of host '192.168.0.108 (192.168.0.108)' can't be established.
RSA key fingerprint is SHA256:MQkexpChA5EKsEpVeJbO9GiiXY+LP0nWJwNsO5SN94g.
RSA key fingerprint is MD5:17:ca:bc:80:e8:7d:b1:70:c2:d8:f6:14:d1:4b:8d:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.108' (RSA) to the list of known hosts.
Password:
The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # esxcli system snmp set --communities Public
~ # esxcli system snmp set --enable true
~ # esxcli network firewall ruleset set --ruleset-id snmp --allowed-all true
Already allowed all ip
~ # esxcli network firewall ruleset set --ruleset-id snmp --enabled true
~ # /etc/init.d/snmpd restart
~ # /etc/init.d/snmpd status
snmpd is running
~ # snmpd status
~ # /etc/init.d/snmpd restart
~ #
[root@localhost ~]# ssh 192.168.0.108
Password:
The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # esxcli network firewall ruleset list
Name Enabled
------------------ -------
sshServer true
sshClient false
nfsClient false
dhcp true
dns true
snmp true
ntpClient false
CIMHttpServer true
CIMHttpsServer true
CIMSLP true
iSCSI false
vpxHeartbeats true
updateManager false
faultTolerance true
webAccess true
vMotion true
vSphereClient true
activeDirectoryAll false
NFC true
HBR true
ftpClient false
httpClient false
gdbserver false
DVFilter false
DHCPv6 true
DVSSync true
syslog false
IKED false
WOL true
vSPC false
remoteSerialPort false
vprobeServer false
rdt true
cmmds true
vsanvp true
rabbitmqproxy true
ipfam true
dynamicruleset true
~ #
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirrors.estointernet.in
* extras: centos.mirrors.estointernet.in
* updates: centos.mirrors.estointernet.in
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.64-1.el7 will be installed
--> Processing Dependency: mariadb(x86-64) = 1:5.5.64-1.el7 for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Processing Dependency: perl-DBI for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Processing Dependency: perl(DBI) for package: 1:mariadb-server-5.5.64-1.el7.x86_64
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.64-1.el7 will be installed
---> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
--> Running transaction check
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
mariadb-server x86_64 1:5.5.64-1.el7 base 11 M
Installing for dependencies:
mariadb x86_64 1:5.5.64-1.el7 base 8.7 M
perl-Compress-Raw-Bzip2 x86_64 2.061-3.el7 base 32 k
perl-Compress-Raw-Zlib x86_64 1:2.061-4.el7 base 57 k
perl-DBD-MySQL x86_64 4.023-6.el7 base 140 k
perl-DBI x86_64 1.627-4.el7 base 802 k
perl-Data-Dumper x86_64 2.145-3.el7 base 47 k
perl-IO-Compress noarch 2.061-2.el7 base 260 k
perl-Net-Daemon noarch 0.48-5.el7 base 51 k
perl-PlRPC noarch 0.2020-14.el7 base 36 k
Transaction Summary
================================================================================
Install 1 Package (+9 Dependent packages)
Total size: 21 M
Installed size: 110 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
1:mariadb-libs-5.5.64-1.el7.x86_64 is a duplicate with 1:mariadb-libs-5.5.56-2.el7.x86_64
Installing : perl-Data-Dumper-2.145-3.el7.x86_64 1/10
Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 2/10
Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 3/10
Installing : perl-IO-Compress-2.061-2.el7.noarch 4/10
Installing : 1:mariadb-5.5.64-1.el7.x86_64 5/10
Installing : perl-Net-Daemon-0.48-5.el7.noarch 6/10
Installing : perl-PlRPC-0.2020-14.el7.noarch 7/10
Installing : perl-DBI-1.627-4.el7.x86_64 8/10
Installing : perl-DBD-MySQL-4.023-6.el7.x86_64 9/10
Installing : 1:mariadb-server-5.5.64-1.el7.x86_64 10/10
Verifying : perl-Net-Daemon-0.48-5.el7.noarch 1/10
Verifying : perl-Data-Dumper-2.145-3.el7.x86_64 2/10
Verifying : 1:mariadb-5.5.64-1.el7.x86_64 3/10
Verifying : perl-DBD-MySQL-4.023-6.el7.x86_64 4/10
Verifying : perl-IO-Compress-2.061-2.el7.noarch 5/10
Verifying : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 6/10
Verifying : 1:mariadb-server-5.5.64-1.el7.x86_64 7/10
Verifying : perl-DBI-1.627-4.el7.x86_64 8/10
Verifying : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 9/10
Verifying : perl-PlRPC-0.2020-14.el7.noarch 10/10
Installed:
mariadb-server.x86_64 1:5.5.64-1.el7
Dependency Installed:
mariadb.x86_64 1:5.5.64-1.el7
perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7
perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7
perl-DBD-MySQL.x86_64 0:4.023-6.el7
perl-DBI.x86_64 0:1.627-4.el7
perl-Data-Dumper.x86_64 0:2.145-3.el7
perl-IO-Compress.noarch 0:2.061-2.el7
perl-Net-Daemon.noarch 0:0.48-5.el7
perl-PlRPC.noarch 0:0.2020-14.el7
Complete!
[root@localhost ~]# ansible-playbook zabbix.yml
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
[WARNING]: Ignoring invalid attribute: state
PLAY [Install zabbix] **********************************************************
TASK [mariadb is installed] ****************************************************
ok: [localhost]
TASK [mariadb is running and enabled] ******************************************
changed: [localhost]
TASK [Install zabbix repo] *****************************************************
changed: [localhost]
TASK [Install zabbix agent] ****************************************************
changed: [localhost]
TASK [Install zabbix server] ***************************************************
changed: [localhost]
TASK [Install zabbix server mysql] *********************************************
ok: [localhost]
TASK [Install zabbix web mysql] ************************************************
changed: [localhost]
TASK [Install mysql-python] ***************************************************
changed: [localhost]
TASK [Create Zabbix Database] **************************************************
changed: [localhost]
TASK [Create Zabbix user and grant permissions] ********************************
changed: [localhost]
TASK [Import initial schema] ***************************************************
changed: [localhost] => (item=/usr/share/doc/zabbix-server-mysql-4.4.0/create.sql.gz)
TASK [Configure SELinux] *******************************************************
changed: [localhost]
TASK [Run MariaDB] *************************************************************
changed: [localhost]
TASK [Restart Zabbix Server] ***************************************************
changed: [localhost]
TASK [Restart Zabbix Agent] ****************************************************
changed: [localhost]
TASK [Set date.timezone] *******************************************************
changed: [localhost]
TASK [restart httpd] ***********************************************************
changed: [localhost]
TASK [Disable SELinux] *********************************************************
[WARNING]: SELinux state temporarily changed from 'enforcing' to 'permissive'.
State change will take effect next reboot.
changed: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=18 changed=16 unreachable=0 failed=0
[root@localhost ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.106 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::e9b6:a1b4:d2c0:6d7b prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:c8:6f:d4 txqueuelen 1000 (Ethernet)
RX packets 75057 bytes 109725246 (104.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 31491 bytes 2016594 (1.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 195 bytes 26037 (25.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 195 bytes 26037 (25.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:40:25:4a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vsphere
[root@localhost ~]# ssh 192.168.0.108
The authenticity of host '192.168.0.108 (192.168.0.108)' can't be established.
RSA key fingerprint is SHA256:MQkexpChA5EKsEpVeJbO9GiiXY+LP0nWJwNsO5SN94g.
RSA key fingerprint is MD5:17:ca:bc:80:e8:7d:b1:70:c2:d8:f6:14:d1:4b:8d:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.108' (RSA) to the list of known hosts.
Password:
The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # esxcli system snmp set --communities Public
~ # esxcli system snmp set --enable true
~ # esxcli network firewall ruleset set --ruleset-id snmp --allowed-all true
Already allowed all ip
~ # esxcli network firewall ruleset set --ruleset-id snmp --enabled true
~ # /etc/init.d/snmpd restart
~ # /etc/init.d/snmpd status
snmpd is running
~ # snmpd status
~ # /etc/init.d/snmpd restart
~ #
[root@localhost ~]# tail /var/log/zabbix/zabbix_agentd.log
6676:20190929:180910.188 IPv6 support: YES
6676:20190929:180910.188 TLS support: YES
6676:20190929:180910.188 **************************
6676:20190929:180910.188 using configuration file: /etc/zabbix/zabbix_agentd.conf
vi /etc/zabbix/zabbix_server.conf
### Option: StartVMwareCollectors
# Number of pre-forked vmware collector instances.
#
# Mandatory: no
# Range: 0-250
# Default:
StartVMwareCollectors=3
### Option: VMwareFrequency
# How often Zabbix will connect to VMware service to obtain a new data.
#
# Mandatory: no
# Range: 10-86400
# Default:
VMwareFrequency=60
### Option: VMwarePerfFrequency
# How often Zabbix will connect to VMware service to obtain performance data.
#
# Mandatory: no
# Range: 10-86400
# Default:
VMwarePerfFrequency=60
### Option: VMwareCacheSize
# Size of VMware cache, in bytes.
# Shared memory size for storing VMware data.
# Only used if VMware collectors are started.
#
# Mandatory: no
# Range: 256K-2G
# Default:
VMwareCacheSize=8M
### Option: VMwareTimeout
# Specifies how many seconds vmware collector waits for response from VMware service.
#
# Mandatory: no
# Range: 1-300
# Default:
VMwareTimeout=10
snmp
### Option: SNMPTrapperFile
# Temporary file used for passing data from SNMP trap daemon to the server.
# Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
#
# Mandatory: no
# Default:
# SNMPTrapperFile=/tmp/zabbix_traps.tmp
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
### Option: StartSNMPTrapper
# If 1, SNMP trapper process is started.
#
# Mandatory: no
# Range: 0-1
# Default:
StartSNMPTrapper=0
install snmp
[root@localhost ~]# yum install net-snmp net-snmp-utils.
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirrors.estointernet.in
* extras: centos.mirrors.estointernet.in
* updates: centos.mirrors.estointernet.in
No package net-snmp-utils. available.
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package net-snmp.x86_64 1:5.7.2-43.el7 will be installed
--> Processing Dependency: net-snmp-libs = 1:5.7.2-43.el7 for package: 1:net-snmp-5.7.2-43.el7.x86_64
--> Processing Dependency: net-snmp-agent-libs = 1:5.7.2-43.el7 for package: 1:net-snmp-5.7.2-43.el7.x86_64
--> Processing Dependency: libnetsnmptrapd.so.31()(64bit) for package: 1:net-snmp-5.7.2-43.el7.x86_64
--> Processing Dependency: libnetsnmpmibs.so.31()(64bit) for package: 1:net-snmp-5.7.2-43.el7.x86_64
--> Processing Dependency: libnetsnmpagent.so.31()(64bit) for package: 1:net-snmp-5.7.2-43.el7.x86_64
--> Running transaction check
---> Package net-snmp-agent-libs.x86_64 1:5.7.2-43.el7 will be installed
---> Package net-snmp-libs.x86_64 1:5.7.2-32.el7 will be updated
---> Package net-snmp-libs.x86_64 1:5.7.2-43.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
net-snmp x86_64 1:5.7.2-43.el7 base 331 k
Installing for dependencies:
net-snmp-agent-libs x86_64 1:5.7.2-43.el7 base 706 k
Updating for dependencies:
net-snmp-libs x86_64 1:5.7.2-43.el7 base 750 k
Transaction Summary
================================================================================
Install 1 Package (+1 Dependent package)
Upgrade ( 1 Dependent package)
Total download size: 1.7 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
(1/3): net-snmp-libs-5.7.2-43.el7.x86_64.rpm | 750 kB 00:00
(2/3): net-snmp-5.7.2-43.el7.x86_64.rpm | 331 kB 00:00
(3/3): net-snmp-agent-libs-5.7.2-43.el7.x86_64.rpm | 706 kB 00:00
--------------------------------------------------------------------------------
Total 1.8 MB/s | 1.7 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : 1:net-snmp-libs-5.7.2-43.el7.x86_64 1/4
Installing : 1:net-snmp-agent-libs-5.7.2-43.el7.x86_64 2/4
Installing : 1:net-snmp-5.7.2-43.el7.x86_64 3/4
Cleanup : 1:net-snmp-libs-5.7.2-32.el7.x86_64 4/4
Verifying : 1:net-snmp-agent-libs-5.7.2-43.el7.x86_64 1/4
Verifying : 1:net-snmp-5.7.2-43.el7.x86_64 2/4
Verifying : 1:net-snmp-libs-5.7.2-43.el7.x86_64 3/4
Verifying : 1:net-snmp-libs-5.7.2-32.el7.x86_64 4/4
Installed:
net-snmp.x86_64 1:5.7.2-43.el7
Dependency Installed:
net-snmp-agent-libs.x86_64 1:5.7.2-43.el7
Dependency Updated:
net-snmp-libs.x86_64 1:5.7.2-43.el7
Complete!
[root@localhost ~]# yum install net-snmp net-snmp-utils
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirrors.estointernet.in
* extras: centos.mirrors.estointernet.in
* updates: centos.mirrors.estointernet.in
Package 1:net-snmp-5.7.2-43.el7.x86_64 already installed and latest version
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package net-snmp-utils.x86_64 1:5.7.2-43.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
net-snmp-utils x86_64 1:5.7.2-43.el7 base 199 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 199 k
Installed size: 408 k
Is this ok [y/d/N]: y
Downloading packages:
net-snmp-utils-5.7.2-43.el7.x86_64.rpm | 199 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:net-snmp-utils-5.7.2-43.el7.x86_64 1/1
Verifying : 1:net-snmp-utils-5.7.2-43.el7.x86_64 1/1
Installed:
net-snmp-utils.x86_64 1:5.7.2-43.el7
Complete!
[root@localhost ~]# service snmpd status
Redirecting to /bin/systemctl status snmpd.service
● snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
[root@localhost ~]# service snmpd start
Redirecting to /bin/systemctl start snmpd.service
[root@localhost ~]# service snmp-trapd start
Redirecting to /bin/systemctl start snmp-trapd.service
Failed to start snmp-trapd.service: Unit not found.
[root@localhost ~]# snmp
snmpbulkget snmpdf snmpset snmptranslate snmpwalk
snmpbulkwalk snmpget snmpstatus snmptrap
snmpconf snmpgetnext snmptable snmptrapd
snmpd snmpinform snmptest snmpusm
snmpdelta snmpnetstat snmptls snmpvacm
[root@localhost ~]# snmp
snmpbulkget snmpdf snmpset snmptranslate snmpwalk
snmpbulkwalk snmpget snmpstatus snmptrap
snmpconf snmpgetnext snmptable snmptrapd
snmpd snmpinform snmptest snmpusm
snmpdelta snmpnetstat snmptls snmpvacm
[root@localhost ~]# service snmptrapd start
Redirecting to /bin/systemctl start snmptrapd.service
[root@localhost ~]# cat /var/log/zabbix/zabbix_server.log
5283:20190929:175558.729 Starting Zabbix Server. Zabbix 4.4.0beta1 (revision 52cc5f0786).
5283:20190929:175558.730 ****** Enabled features ******
5283:20190929:175558.730 SNMP monitoring: YES
5283:20190929:175558.730 IPMI monitoring: YES
5283:20190929:175558.730 Web monitoring: YES
5283:20190929:175558.730 VMware monitoring: YES
5283:20190929:175558.731 SMTP authentication: YES
5283:20190929:175558.731 ODBC: YES
5283:20190929:175558.731 SSH2 support: YES
5283:20190929:175558.731 IPv6 support: YES
5283:20190929:175558.731 TLS support: YES
5283:20190929:175558.731 ******************************
5283:20190929:175558.731 using configuration file: /etc/zabbix/zabbix_server.conf
5283:20190929:175558.846 current database version (mandatory/optional): 04030035/04030035
5283:20190929:175558.846 required mandatory version: 04030035
5283:20190929:175559.119 server #0 started [main process]
5288:20190929:175559.145 server #1 started [configuration syncer #1]
5291:20190929:175559.169 server #4 started [http poller #1]
5292:20190929:175559.173 server #5 started [discoverer #1]
5290:20190929:175559.184 server #3 started [timer #1]
5293:20190929:175559.187 server #6 started [history syncer #1]
5294:20190929:175559.190 server #7 started [history syncer #2]
5289:20190929:175559.193 server #2 started [housekeeper #1]
5295:20190929:175559.195 server #8 started [history syncer #3]
5300:20190929:175559.208 server #13 started [task manager #1]
5301:20190929:175559.212 server #14 started [poller #1]
5297:20190929:175559.225 server #10 started [escalator #1]
5296:20190929:175559.234 server #9 started [history syncer #4]
5299:20190929:175559.237 server #12 started [self-monitoring #1]
5298:20190929:175559.240 server #11 started [proxy poller #1]
5309:20190929:175559.266 server #15 started [poller #2]
5310:20190929:175559.302 server #16 started [poller #3]
5311:20190929:175559.314 server #17 started [poller #4]
5312:20190929:175559.381 server #18 started [poller #5]
5313:20190929:175559.403 server #19 started [unreachable poller #1]
5314:20190929:175559.420 server #20 started [trapper #1]
5319:20190929:175559.517 server #23 started [trapper #4]
5320:20190929:175559.528 server #24 started [trapper #5]
5321:20190929:175559.539 server #25 started [icmp pinger #1]
5318:20190929:175559.541 server #22 started [trapper #3]
5322:20190929:175559.552 server #26 started [alert manager #1]
5322:20190929:175559.555 cannot start alert manager service: Cannot bind socket to "/var/run/zabbix/zabbix_server_alerter.sock": [13] Permission denied.
5283:20190929:175559.562 One child process died (PID:5322,exitcode/signal:1). Exiting ...
5283:20190929:175600.817 syncing trend data...
5283:20190929:175600.835 syncing trend data done
5283:20190929:175600.836 Zabbix Server stopped. Zabbix 4.4.0beta1 (revision 52cc5f0786).
5545:20190929:175614.108 Starting Zabbix Server. Zabbix 4.4.0beta1 (revision 52cc5f0786).
5545:20190929:175614.108 ****** Enabled features ******
5545:20190929:175614.108 SNMP monitoring: YES
5545:20190929:175614.108 IPMI monitoring: YES
5545:20190929:175614.108 Web monitoring: YES
5545:20190929:175614.108 VMware monitoring: YES
5545:20190929:175614.108 SMTP authentication: YES
5545:20190929:175614.108 ODBC: YES
5545:20190929:175614.108 SSH2 support: YES
5545:20190929:175614.108 IPv6 support: YES
5545:20190929:175614.108 TLS support: YES
5545:20190929:175614.108 ******************************
5545:20190929:175614.108 using configuration file: /etc/zabbix/zabbix_server.conf
5545:20190929:175614.117 current database version (mandatory/optional): 04030035/04030035
5545:20190929:175614.117 required mandatory version: 04030035
5545:20190929:175614.145 server #0 started [main process]
5561:20190929:175614.165 server #12 started [self-monitoring #1]
5563:20190929:175614.167 server #14 started [poller #1]
5564:20190929:175614.178 server #15 started [poller #2]
5566:20190929:175614.189 server #17 started [poller #4]
5562:20190929:175614.200 server #13 started [task manager #1]
5558:20190929:175614.201 server #9 started [history syncer #4]
5553:20190929:175614.202 server #4 started [http poller #1]
5554:20190929:175614.202 server #5 started [discoverer #1]
5550:20190929:175614.213 server #1 started [configuration syncer #1]
5551:20190929:175614.214 server #2 started [housekeeper #1]
5555:20190929:175614.214 server #6 started [history syncer #1]
5556:20190929:175614.215 server #7 started [history syncer #2]
5557:20190929:175614.215 server #8 started [history syncer #3]
5560:20190929:175614.216 server #11 started [proxy poller #1]
5565:20190929:175614.220 server #16 started [poller #3]
5567:20190929:175614.230 server #18 started [poller #5]
5552:20190929:175614.242 server #3 started [timer #1]
5559:20190929:175614.244 server #10 started [escalator #1]
5568:20190929:175614.246 server #19 started [unreachable poller #1]
5577:20190929:175614.258 server #28 started [alerter #2]
5579:20190929:175614.259 server #30 started [preprocessing manager #1]
5582:20190929:175614.260 server #33 started [preprocessing worker #3]
5569:20190929:175614.268 server #20 started [trapper #1]
5572:20190929:175614.271 server #23 started [trapper #4]
5573:20190929:175614.275 server #24 started [trapper #5]
5581:20190929:175614.277 server #32 started [preprocessing worker #2]
5583:20190929:175614.278 server #34 started [lld manager #1]
5571:20190929:175614.278 server #22 started [trapper #3]
5584:20190929:175614.281 server #35 started [lld worker #1]
5580:20190929:175614.283 server #31 started [preprocessing worker #1]
5574:20190929:175614.283 server #25 started [icmp pinger #1]
5575:20190929:175614.284 server #26 started [alert manager #1]
5576:20190929:175614.285 server #27 started [alerter #1]
5578:20190929:175614.286 server #29 started [alerter #3]
5585:20190929:175614.286 server #36 started [lld worker #2]
5570:20190929:175614.287 server #21 started [trapper #2]
5565:20190929:175615.435 enabling Zabbix agent checks on host "Zabbix server": host became available
5555:20190929:175641.698 item "Zabbix server:zabbix[process,ipmi poller,avg,busy]" became not supported: No "ipmi poller" processes started.
5558:20190929:175642.709 item "Zabbix server:zabbix[process,java poller,avg,busy]" became not supported: No "java poller" processes started.
5558:20190929:175647.762 item "Zabbix server:zabbix[process,ipmi manager,avg,busy]" became not supported: No "ipmi manager" processes started.
5558:20190929:175647.762 item "Zabbix server:zabbix[process,snmp trapper,avg,busy]" became not supported: No "snmp trapper" processes started.
5557:20190929:175648.768 item "Zabbix server:zabbix[process,vmware collector,avg,busy]" became not supported: No "vmware collector" processes started.
5558:20190929:175655.807 item "Zabbix server:zabbix[vmware,buffer,pused]" became not supported: No "vmware collector" processes started.
5545:20190929:180627.338 Got signal [signal:15(SIGTERM),sender_pid:6384,sender_uid:0,reason:0]. Exiting ...
5555:20190929:180627.355 syncing history data in progress...
5555:20190929:180627.355 syncing history data done
5545:20190929:180627.393 syncing trend data...
5545:20190929:180627.396 syncing trend data done
5545:20190929:180627.397 Zabbix Server stopped. Zabbix 4.4.0beta1 (revision 52cc5f0786).
6390:20190929:180627.435 Starting Zabbix Server. Zabbix 4.4.0beta1 (revision 52cc5f0786).
6390:20190929:180627.435 ****** Enabled features ******
6390:20190929:180627.435 SNMP monitoring: YES
6390:20190929:180627.436 IPMI monitoring: YES
6390:20190929:180627.436 Web monitoring: YES
6390:20190929:180627.436 VMware monitoring: YES
6390:20190929:180627.436 SMTP authentication: YES
6390:20190929:180627.436 ODBC: YES
6390:20190929:180627.436 SSH2 support: YES
6390:20190929:180627.436 IPv6 support: YES
6390:20190929:180627.436 TLS support: YES
6390:20190929:180627.436 ******************************
6390:20190929:180627.436 using configuration file: /etc/zabbix/zabbix_server.conf
6390:20190929:180627.462 current database version (mandatory/optional): 04030035/04030035
6390:20190929:180627.462 required mandatory version: 04030035
6390:20190929:180627.493 server #0 started [main process]
6405:20190929:180627.510 server #5 started [discoverer #1]
6406:20190929:180627.532 server #6 started [history syncer #1]
6401:20190929:180627.532 server #1 started [configuration syncer #1]
6402:20190929:180627.533 server #2 started [housekeeper #1]
6403:20190929:180627.533 server #3 started [timer #1]
6407:20190929:180627.534 server #7 started [history syncer #2]
6408:20190929:180627.534 server #8 started [history syncer #3]
6409:20190929:180627.534 server #9 started [history syncer #4]
6404:20190929:180627.535 server #4 started [http poller #1]
6410:20190929:180627.536 server #10 started [escalator #1]
6411:20190929:180627.538 server #11 started [proxy poller #1]
6430:20190929:180627.542 server #30 started [preprocessing manager #1]
6414:20190929:180627.543 server #14 started [poller #1]
6416:20190929:180627.549 server #16 started [poller #3]
6417:20190929:180627.560 server #17 started [poller #4]
6419:20190929:180627.571 server #19 started [unreachable poller #1]
6422:20190929:180627.575 server #22 started [trapper #3]
6424:20190929:180627.578 server #24 started [trapper #5]
6425:20190929:180627.581 server #25 started [icmp pinger #1]
6434:20190929:180627.582 server #34 started [lld manager #1]
6415:20190929:180627.583 server #15 started [poller #2]
6412:20190929:180627.594 server #12 started [self-monitoring #1]
6426:20190929:180627.595 server #26 started [alert manager #1]
6413:20190929:180627.595 server #13 started [task manager #1]
6418:20190929:180627.596 server #18 started [poller #5]
6420:20190929:180627.599 server #20 started [trapper #1]
6423:20190929:180627.601 server #23 started [trapper #4]
6427:20190929:180627.604 server #27 started [alerter #1]
6428:20190929:180627.604 server #28 started [alerter #2]
6429:20190929:180627.604 server #29 started [alerter #3]
6421:20190929:180627.605 server #21 started [trapper #2]
6443:20190929:180627.643 server #35 started [lld worker #1]
6444:20190929:180627.664 server #36 started [lld worker #2]
6433:20190929:180628.051 server #33 started [preprocessing worker #3]
6432:20190929:180628.096 server #32 started [preprocessing worker #2]
6431:20190929:180628.119 server #31 started [preprocessing worker #1]
6390:20190929:181556.633 Got signal [signal:15(SIGTERM),sender_pid:7230,sender_uid:0,reason:0]. Exiting ...
6406:20190929:181556.642 syncing history data in progress...
6406:20190929:181556.653 syncing history data... 100.000000%
6406:20190929:181556.653 syncing history data done
6390:20190929:181556.706 syncing trend data...
6390:20190929:181556.725 syncing trend data done
6390:20190929:181556.725 Zabbix Server stopped. Zabbix 4.4.0beta1 (revision 52cc5f0786).
7236:20190929:181556.767 Starting Zabbix Server. Zabbix 4.4.0beta1 (revision 52cc5f0786).
7236:20190929:181556.767 ****** Enabled features ******
7236:20190929:181556.767 SNMP monitoring: YES
7236:20190929:181556.767 IPMI monitoring: YES
7236:20190929:181556.767 Web monitoring: YES
7236:20190929:181556.767 VMware monitoring: YES
7236:20190929:181556.767 SMTP authentication: YES
7236:20190929:181556.767 ODBC: YES
7236:20190929:181556.767 SSH2 support: YES
7236:20190929:181556.767 IPv6 support: YES
7236:20190929:181556.767 TLS support: YES
7236:20190929:181556.767 ******************************
7236:20190929:181556.767 using configuration file: /etc/zabbix/zabbix_server.conf
7236:20190929:181556.795 current database version (mandatory/optional): 04030035/04030035
7236:20190929:181556.795 required mandatory version: 04030035
7236:20190929:181556.829 server #0 started [main process]
7258:20190929:181556.857 server #12 started [self-monitoring #1]
7260:20190929:181556.858 server #14 started [vmware collector #2]
7262:20190929:181556.858 server #16 started [task manager #1]
7265:20190929:181556.859 server #19 started [poller #3]
7268:20190929:181556.875 server #22 started [unreachable poller #1]
7269:20190929:181556.886 server #23 started [trapper #1]
7259:20190929:181556.889 server #13 started [vmware collector #1]
7255:20190929:181556.890 server #9 started [history syncer #4]
7267:20190929:181556.890 server #21 started [poller #5]
7251:20190929:181556.901 server #5 started [discoverer #1]
7270:20190929:181556.912 server #24 started [trapper #2]
7247:20190929:181556.915 server #1 started [configuration syncer #1]
7248:20190929:181556.915 server #2 started [housekeeper #1]
7249:20190929:181556.916 server #3 started [timer #1]
7252:20190929:181556.916 server #6 started [history syncer #1]
7253:20190929:181556.917 server #7 started [history syncer #2]
7254:20190929:181556.917 server #8 started [history syncer #3]
7257:20190929:181556.918 server #11 started [proxy poller #1]
7261:20190929:181556.921 server #15 started [vmware collector #3]
7263:20190929:181556.921 server #17 started [poller #1]
7266:20190929:181556.932 server #20 started [poller #4]
7250:20190929:181556.943 server #4 started [http poller #1]
7256:20190929:181556.944 server #10 started [escalator #1]
7264:20190929:181556.947 server #18 started [poller #2]
7271:20190929:181556.957 server #25 started [trapper #3]
7285:20190929:181556.963 server #39 started [lld worker #2]
7279:20190929:181556.963 server #33 started [preprocessing manager #1]
7272:20190929:181556.964 server #26 started [trapper #4]
7278:20190929:181556.985 server #32 started [alerter #3]
7284:20190929:181556.986 server #38 started [lld worker #1]
7277:20190929:181556.986 server #31 started [alerter #2]
7273:20190929:181556.987 server #27 started [trapper #5]
7274:20190929:181556.990 server #28 started [icmp pinger #1]
7275:20190929:181556.990 server #29 started [alert manager #1]
7276:20190929:181556.991 server #30 started [alerter #1]
7283:20190929:181556.991 server #37 started [lld manager #1]
7280:20190929:181557.093 server #34 started [preprocessing worker #1]
7281:20190929:181557.093 server #35 started [preprocessing worker #2]
7282:20190929:181557.170 server #36 started [preprocessing worker #3]
7255:20190929:181848.917 item "Zabbix server:zabbix[process,vmware collector,avg,busy]" became supported
7254:20190929:182356.126 item "Zabbix server:zabbix[vmware,buffer,pused]" became supported
7248:20190929:184604.243 executing housekeeper
7248:20190929:184604.253 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.006128 sec, idle for 1 hour(s)]
[root@localhost ~]# service snmptrapd status
Redirecting to /bin/systemctl status snmptrapd.service
● snmptrapd.service - Simple Network Management Protocol (SNMP) Trap Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmptrapd.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2019-09-29 18:47:51 IST; 4min 50s ago
Main PID: 10729 (snmptrapd)
Tasks: 1
CGroup: /system.slice/snmptrapd.service
└─10729 /usr/sbin/snmptrapd -Lsd -f
Sep 29 18:47:51 localhost.localdomain systemd[1]: Starting Simple Network Man...
Sep 29 18:47:51 localhost.localdomain snmptrapd[10729]: Warning: no access co...
(Config search path...
This receiver will *N...
Sep 29 18:47:51 localhost.localdomain snmptrapd[10729]: NET-SNMP version 5.7.2
Sep 29 18:47:51 localhost.localdomain systemd[1]: Started Simple Network Mana...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]# service snmpd status
Redirecting to /bin/systemctl status snmpd.service
● snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2019-09-29 18:47:22 IST; 5min ago
Main PID: 10657 (snmpd)
Tasks: 1
CGroup: /system.slice/snmpd.service
└─10657 /usr/sbin/snmpd -LS0-6d -f
Sep 29 18:47:22 localhost.localdomain systemd[1]: Starting Simple Network Man...
Sep 29 18:47:22 localhost.localdomain snmpd[10657]: NET-SNMP version 5.7.2
Sep 29 18:47:22 localhost.localdomain systemd[1]: Started Simple Network Mana...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]# firewall-cmd --permanent --add-port=161/tcp
[root@localhost ~]# firewall-cmd --permanent --add-port=161/udp
success
[root@localhost ~]#
[root@localhost ~]# firewall-cmd --reload
success
[root@localhost ~]# snmpwalk -v 1 -c public -O e 192.168.0.106
SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (171537) 0:28:35.37
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (7) 0:00:00.07
SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.9 = OID: SNMP-NOTIFICATION-MIB::snmpNotifyFullCompliance
SNMPv2-MIB::sysORID.10 = OID: NOTIFICATION-LOG-MIB::notificationLogMIB
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.2 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.9 = STRING: The MIB modules for managing SNMP Notification, plus filtering.
SNMPv2-MIB::sysORDescr.10 = STRING: The MIB module for logging SNMP Notifications.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (7) 0:00:00.07
SNMPv2-MIB::sysORUpTime.10 = Timeticks: (7) 0:00:00.07
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (611095) 1:41:50.95
End of MIB
[root@localhost ~]#
Password:
The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # esxcli network firewall ruleset list
Name Enabled
------------------ -------
sshServer true
sshClient false
nfsClient false
dhcp true
dns true
snmp true
ntpClient false
CIMHttpServer true
CIMHttpsServer true
CIMSLP true
iSCSI false
vpxHeartbeats true
updateManager false
faultTolerance true
webAccess true
vMotion true
vSphereClient true
activeDirectoryAll false
NFC true
HBR true
ftpClient false
httpClient false
gdbserver false
DVFilter false
DHCPv6 true
DVSSync true
syslog false
IKED false
WOL true
vSPC false
remoteSerialPort false
vprobeServer false
rdt true
cmmds true
vsanvp true
rabbitmqproxy true
ipfam true
dynamicruleset true
~ #
root@localhost ~]# firewall-cmd --permanent --add-port=10051/tcp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=10051/udp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=10050/udp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=10050/tcp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=80/tcp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=443/tcp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=443/udp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=80/udp
success
[root@localhost ~]# firewall-cmd --reload
success
success
[root@localhost ~]# firewall-cmd --permanent --add-port=10051/udp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=10050/udp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=10050/tcp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=80/tcp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=443/tcp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=443/udp
success
[root@localhost ~]# firewall-cmd --permanent --add-port=80/udp
success
[root@localhost ~]# firewall-cmd --reload
success
~ # esxcli network firewall unload
~ # esxcli network firewall status
Error: Unknown command or namespace network firewall status
~ # esxcli network firewall list
Error: Unknown command or namespace network firewall list
~ # esxcli network firewall ruleset list
Sysinfo error on operation returned status : Vmkernel module necessary for this vsi call not loaded. Please see the VMkernel log for detailed error information
~ #
~ # esxcli network firewall status
Error: Unknown command or namespace network firewall status
~ # esxcli network firewall list
Error: Unknown command or namespace network firewall list
~ # esxcli network firewall ruleset list
Sysinfo error on operation returned status : Vmkernel module necessary for this vsi call not loaded. Please see the VMkernel log for detailed error information
~ #
VMware vCenter Server Appliance
root@192.168.0.104's password:
Last login: Sun Sep 29 16:52:44 UTC 2019 from 192.168.0.106 on pts/0
Last login: Sun Sep 29 17:27:01 2019 from 192.168.0.106
localhost:~ # zypper
Usage:
zypper [--global-options] <command> [--command-options] [arguments]
Global Options:
--help, -h Help.
--version, -V Output the version number.
--promptids Output a list of zypper's user prompts.
--config, -c <file> Use specified config file instead of the default.
--quiet, -q Suppress normal output, print only error
messages.
--verbose, -v Increase verbosity.
--no-abbrev, -A Do not abbreviate text in tables.
--table-style, -s Table style (integer).
--rug-compatible, -r Turn on rug compatibility.
--non-interactive, -n Do not ask anything, use default answers
automatically.
--non-interactive-include-reboot-patches
Do not treat patches as interactive, which have
the rebootSuggested-flag set.
--xmlout, -x Switch to XML output.
--reposd-dir, -D <dir> Use alternative repository definition file
directory.
--cache-dir, -C <dir> Use alternative directory for all caches.
--raw-cache-dir <dir> Use alternative raw meta-data cache directory.
--solv-cache-dir <dir> Use alternative solv file cache directory.
--pkg-cache-dir <dir> Use alternative package cache directory.
Repository Options:
--no-gpg-checks Ignore GPG check failures and continue.
--gpg-auto-import-keys Automatically trust and import new repository
signing keys.
--plus-repo, -p <URI> Use an additional repository.
--disable-repositories Do not read meta-data from repositories.
--no-refresh Do not refresh the repositories.
--no-cd Ignore CD/DVD repositories.
--no-remote Ignore remote repositories.
Target Options:
--root, -R <dir> Operate on a different root directory.
--disable-system-resolvables
Do not read installed packages.
Commands:
help, ? Print help.
shell, sh Accept multiple commands at once.
Repository Management:
repos, lr List all defined repositories.
addrepo, ar Add a new repository.
removerepo, rr Remove specified repository.
renamerepo, nr Rename specified repository.
modifyrepo, mr Modify specified repository.
refresh, ref Refresh all repositories.
clean Clean local caches.
Service Management:
services, ls List all defined services.
addservice, as Add a new service.
modifyservice, ms Modify specified service.
removeservice, rs Remove specified service.
refresh-services, refs Refresh all services.
Software Management:
install, in Install packages.
remove, rm Remove packages.
verify, ve Verify integrity of package dependencies.
source-install, si Install source packages and their build
dependencies.
install-new-recommends, inr
Install newly added packages recommended
by installed packages.
Update Management:
update, up Update installed packages with newer versions.
list-updates, lu List available updates.
patch Install needed patches.
list-patches, lp List needed patches.
dist-upgrade, dup Perform a distribution upgrade.
patch-check, pchk Check for patches.
Querying:
search, se Search for packages matching a pattern.
info, if Show full information for specified packages.
patch-info Show full information for specified patches.
pattern-info Show full information for specified patterns.
product-info Show full information for specified products.
patches, pch List all available patches.
packages, pa List all available packages.
patterns, pt List all available patterns.
products, pd List all available products.
what-provides, wp List packages providing specified capability.
Package Locks:
addlock, al Add a package lock.
removelock, rl Remove a package lock.
locks, ll List current package locks.
cleanlocks, cl Remove unused locks.
Other Commands:
versioncmp, vcmp Compare two version strings.
targetos, tos Print the target operating system ID string.
licenses Print report about licenses and EULAs of
installed packages.
Type 'zypper help <command>' to get command-specific help.
localhost:~ # zypper ar -f http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/ monitoring
Adding repository 'monitoring' [done]
Repository 'monitoring' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/
localhost:~ # zypper ref
Retrieving repository 'monitoring' metadata [\]
New repository or package signing key received:
Key ID: A5C23697EE454F98
Key Name: server:monitoring OBS Project <server:monitoring@build.opensuse.org>
Key Fingerprint: 8F3BC8EFF549CDCDA918D981A5C23697EE454F98
Key Created: Wed Aug 8 19:04:51 2018
Key Expires: Fri Oct 16 19:04:51 2020
Repository: monitoring
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r): a
Retrieving repository 'monitoring' metadata [done]
Building repository 'monitoring' cache [done]
All repositories have been refreshed.
localhost:~ # zypper se zabbix
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+--------------------------+-------------------------------------+-----------
| percona-zabbix-templates | Percona MySQL Monitoring Plugins -> | package
| zabbix | Enterprise-class open source dist-> | srcpackage
| zabbix-agent | The Zabbix agents | package
| zabbix-debuginfo | Debug information for package zab-> | package
| zabbix-debugsource | Debug sources for package zabbix | package
| zabbix-java-gateway | Zabbix java gateway | package
| zabbix-phpfrontend | Zabbix web frontend (php) | package
| zabbix-proxy | The Zabbix proxy | package
| zabbix-proxy-mysql | Zabbix proxy with MySQL support | package
| zabbix-proxy-postgresql | Zabbix proxy with PostgreSQL supp-> | package
| zabbix-proxy-sqlite | Zabbix proxy with SQLite support | package
| zabbix-server | The Zabbix server | package
| zabbix-server-mysql | Zabbix server with MySQL support | package
| zabbix-server-postgresql | Zabbix server with PostgreSQL sup-> | package
| zabbix-server-sqlite | Zabbix server with SQLite support | package
localhost:~ # zypper in zabbix-agent
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
zabbix-agent
1 new package to install.
Overall download size: 184.0 KiB. After the operation, additional 639.0 KiB
will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package zabbix-agent-2.2.14-2.1.x86_64 (1/1), 184.0 KiB (639.0 KiB unpacked)
Retrieving: zabbix-agent-2.2.14-2.1.x86_64.rpm [done (117.9 KiB/s)]
Installing: zabbix-agent-2.2.14-2.1 [done]
Additional rpm output:
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
localhost:~ # vi /etc/zabbix/zabbix-agent
zabbix-agent.conf zabbix-agentd.conf
localhost:~ # vi /etc/zabbix/zabbix-agent
zabbix-agent.conf zabbix-agentd.conf
localhost:~ # vi /etc/zabbix/zabbix-agent.conf
localhost:~ # service zabbix-agent-
zabbix-agent-2.2.0-2.el5.x86_64.rpm
zabbix-agent-2.2.10-1.el7.x86_64.rpm
zabbix-agent-3.0.0-1.el7.x86_64.rpm
zabbix-agent-4.4.0-0.4beta1.el7.x86_64.rpm
localhost:~ # service zabbix-agent start
service: no such service zabbix-agent
localhost:~ # cd /etc/init.d
localhost:/etc/init.d # ls
.depend.boot dhcp6r rc5.d
.depend.halt dhcp6s rc6.d
.depend.start dhcpd rcS.d
.depend.stop dhcpd6 reboot
README earlysyslog rpasswdd
after.local eventlogd rpcbind
apache2 fbset rpmconfigcheck
arpd gpm sendmail
atftpd haldaemon setserial
auditd halt single
autoyast halt.local skeleton
boot haveged skeleton.compat
boot.cgroup hyperic-hqee-agent splash
boot.cleanup irq_balancer splash_early
boot.clock jdk-7u3-linux-x64.rpm sshd
boot.compliance jexec stunnel
boot.crypto kbd syslog
boot.crypto-early ldap syslog-collector
boot.d lsassd uuidd
boot.debugfs lvm_wait_merge_snapshot vami-lighttp
boot.device-mapper lwiod vami-sfcb
boot.dmraid lwregd vaos
boot.ipconfig lwsmd vmcad
boot.klog mdadmd vmci
boot.ldconfig multipathd vmdird
boot.loadmodules netlogond vmkdcd
boot.local network vmware-inventoryservice
boot.localfs network-remotefs vmware-logbrowser
boot.localnet nfs vmware-netdumper
boot.lvm ntp vmware-rbd-watchdog
boot.lvm_monitor pcscd vmware-sps
boot.md powerd vmware-sts-idmd
boot.multipath powerfail vmware-stsd
boot.proc purge-kernels vmware-tools-services
boot.rootfsck random vmware-vpostgres
boot.swap raw vmware-vpxd
boot.sysctl rc vsock
boot.sysstat rc.orig vsphere-client
boot.udev rc0.d xinetd
boot.udev_retry rc1.d ypbind
cron rc2.d zabbix-agentd
dbus rc3.d
dcerpcd rc4.d
localhost:/etc/init.d # ./zabbix-agentd restart
Shutting down zabbix agentd done
Starting zabbix agentd done
localhost:/etc/init.d # chkconfig zabbix-agentd on
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: Service network is missed in the runlevels 4 to use service postgresql
insserv: Service syslog is missed in the runlevels 4 to use service postgresql
localhost:/etc/init.d #
root@192.168.0.104's password:
Last login: Sun Sep 29 16:52:44 UTC 2019 from 192.168.0.106 on pts/0
Last login: Sun Sep 29 17:27:01 2019 from 192.168.0.106
localhost:~ # zypper
Usage:
zypper [--global-options] <command> [--command-options] [arguments]
Global Options:
--help, -h Help.
--version, -V Output the version number.
--promptids Output a list of zypper's user prompts.
--config, -c <file> Use specified config file instead of the default.
--quiet, -q Suppress normal output, print only error
messages.
--verbose, -v Increase verbosity.
--no-abbrev, -A Do not abbreviate text in tables.
--table-style, -s Table style (integer).
--rug-compatible, -r Turn on rug compatibility.
--non-interactive, -n Do not ask anything, use default answers
automatically.
--non-interactive-include-reboot-patches
Do not treat patches as interactive, which have
the rebootSuggested-flag set.
--xmlout, -x Switch to XML output.
--reposd-dir, -D <dir> Use alternative repository definition file
directory.
--cache-dir, -C <dir> Use alternative directory for all caches.
--raw-cache-dir <dir> Use alternative raw meta-data cache directory.
--solv-cache-dir <dir> Use alternative solv file cache directory.
--pkg-cache-dir <dir> Use alternative package cache directory.
Repository Options:
--no-gpg-checks Ignore GPG check failures and continue.
--gpg-auto-import-keys Automatically trust and import new repository
signing keys.
--plus-repo, -p <URI> Use an additional repository.
--disable-repositories Do not read meta-data from repositories.
--no-refresh Do not refresh the repositories.
--no-cd Ignore CD/DVD repositories.
--no-remote Ignore remote repositories.
Target Options:
--root, -R <dir> Operate on a different root directory.
--disable-system-resolvables
Do not read installed packages.
Commands:
help, ? Print help.
shell, sh Accept multiple commands at once.
Repository Management:
repos, lr List all defined repositories.
addrepo, ar Add a new repository.
removerepo, rr Remove specified repository.
renamerepo, nr Rename specified repository.
modifyrepo, mr Modify specified repository.
refresh, ref Refresh all repositories.
clean Clean local caches.
Service Management:
services, ls List all defined services.
addservice, as Add a new service.
modifyservice, ms Modify specified service.
removeservice, rs Remove specified service.
refresh-services, refs Refresh all services.
Software Management:
install, in Install packages.
remove, rm Remove packages.
verify, ve Verify integrity of package dependencies.
source-install, si Install source packages and their build
dependencies.
install-new-recommends, inr
Install newly added packages recommended
by installed packages.
Update Management:
update, up Update installed packages with newer versions.
list-updates, lu List available updates.
patch Install needed patches.
list-patches, lp List needed patches.
dist-upgrade, dup Perform a distribution upgrade.
patch-check, pchk Check for patches.
Querying:
search, se Search for packages matching a pattern.
info, if Show full information for specified packages.
patch-info Show full information for specified patches.
pattern-info Show full information for specified patterns.
product-info Show full information for specified products.
patches, pch List all available patches.
packages, pa List all available packages.
patterns, pt List all available patterns.
products, pd List all available products.
what-provides, wp List packages providing specified capability.
Package Locks:
addlock, al Add a package lock.
removelock, rl Remove a package lock.
locks, ll List current package locks.
cleanlocks, cl Remove unused locks.
Other Commands:
versioncmp, vcmp Compare two version strings.
targetos, tos Print the target operating system ID string.
licenses Print report about licenses and EULAs of
installed packages.
Type 'zypper help <command>' to get command-specific help.
localhost:~ # zypper ar -f http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/ monitoring
Adding repository 'monitoring' [done]
Repository 'monitoring' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/
localhost:~ # zypper ref
Retrieving repository 'monitoring' metadata [\]
New repository or package signing key received:
Key ID: A5C23697EE454F98
Key Name: server:monitoring OBS Project <server:monitoring@build.opensuse.org>
Key Fingerprint: 8F3BC8EFF549CDCDA918D981A5C23697EE454F98
Key Created: Wed Aug 8 19:04:51 2018
Key Expires: Fri Oct 16 19:04:51 2020
Repository: monitoring
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r): a
Retrieving repository 'monitoring' metadata [done]
Building repository 'monitoring' cache [done]
All repositories have been refreshed.
localhost:~ # zypper se zabbix
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+--------------------------+-------------------------------------+-----------
| percona-zabbix-templates | Percona MySQL Monitoring Plugins -> | package
| zabbix | Enterprise-class open source dist-> | srcpackage
| zabbix-agent | The Zabbix agents | package
| zabbix-debuginfo | Debug information for package zab-> | package
| zabbix-debugsource | Debug sources for package zabbix | package
| zabbix-java-gateway | Zabbix java gateway | package
| zabbix-phpfrontend | Zabbix web frontend (php) | package
| zabbix-proxy | The Zabbix proxy | package
| zabbix-proxy-mysql | Zabbix proxy with MySQL support | package
| zabbix-proxy-postgresql | Zabbix proxy with PostgreSQL supp-> | package
| zabbix-proxy-sqlite | Zabbix proxy with SQLite support | package
| zabbix-server | The Zabbix server | package
| zabbix-server-mysql | Zabbix server with MySQL support | package
| zabbix-server-postgresql | Zabbix server with PostgreSQL sup-> | package
| zabbix-server-sqlite | Zabbix server with SQLite support | package
localhost:~ # zypper in zabbix-agent
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
zabbix-agent
1 new package to install.
Overall download size: 184.0 KiB. After the operation, additional 639.0 KiB
will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package zabbix-agent-2.2.14-2.1.x86_64 (1/1), 184.0 KiB (639.0 KiB unpacked)
Retrieving: zabbix-agent-2.2.14-2.1.x86_64.rpm [done (117.9 KiB/s)]
Installing: zabbix-agent-2.2.14-2.1 [done]
Additional rpm output:
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
localhost:~ # vi /etc/zabbix/zabbix-agent
zabbix-agent.conf zabbix-agentd.conf
localhost:~ # vi /etc/zabbix/zabbix-agent
zabbix-agent.conf zabbix-agentd.conf
localhost:~ # vi /etc/zabbix/zabbix-agent.conf
localhost:~ # service zabbix-agent-
zabbix-agent-2.2.0-2.el5.x86_64.rpm
zabbix-agent-2.2.10-1.el7.x86_64.rpm
zabbix-agent-3.0.0-1.el7.x86_64.rpm
zabbix-agent-4.4.0-0.4beta1.el7.x86_64.rpm
localhost:~ # service zabbix-agent start
service: no such service zabbix-agent
localhost:~ # cd /etc/init.d
localhost:/etc/init.d # ls
.depend.boot dhcp6r rc5.d
.depend.halt dhcp6s rc6.d
.depend.start dhcpd rcS.d
.depend.stop dhcpd6 reboot
README earlysyslog rpasswdd
after.local eventlogd rpcbind
apache2 fbset rpmconfigcheck
arpd gpm sendmail
atftpd haldaemon setserial
auditd halt single
autoyast halt.local skeleton
boot haveged skeleton.compat
boot.cgroup hyperic-hqee-agent splash
boot.cleanup irq_balancer splash_early
boot.clock jdk-7u3-linux-x64.rpm sshd
boot.compliance jexec stunnel
boot.crypto kbd syslog
boot.crypto-early ldap syslog-collector
boot.d lsassd uuidd
boot.debugfs lvm_wait_merge_snapshot vami-lighttp
boot.device-mapper lwiod vami-sfcb
boot.dmraid lwregd vaos
boot.ipconfig lwsmd vmcad
boot.klog mdadmd vmci
boot.ldconfig multipathd vmdird
boot.loadmodules netlogond vmkdcd
boot.local network vmware-inventoryservice
boot.localfs network-remotefs vmware-logbrowser
boot.localnet nfs vmware-netdumper
boot.lvm ntp vmware-rbd-watchdog
boot.lvm_monitor pcscd vmware-sps
boot.md powerd vmware-sts-idmd
boot.multipath powerfail vmware-stsd
boot.proc purge-kernels vmware-tools-services
boot.rootfsck random vmware-vpostgres
boot.swap raw vmware-vpxd
boot.sysctl rc vsock
boot.sysstat rc.orig vsphere-client
boot.udev rc0.d xinetd
boot.udev_retry rc1.d ypbind
cron rc2.d zabbix-agentd
dbus rc3.d
dcerpcd rc4.d
localhost:/etc/init.d # ./zabbix-agentd restart
Shutting down zabbix agentd done
Starting zabbix agentd done
localhost:/etc/init.d # chkconfig zabbix-agentd on
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: script jexec is broken: incomplete LSB comment.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: Service network is missed in the runlevels 4 to use service postgresql
insserv: Service syslog is missed in the runlevels 4 to use service postgresql
localhost:/etc/init.d #
Comments
Post a Comment