Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zabbix
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
zabbix
Commits
d7b11883
Commit
d7b11883
authored
Jul 05, 2023
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated zabbix to 5.4.2
parent
8133934c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
+18
-16
Makefile
Makefile
+18
-16
zabbix-5.4.2.tar.gz
zabbix-5.4.2.tar.gz
+0
-0
No files found.
Makefile
View file @
d7b11883
...
@@ -2,6 +2,8 @@ opiplus2e: opi
...
@@ -2,6 +2,8 @@ opiplus2e: opi
opipcplus
:
opi
opipcplus
:
opi
opi3lts
:
opi
odroidhc2
:
odroid
odroidhc2
:
odroid
amlogics905x
:
amlogic
amlogics905x
:
amlogic
...
@@ -9,10 +11,10 @@ amlogics905x: amlogic
...
@@ -9,10 +11,10 @@ amlogics905x: amlogic
agent
:
zabbix-agent-service zabbix-agent-config
agent
:
zabbix-agent-service zabbix-agent-config
groupadd
-g
26 zabbix
groupadd
-g
26 zabbix
useradd
-c
"Zabbix Monitoring System"
-d
/var/lib/zabbix
-g
zabbix
-s
/bin/false
-u
26 zabbix
useradd
-c
"Zabbix Monitoring System"
-d
/var/lib/zabbix
-g
zabbix
-s
/bin/false
-u
26 zabbix
tar
xf zabbix-5.
0.1
.tar.gz
tar
xf zabbix-5.
4.2
.tar.gz
cd
zabbix-5.
0.1
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--enable-agent
--with-openssl
cd
zabbix-5.
4.2
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--enable-agent
--with-openssl
$(MAKE)
-C
zabbix-5.
0.1
$(MAKE)
-C
zabbix-5.
4.2
$(MAKE)
-C
zabbix-5.
0.1
install
$(MAKE)
-C
zabbix-5.
4.2
install
install
-v
-Dm755
zabbix_agentd-configure /usr/sbin/zabbix_agentd-configure
install
-v
-Dm755
zabbix_agentd-configure /usr/sbin/zabbix_agentd-configure
sed
-e
's|.*PidFile=.*|PidFile=/run/zabbix/zabbix_agentd.pid|'
-i
/etc/zabbix_agentd.conf
sed
-e
's|.*PidFile=.*|PidFile=/run/zabbix/zabbix_agentd.pid|'
-i
/etc/zabbix_agentd.conf
sed
-e
's|.*LogType=.*|LogType=system|'
-i
/etc/zabbix_agentd.conf
sed
-e
's|.*LogType=.*|LogType=system|'
-i
/etc/zabbix_agentd.conf
...
@@ -29,7 +31,7 @@ agent: zabbix-agent-service zabbix-agent-config
...
@@ -29,7 +31,7 @@ agent: zabbix-agent-service zabbix-agent-config
systemctl
enable
zabbix-agent.service
systemctl
enable
zabbix-agent.service
@
echo
"
$$
ZABBIX_AGENT_CONFIG"
>>
/etc/config/zabbix
@
echo
"
$$
ZABBIX_AGENT_CONFIG"
>>
/etc/config/zabbix
install
-v
-Dm755
zabbix_agent /usr/share/easycwmp/functions/zabbix
install
-v
-Dm755
zabbix_agent /usr/share/easycwmp/functions/zabbix
rm
-rf
zabbix-5.
0.1
rm
-rf
zabbix-5.
4.2
zabbix-agent-service
:
zabbix-agent-service
:
define
ZABBIX_AGENT_SERVICE
define
ZABBIX_AGENT_SERVICE
...
@@ -104,10 +106,10 @@ amlogic:
...
@@ -104,10 +106,10 @@ amlogic:
sed
-e
'/^UserParameter=system\.hw\.temp.*/a UserParameter=system.cpu.freq.min,echo "`cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_min_freq`000"'
-i
/etc/zabbix_agentd.conf
sed
-e
'/^UserParameter=system\.hw\.temp.*/a UserParameter=system.cpu.freq.min,echo "`cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_min_freq`000"'
-i
/etc/zabbix_agentd.conf
server
:
zabbix-server-service zabbix-server-config httpd-conf
server
:
zabbix-server-service zabbix-server-config httpd-conf
tar
xf zabbix-5.
0.1
.tar.gz
tar
xf zabbix-5.
4.2
.tar.gz
cd
zabbix-5.
0.1
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--enable-server
--with-openssl
--with-mysql
--enable-ipv6
--with-net-snmp
--with-libcurl
--with-libxml2
--with-openipmi
cd
zabbix-5.
4.2
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--enable-server
--with-openssl
--with-mysql
--enable-ipv6
--with-net-snmp
--with-libcurl
--with-libxml2
--with-openipmi
$(MAKE)
-C
zabbix-5.
0.1
$(MAKE)
-C
zabbix-5.
4.2
$(MAKE)
-C
zabbix-5.
0.1
install
$(MAKE)
-C
zabbix-5.
4.2
install
install
-v
-Dm755
zabbix_server-configure /usr/sbin/zabbix_server-configure
install
-v
-Dm755
zabbix_server-configure /usr/sbin/zabbix_server-configure
sed
-e
's|.*LogType=.*|LogType=system|'
-i
/etc/zabbix_server.conf
sed
-e
's|.*LogType=.*|LogType=system|'
-i
/etc/zabbix_server.conf
sed
-e
's|^LogFile=.*|# LogFile=|'
-i
/etc/zabbix_server.conf
sed
-e
's|^LogFile=.*|# LogFile=|'
-i
/etc/zabbix_server.conf
...
@@ -117,7 +119,7 @@ server: zabbix-server-service zabbix-server-config httpd-conf
...
@@ -117,7 +119,7 @@ server: zabbix-server-service zabbix-server-config httpd-conf
sed
-e
's|^Timeout=.*|Timeout=10|'
-i
/etc/zabbix_server.conf
sed
-e
's|^Timeout=.*|Timeout=10|'
-i
/etc/zabbix_server.conf
sed
-e
's|^# Include=/usr/local/etc/zabbix_server\.conf\.d/\*\.conf|Include=/etc/zabbix_server.conf.d/*.conf|'
-i
/etc/zabbix_server.conf
sed
-e
's|^# Include=/usr/local/etc/zabbix_server\.conf\.d/\*\.conf|Include=/etc/zabbix_server.conf.d/*.conf|'
-i
/etc/zabbix_server.conf
sed
-e
's|^# StartIPMIPollers=0|StartIPMIPollers=1|'
-i
/etc/zabbix_server.conf
sed
-e
's|^# StartIPMIPollers=0|StartIPMIPollers=1|'
-i
/etc/zabbix_server.conf
cp
-rv
zabbix-5.
0.1/ui
/
*
/srv/www
cp
-rv
zabbix-5.
4.2/frontends/php
/
*
/srv/www
cp
zabbix.conf.php /srv/www/conf
cp
zabbix.conf.php /srv/www/conf
rm
/srv/www/conf/zabbix.conf.php.example
rm
/srv/www/conf/zabbix.conf.php.example
chown
-v
-R
apache:apache /srv/www
chown
-v
-R
apache:apache /srv/www
...
@@ -136,7 +138,7 @@ server: zabbix-server-service zabbix-server-config httpd-conf
...
@@ -136,7 +138,7 @@ server: zabbix-server-service zabbix-server-config httpd-conf
install
-v
-Dm755
zabbix_server /usr/share/easycwmp/functions/zabbix
install
-v
-Dm755
zabbix_server /usr/share/easycwmp/functions/zabbix
echo
"Defaults !requiretty"
>>
/etc/sudoers
echo
"Defaults !requiretty"
>>
/etc/sudoers
echo
"ALL ALL=(ALL) NOPASSWD: /usr/bin/nmap"
>>
/etc/sudoers
echo
"ALL ALL=(ALL) NOPASSWD: /usr/bin/nmap"
>>
/etc/sudoers
rm
-rf
zabbix-5.
0.1
rm
-rf
zabbix-5.
4.2
zabbix-server-service
:
zabbix-server-service
:
define
ZABBIX_SERVER_SERVICE
define
ZABBIX_SERVER_SERVICE
...
@@ -184,10 +186,10 @@ endef
...
@@ -184,10 +186,10 @@ endef
export
HTTPD_CONF
export
HTTPD_CONF
proxy
:
zabbix-proxy-service zabbix-proxy-config
proxy
:
zabbix-proxy-service zabbix-proxy-config
tar
xf zabbix-5.
0.1
.tar.gz
tar
xf zabbix-5.
4.2
.tar.gz
cd
zabbix-5.
0.1
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--enable-proxy
--with-openssl
--with-mysql
--enable-ipv6
--with-net-snmp
--with-libcurl
--with-libxml2
--with-openipmi
cd
zabbix-5.
4.2
&&
./configure
--prefix
=
/usr
--sysconfdir
=
/etc
--enable-proxy
--with-openssl
--with-mysql
--enable-ipv6
--with-net-snmp
--with-libcurl
--with-libxml2
--with-openipmi
$(MAKE)
-C
zabbix-5.
0.1
$(MAKE)
-C
zabbix-5.
4.2
$(MAKE)
-C
zabbix-5.
0.1
install
$(MAKE)
-C
zabbix-5.
4.2
install
install
-v
-Dm755
zabbix_proxy-configure /usr/sbin/zabbix_proxy-configure
install
-v
-Dm755
zabbix_proxy-configure /usr/sbin/zabbix_proxy-configure
sed
-e
's|^Server=.*|# Server=|'
-i
/etc/zabbix_proxy.conf
sed
-e
's|^Server=.*|# Server=|'
-i
/etc/zabbix_proxy.conf
sed
-e
's|^Hostname=.*|# Hostname=|'
-i
/etc/zabbix_proxy.conf
sed
-e
's|^Hostname=.*|# Hostname=|'
-i
/etc/zabbix_proxy.conf
...
@@ -208,7 +210,7 @@ proxy: zabbix-proxy-service zabbix-proxy-config
...
@@ -208,7 +210,7 @@ proxy: zabbix-proxy-service zabbix-proxy-config
install
-v
-Dm755
zabbix_proxy /usr/share/easycwmp/functions/zabbix
install
-v
-Dm755
zabbix_proxy /usr/share/easycwmp/functions/zabbix
echo
"Defaults !requiretty"
>>
/etc/sudoers
echo
"Defaults !requiretty"
>>
/etc/sudoers
echo
"ALL ALL=(ALL) NOPASSWD: /usr/bin/nmap"
>>
/etc/sudoers
echo
"ALL ALL=(ALL) NOPASSWD: /usr/bin/nmap"
>>
/etc/sudoers
rm
-rf
zabbix-5.
0.1
rm
-rf
zabbix-5.
4.2
zabbix-proxy-service
:
zabbix-proxy-service
:
define
ZABBIX_PROXY_SERVICE
define
ZABBIX_PROXY_SERVICE
...
...
zabbix-5.
0.1
.tar.gz
→
zabbix-5.
4.2
.tar.gz
View file @
d7b11883
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment