[ZBXNEXT-7490] Configuration file error DB type is not set. Created: 2022 Feb 14  Updated: 2022 Mar 01

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 5.0.19
Fix Version/s: None

Type: Change Request Priority: Critical
Reporter: zaky afham nugraha Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot_2.png    

 Description   

i'm using ubuntu 20.04 when i install it then it appears like this "Configuration file error DB type is not set." I need your help!!! how to solve it so I can install zabbix. thank you






[ZBXNEXT-1928] Add database consistency script or zabbix distribution Created: 2013 Sep 23  Updated: 2020 Jun 01

Status: Reopened
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 1.8.17
Fix Version/s: None

Type: New Feature Request Priority: Critical
Reporter: Marc Schoechlin Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 2
Labels: dbintegrity, installation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
Duplicate
duplicates ZBXNEXT-2539 DB structure should be checked on ser... Open

 Description   

Before migration to 2.0.8 i discovered that there were a number of broken triggger expressions.

I used the script from https://www.zabbix.com/wiki/scripts/db_consistency.sh.

Probably it would be a good idea to add this script to the zabbix distribution and to maintain it with the releases.



 Comments   
Comment by richlv [ 2013 Sep 23 ]

database inconsistencies should be much more rare with 2.0 - it introduced foreign keys and other checks. some are still possible, though (like application-item linkage in nested configuration etc)

Comment by Marc Schoechlin [ 2013 Sep 24 ]

Maybe the referenced script might be a reference for checks.

I fully agree, preventing problems is better than discovering problems





[ZBXNEXT-4538] Need Oracle DB with Zabbix 2.0.17 installation document and requred rpm details Created: 2018 May 04  Updated: 2018 May 04

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: manjunatha Assignee: Zabbix Support Team
Resolution: Unresolved Votes: 0
Labels: actions
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

DB : Oracle
OS: Linux 6.9
Zabbix Version : 2.0.17 (JDA supports only this version )


Story Points: 2

 Description   

Steps to reproduce:

  1. Changes in configuration...
  2. Navigate to screen title...
  3. Click on screen element...
  4. ...

Result:
See screenshot...
See log file...
See memory dump...
Expected:
See screenshot....
See attached patch file...



 Comments   
Comment by Alexey Pustovalov [ 2018 May 04 ]

Unfortunately we do not provide Zabbix with Oracle support packages currently. You need compile it yourself.

Comment by manjunatha [ 2018 May 04 ]

Hi Alexey,

I saw the in zabbix forma . it supports One of: IBM DB2, MySQL, Oracle, PostgreSQL, SQLit. But I don't find installation step for oracle. If you any referral doc, Can you please share to me.

Comment by Alexey Pustovalov [ 2018 May 04 ]

Please use this one: https://www.zabbix.com/documentation/3.4/manual/installation/install





[ZBXNEXT-3781] Add Dockerfiles for Zabbix proxies with Postgres backends Created: 2017 Apr 09  Updated: 2017 Apr 09

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Major
Reporter: Marc Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: PostgreSQL, docker
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Simply because Zabbix should also offer Dockerfiles for the world's most advanced open source database as well






[ZBXNEXT-3754] Convert old trigger hysteresis and drop {TRIGGER.VALUE} support in trigger expressions Created: 2017 Mar 22  Updated: 2017 May 31

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F), Installation (I), Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Glebs Ivanovskis (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: hysteresis, recoveryexpression, upgrade
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

{TRIGGER.VALUE} is still being used for trigger hysteresis while there is a new and supposedly better way to achieve the same result, namely Recovery expression. As a result we need to support two ways of doing the same thing.

Conversion algorithm should be derived and implemented in DB upgrade and XML import.



 Comments   
Comment by Andrey Melnikov [ 2017 Mar 22 ]

Better create function between($a,$b) to avoid write multiple expressions for each trigger.





[ZBXNEXT-3744] orabbix cannot be installed on solaris Created: 2017 Mar 16  Updated: 2017 Mar 17

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Major
Reporter: lihua Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

install orabbix3.0.1 on solaris 10 failed



 Description   

I failed to install orabbix3.0.1 on solaris 10 ?I cannot get any information from database, only use orders get information from database,then use zabbix agent get key from OS files.



 Comments   
Comment by Marc [ 2017 Mar 16 ]

Note that Orabbix is a 3rd party product. I suggest to take a look at the Zabbix forum. There you'll find some threads dealing with Orabbix.

Comment by lihua [ 2017 Mar 17 ]

thanks.
can u enjoy the best practice to monitor oracle database on solaris?

Comment by Marc [ 2017 Mar 17 ]

I suggest to get in touch with the Zabbix community or to request consultancy by Zabbix LLC.





[ZBXNEXT-822] Separation table items, remove frequently changed fields Created: 2011 Jun 19  Updated: 2013 Dec 28

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Installation (I), Proxy (P), Server (S)
Affects Version/s: 1.9.4 (alpha)
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Unresolved Votes: 3
Labels: items, patch, performance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

PostgreSQL


Attachments: File zbx_part_items.diff     File zbx_part_server.diff    
Issue Links:
Duplicate

 Description   

Due to the fact that many items in the table fields that change frequently in the versioned database accumulates a lot of garbage + often blocked the necessary lines. The patch fixes this problem by changing some fields (such as lastvalue) made in a separate table.

At the moment, the changes are tested on the table items 7GB in size and the number of items about 800k.

You may need to refactoring the patch.



 Comments   
Comment by Alexey Pustovalov [ 2011 Jun 19 ]

I would like to know the opinion of the developers on this issue

Comment by Gurnish Anand [ 2013 Feb 22 ]

can this patch be applied on 2.0.2?
we still see deadlocks on items table.

6295:20130221:234529.230 [Z3005] query failed: [1213] Deadlock found when trying to get lock; try restarting transaction [update i
tems set name='Fax failed train for "4"',key_='rcProviderFaxFailedTrain["4"]',type=4,value_type=3,data_type=0,delay=120,delay_flex='
',history=30,trends=180,trapper_hosts='',units='',multiplier=0,delta=0,formula='1',logtimefmt='',valuemapid=null,params='',ipmi_sens
or='',snmp_community='public',snmp_oid='SNMPv2-SMI::enterprises.31232.1001.30.1.7.1.52',port='1161',snmpv3_securityname='',snmpv3_se
curitylevel=0,snmpv3_authpassphrase='',snmpv3_privpassphrase='',authtype=0,username='',password='',publickey='',privatekey='',descri
ption='',interfaceid=100100000034552,flags=4 where itemid=100100000596516;

Comment by Oleksii Zagorskyi [ 2013 Mar 27 ]

ZBXNEXT-822 ZBXNEXT-1689 asks about something related.

Comment by Alexei Vladishev [ 2013 Apr 01 ]

I think you mean ZBXNEXT-1689

zalex_ua ohh, indeed, it was a typo . thanks, fixed !

Comment by richlv [ 2013 Apr 13 ]

i believe ZBXNEXT-1689 should solve this - can we close this issue ?
dotneft I think we have to wait when ZBXNEXT-1689 will be implemented and if it'll help we'll be able to close the issue.





[ZBXNEXT-3779] Add optional HTTP proxy support for local builds by docker-compose Created: 2017 Apr 06  Updated: 2021 Aug 14

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Marc Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: docker, docker-compose, httpproxy, svn
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File ZbxNext3779.diff    
Issue Links:
Duplicate

 Description   

The "...local.yaml" docker-compose files offer a way to build working Zabbix environments from scratch in a very easy manner - by firing a single command.

In many companies there is no direct internet access available. Instead one has to use a HTTP proxy.

Unfortunately it's not just about adding some "*_proxy" environment variables as the SVN protocol cannot be tunneled out-of-the-box through an HTTP proxy.
Obvious options to me are either switching from SVN to HTTP(S) or making use of an HTTP CONNECT tunnel application inside the containers.



 Comments   
Comment by Marc [ 2017 Apr 09 ]

Attached file ZbxNext3779.diff adds optional HTTP proxy support to local builds.
In order to do local builds behind a HTTP proxy, it just needs to properly set the shell variables http_proxy and https_proxy in advance of running docker-compose. The latter will be also used to tunnel Subversion connections.

Some explanations...

Consideration of http_proxy, resp. https_proxy environment variables:

--- a/docker-compose_v2_alpine_pgsql_local.yaml
+++ b/docker-compose_v2_alpine_pgsql_local.yaml
@@ -1,7 +1,11 @@
 version: '2'
 services:
  zabbix-server:
-  build: ./server-pgsql/alpine
+  build:
+   context: ./server-pgsql/alpine
+   args:
+    - http_proxy=${http_proxy}
+    - https_proxy=${https_proxy}
   image: zabbix-server-pgsql:alpine-local
   ports:
    - "10051:10051"
--- a/server-pgsql/alpine/Dockerfile
+++ b/server-pgsql/alpine/Dockerfile
@@ -5,6 +5,8 @@ ARG APK_FLAGS_COMMON="-q"
 ARG APK_FLAGS_PERSISTANT="${APK_FLAGS_COMMON} --clean-protected --no-cache"
 ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache"
 ARG DB_TYPE=postgresql
+ARG http_proxy
+ARG https_proxy
 ENV TERM=xterm
 ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL

Tunneling of the Subversion protocol via Netcat through a HTTP proxy:

@@ -41,6 +43,7 @@ RUN addgroup zabbix && \
             libldap \
             libcurl \
             openipmi-libs \
+            netcat-openbsd \
             libssh2 && \
     rm -rf /var/cache/apk/*

@@ -49,7 +52,19 @@ ARG ZBX_VERSION=${MAJOR_VERSION}.4
 ARG ZBX_SOURCES=svn://svn.zabbix.com/tags/${ZBX_VERSION}/
 ENV ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES} DB_TYPE=${DB_TYPE}

-RUN apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
+RUN [ $https_proxy ] && { \
+      PXY_HOST=$( echo $https_proxy | sed -rn 's%^([^:]+://)?([^/:]+)(:[0-9]+)?.*%\2%p' ) ; \
+      PXY_PORT=$( echo $https_proxy | sed -rn 's%^([^:]+://)?([^/:]+)(:([0-9]+))?.*%\4%p' ) ; \
+      SVN_PROXY=${PXY_HOST}:${PXY_PORT:-3128} ; \
+      SVN_HOST=$( echo $ZBX_SOURCES | sed -rn 's%^([^:]+://)?([^/:]+)(:[0-9]+)?.*%\2%p' ) ; \
+      SVN_PORT=$( echo $ZBX_SOURCES | sed -rn 's%^([^:]+://)?([^/:]+)(:[0-9]+)?.*%\3%p' ) ; \
+      SVN_PORT=${SVN_PORT:-3690} ; \
+      ZBX_SOURCES=$( echo $ZBX_SOURCES | sed -rn 's%^([^:]+://)?([^/:]+)(:[0-9]+)?(.*)%\1127.0.0.1\4%p' ) ; \
+      SVN_PIPE=$( mktemp -ut svn-proxy.XXXXXXXXXX ) ; \
+      mkfifo $SVN_PIPE ; \
+      nc -klw3 3690 < $SVN_PIPE | nc -X connect -x "$SVN_PROXY" "$SVN_HOST" "$SVN_PORT" > $SVN_PIPE & \
+    } ; \
+    apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
             alpine-sdk \
             coreutils \
             automake \
@@ -100,7 +115,8 @@ RUN apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
     rm -rf /tmp/zabbix-${ZBX_VERSION}/ && \
     apk del ${APK_FLAGS_COMMON} --purge \
             build-dependencies && \
-    rm -rf /var/cache/apk/*
+    rm -rf /var/cache/apk/* && \
+    [ -e $SVN_PIPE ] && rm -f $SVN_PIPE

 EXPOSE 10051/TCP 162/UDP

Comment by Marc [ 2017 Apr 10 ]

For the record, the installation of netcat-openbsd is only required for Alpine based images.





[ZBXNEXT-2070] LLD graphs name truncated Created: 2013 Dec 12  Updated: 2023 Jun 06

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.2.0
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Andrey Melnikov Assignee: Unassigned
Resolution: Unresolved Votes: 22
Labels: database, fieldlength, graphs, lld
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBXNEXT-7751 Cannot create graph - value is too long Closed
is duplicated by ZBX-9212 Increase graph name from 128 characters Closed

 Description   

128 byte field for graph name in sql database is not enough.
When I use LLD with graphs prototype defined as 'Traffic on interface {#SNMPVALUE} {{HOST.HOST}:ifAlias{#SNMPVALUE}.last(0)}'
when server expand #SNMPVALUE to real value 'D-Link DGS-3120-24SC R1.02.013 Port 24 on Unit 1' - graph name truncated.
Expanding row to 255 bytes helps.



 Comments   
Comment by Chris Reynolds [ 2016 Jul 19 ]

Is this just a case of changing the schema file supplied so the type is varchar (255)?

Comment by Shriharsh Thanvi [ 2016 Sep 16 ]

Can we identify the area / impact of the change in question ?
It looks very quick fix on the face of it.

Comment by Shriharsh Thanvi [ 2016 Sep 21 ]

I attempted to change the DB schema, along with the schema file.
I was able to create a trigger prototype with max 255 characters.
But unfortunately, the change in graph prototype was not reflected when we push the values.
It looks like some more validation is also done at the backend c-libraries, created at the time of compilation.

Comment by Kirill H [ 2017 Oct 12 ]

Frankly, I'd say, that it should be 512 char. Just to be safe. ISP/DC level switchport descriptions are impacted by it.

Comment by sbindley [ 2018 Feb 23 ]

I think it's because of this https://support.zabbix.com/browse/ZBX-5687 issue that is closed and won't be fixed?

It would be good to go ahead and create the graph and truncate the name at 128 characters, then instead of showing in the info column in the discovery rule that a graph was not created because of the length, that it was created but the name truncated. That way you at least get the graph without having to go create it manually with a shorter name.

Changing the column length doesn't do anything, it's coded somewhere to check the length and reject it over 128 characters.

Comment by Billy Farrington [ 2020 Aug 31 ]

We're in the process of implementing Zabbix across our network. Currently we have 1000+ devices in Zabbix with 8000+ more planned, and we're running into this specific issue. Going through thousands of devices and renaming interfaces to fit within the 128 character limit is a hard stop for us for two reasons:

1. It would negatively impact several departments who use these interface names to identify circuits

2. It would be a massive undertaking to log into all of these devices and rename interfaces, which defeats the purpose of LLD.

 

Manually identifying missing graphs and creating them by hand is equally problematic. Ideally these graphs could be added with a truncated name, as suggested by sbindley. We will have to consider alternative solutions without it.

Having looked at the source briefly it appears this is limited by GRAPH_NAME_LEN within include/db.h as well as the name column width in the database table definition. For now I'm going to do some experimentation and see what kind of issues we run into with increasing these values, but an official solution would be perferred.

Comment by Andrey Melnikov [ 2020 Aug 31 ]

> GRAPH_NAME_LEN within include/db.h as well as the name column width in the database table definition
No, you find only half part of iceberg. You must also hack 128 byte limit in src/libs/zbxdbhigh/dbschema.c and include/schema.inc.php - enjoy real-time validation!

> official solution would be perferred.
Four years official solution is "not a problem for us" (C)

Comment by Billy Farrington [ 2020 Sep 01 ]

Thanks. I had found include/schema.inc.php already but not the other one. I decided instead that it might be easier to come at the problem before it gets there. It's an ugly hack, but I'm working on having it truncate the initial snmp query response for ifAlias before it gets passed in. That way it avoids the character limit issue.

Comment by Josh Rogers [ 2023 Jun 06 ]

@Billy, I'm interested in your stop-gap solution of truncating the ifalias.  Were you able to get that working, and can you provide patch files?

Comment by Billy Farrington [ 2023 Jun 06 ]

@Josh, yes and no. Yes I was able to get it working and it has been doing well ever since, but no I don't recall exactly what it was I had done to resolve this particular error. I've made a bunch of other changes and added new views and API extensions since then to better suit our needs, so it's a bit hard to tell what is original and what isn't at this point. I'll do some poking around in it and see if anything refreshes my memory.

Comment by Billy Farrington [ 2023 Jun 06 ]

Looks like what I ended up doing was in /src/libs/zbxdbhigh/host.c and /src/libs/zbxdbhigh/lld_graph.c I checked the length of the graph name and truncated it if necessary right before the insert and update queries are generated. Someone else could very likely do a better job of it than I have, and it should be using the value from dbschema.c instead of a hard-coded length. I simply cut off the end and added a '...' to indicate that it was truncated. Obviously use this info at your own risk.

/src/libs/zbxdbhigh/host.c:

 

                if (strlen(name_esc) > 127) {
                        char *nCpy = malloc(sizeof(char) * 124);
                        strncpy(nCpy, name_esc, 124);
                        strcat(nCpy, "...");
                        strcpy(name_esc, nCpy);
                }
                zbx_snprintf_alloc(&sql, &sql_alloc, &sql_offset,
                                "insert into graphs"
                                " (graphid,name,width,height,yaxismin,yaxismax,templateid,"
                                "show_work_period,show_triggers,graphtype,show_legend,"
                                "show_3d,percent_left,percent_right,ymin_type,ymax_type,"

 

                if (strlen(name_esc) > 127) {
                        char *nCpy = malloc(sizeof(char) * 124);
                        strncpy(nCpy, name_esc, 124);
                        strcat(nCpy, "...");
                        strcpy(name_esc, nCpy);
                }

                zbx_snprintf_alloc(&sql, &sql_alloc, &sql_offset,
                                "update graphs"
                                " set name='%s',"
                                        "width=%d,"
                                        "height=%d,"
                                        "yaxismin=" ZBX_FS_DBL ","

/src/libs/zbxdbhigh/lld_graph.c:

                        zbx_strcpy_alloc(&sql, &sql_alloc, &sql_offset, "update graphs set ");
                        if (0 != (graph->flags & ZBX_FLAG_LLD_GRAPH_UPDATE_NAME))
                        {
                                name_esc = DBdyn_escape_string(graph->name);

                                if (strlen(name_esc) > 127) {
                                        char *nCpy = malloc(sizeof(char) * 124);
                                        strncpy(nCpy, name_esc, 124);
                                        strcat(nCpy, "...");
                                        strcpy(name_esc, nCpy);
                                }

                                zbx_snprintf_alloc(&sql, &sql_alloc, &sql_offset, "name='%s'", name_esc);
                                zbx_free(name_esc);
                                d = ",";
                        }
 

 





[ZBXNEXT-2825] User and user group description fields Created: 2015 May 22  Updated: 2023 Sep 07

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F), Installation (I)
Affects Version/s: 2.4.5
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: OdinZabbix Assignee: Unassigned
Resolution: Unresolved Votes: 8
Labels: users
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBXNEXT-6570 Add a 'Description' field to 'Host gr... Closed

 Description   

Add user description field on the user creation screen and user group description on the user group creation screen.
It allows to describe the purpose of all users. For example, if I added some user for test purposes and want to inform my colleagues do not delete it for a couple of days.



 Comments   
Comment by richlv [ 2015 May 22 ]

description for :

Comment by Nathan Liefting [ 2022 Aug 19 ]

This is definitely a nice quick easy addition!

Comment by Galo Xucro [ 2022 Nov 16 ]

It looks trivial to add a description field, with minimal impact on database and other features.

In large installations, it's necessary to document the purpose of each usergroup and some users: why was it created for? permissions? alerting? dashboards? api access?.

Zabbix configuration should allow for some kind of auto-documenting, it'd make the life of Zabbix administrators easier.

Comment by sbindley [ 2023 Sep 07 ]

if not a description field, then a tags field. this would allow to add tags for short description, expiration dates, a temp flag, etc.





[ZBXNEXT-2587] zabbix Packages: error due seem autenticate like mysql when postgresql case for server Created: 2014 Nov 11  Updated: 2017 May 31

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: PICCORO Lenz McKAY Assignee: Kodai Terashima
Resolution: Unresolved Votes: 0
Labels: packaging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

when deinstalled but with purge case the packages of zabbix-server postrm process do not remove the database:

dbconfig-common: dropping pgsql database zabbix.
dropping database zabbix: does not exist.
dbconfig-common: revoking privileges for user zabbix on zabbix.
revoking access to database zabbix from zabbix@localhost: failed.

i'll try to also post a solution here but i cannot see the problem when occurs.. so i only post the error when uninstall

for mysql case do not have errors... so this are my suspect.. i dont know why this poor dbms (related to scaled dbms such like oracle or postgres) have so support and do not take cares on cases such postgresql



 Comments   
Comment by PICCORO Lenz McKAY [ 2014 Nov 12 ]

umm i search something and i think in script uninstall of debian we must parse the db type as "psql" but i dont know where exactly..





[ZBXNEXT-2335] The message size of alert on IBM DB2 is too small. Created: 2014 Jun 08  Updated: 2017 Aug 02

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I), Server (S)
Affects Version/s: 2.2.3
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Oleg Ivanivskyi Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: alerts, db2, messages
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

IBM DB2


Issue Links:
Duplicate

 Description   

The "message" (alerts) and "value" (history_text) field type on MySQL and PostgreSQL are "text", on IBM DB2 - varchar(2048).

The field type on IBM DB2 could be fixed.



 Comments   
Comment by Aleksandrs Saveljevs [ 2014 Jun 10 ]

ZBX-8328 is related, but asks for proper UTF-8 character support in varchar(N).





[ZBXNEXT-4762] Install Zabbix agent 3.2 on Solaris 10 zone Created: 2018 Sep 27  Updated: 2023 May 11

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Major
Reporter: Shashank Lokeshwar Assignee: Rostislav Palivoda
Resolution: Unresolved Votes: 6
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris 10



 Description   

Hi,

Please send across the steps to install Zabbix agent on a Solaris 10 zone.

Regards,

Shashank

 



 Comments   
Comment by dimir [ 2018 Oct 15 ]

palivoda, any idea if we will provide pre-compiled agents for Solaris?

https://www.zabbix.com/download_agents

Comment by richlv [ 2019 Oct 20 ]

Was also asked in ZBXNEXT-4632.





[ZBXNEXT-4897] Add relocate option to zabbix rpms during installation Created: 2018 Dec 04  Updated: 2019 Mar 26

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 3.0.23
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Adrian LIN Assignee: dimir
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File zabbix.spec    

 Description   

By default, zabbix rpms are only allowed to be installed at default path. It follows the basic Linux file system standard. But for certain customers, the zabbix assets are preferred to be installed in customized directory.

So we add Prefix option in zabbix.spec file and some steps in post & postun phases to enable the relocate option during the rpm installation. The spec file modification is based on 3.0.19 version. And hope this could be added as a default config since no harm to logic.



 Comments   
Comment by Adrian LIN [ 2018 Dec 06 ]

Hi,

Since I can only find it at repo: https://repo.zabbix.com/zabbix/3.0/rhel/7/SRPMS/  as a rpm.

Any way I can find an official link to the source code of this?

Comment by dimir [ 2018 Dec 06 ]

svn://svn.zabbix.com

Comment by Gergely Csatari [ 2019 Jan 10 ]

Can you please tell us in which Zabbix release will this change be available?

Comment by dimir [ 2019 Mar 25 ]

From the Fedora docs:

The use of RPM’s facility for generating relocatable packages is strongly discouraged. It is difficult to make work properly, impossible to use from the installer or from yum, and not generally necessary if other packaging guidelines are followed. However, in the unlikely event that you have a good reason to make a package relocatable, you MUST state this intent and reasoning in the request for package review.

Thus I'm not sure we should do it.

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_relocatable_packages

Comment by Adrian LIN [ 2019 Mar 26 ]

The real reason for this is that some users only grant permission of a single directory to zabbix. They prefer all content from zabbix are placed at the same place, not spreading out  as the default configuration. They will use the rpm installation instead of yum.

So it would be appreciated to keep the option, though may not be used commonly.  





[ZBXNEXT-8925] Set PHP 8.0 as minimum version in Zabbix 7.0 Created: 2024 Jan 08  Updated: 2024 Mar 06

Status: Doc. sign-off
Project: ZABBIX FEATURE REQUESTS
Component/s: Documentation (D), Frontend (F), Installation (I), Packages (C)
Affects Version/s: None
Fix Version/s: 7.0.0beta1, 7.0 (plan)

Type: Change Request Priority: Major
Reporter: Alexander Vladishev Assignee: Jurijs Klopovskis
Resolution: Unresolved Votes: 0
Labels: requirements
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Product delivery backlog, S2401
Story Points: 0.125

 Description   

Set PHP 8.0 as minimum version in Zabbix 7.0

Support for Frontend and Server will be dropped in:

  • Debian/Raspbian <= 11
  • ...


 Comments   
Comment by Eliza Sekace [ 2024 Jan 26 ]

Implemented in development branch feature/ZBXNEXT-8925-6.5

Comment by Eliza Sekace [ 2024 Jan 26 ]

Implemented in 7.0.0beta1 (master) f881b5aae8e

Comment by Marianna Zvaigzne [ 2024 Feb 02 ]

Documentation updated (7.0):





[ZBXNEXT-5335] Change Oracle table schemes NVARCHAR2/NCLOB column types Created: 2019 Jul 25  Updated: 2024 Apr 10

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Gatis Rumbens Assignee: Michael Veksler
Resolution: Unresolved Votes: 8
Labels: database, oracle, rdbms
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL7, Oracle 19.3


Issue Links:
Causes
Duplicate
Sub-task
part of ZBX-19604 Error cloning template "Template DB O... Closed
Team: Team B
Team: Team B

 Description   

If you try to create in Oracle RDBMS Zabbix users, table space i.e from provided Zabbix creation scripts on modern Oracle RDBMS (let say starting from 12c (12.2) and have not read the related Zabbix documentation that we need a 1-2byte unicode (UTF-8) on Unicode national characters probably You will fail with error like that.

description nvarchar2(2048) DEFAULT '' ,
*
ERROR at line 5:
ORA-00910: specified length too long for its datatype

The NVARCHAR2 datatype was introduced a long time ago by Oracle for databases that want to use Unicode for some columns while keeping another character set for the rest of the database (which uses VARCHAR2). The NVARCHAR2 is a Unicode-only datatype. It was actual with RDBMS version < 10. Theoretically it was more relevant in old RDBMS versions where used non-Unicode encoding on DB - but instead use national encoding. For an example: BLT8MSWIN1257 (Baltic states 8 bit windows-1257 code page).

Starting with Oracle Database 12c Release 2 (12.2), the default database character set of a database created from the General Purpose/Transaction Processing or the Data Warehousing template is Unicode AL32UTF8 and Unicode national character set is AL16UTF16 by default. Oracle recommends that you use Unicode AL32UTF8 as the database character set and AL16UTF16 as national character set.

The NVARCHAR2 column, which uses the NLS_NCHAR_CHARACTERSET which will almost always be AL16UTF16 for now is really only useful in a couple of cases. The first, and by far most common, is when you have a legacy application whose NLS_CHARACTERSET doesn't support Unicode and cannot be migrated to Unicode but where you want to support Unicode data in a handful of columns. That's not the case here. The second would be when the database does support Unicode but you want to use the UTF-16 encoding for some reason such as the ability to store primarily Japanese and Chinese data using mostly 2 bytes per character in UTF-16 rather than 3 bytes per character in UTF-8. But if you do that, you're still (barring 12.2 and the ability to have 32k VARCHAR2 columns) limited to 4000 bytes (2000 characters in a UTF-16 column). Hence the error when you try to define NVARCHAR2(4000) which would need at least 8000 bytes to store 4000 characters. If you do need to store more than 4000 bytes of data and you're using Oracle 11.2 or later, you'd have to use a LOB data type (NCLOB).

If your NLS_CHARACTERSET is AL32UTF8, any VARCHAR2 column will support Unicode (via the UTF-8 encoding). In 99.9% of cases, you'd never want to create an NVARCHAR2 column at all now days.

So but what to do if You still want to use Zabbix provided scripts on already working root container CDB database. Thanks Oracle that now we can use different encoding in a root container database (CDB) an pluggable database (PDB). So we can create another PDB with NLS_NCHAR_CHARACTERSET=UTF-8 - there is no problem.

But what to do when You can't do that or Your DBA will not do that. Is it possible change current (working CDB) from AL16UTF16 to UTF-8?

It's possible...but do it on your own risk. I'm recommend that you perform a full database backup before changing the national character set!!! It is always not better choice to use 'ALTER DATABASE' command to change the character set

Like the database character set, the national character set is defined when the database is initially created and can usually no longer be changed, at least not easily or without involving quite a lot of work.

One of the options:

[oracle@ora19 root]$ rlwrap sqlplus / AS SYSDBA
SQL> select parameter,value from v$nls_parameters where parameter='NLS_CHARACTERSET' or parameter='NLS_NCHAR_CHARACTERSET';

PARAMETER
----------------------------------------------------------------
VALUE
----------------------------------------------------------------
NLS_CHARACTERSET
AL32UTF8

NLS_NCHAR_CHARACTERSET
AL16UTF16

SQL> Select owner, table_name, column_name from dba_tab_columns where (data_type = 'NCHAR' or data_type = 'NVARCHAR2' or data_type = 'NCLOB') and owner != 'SYS' and owner != 'SYSTEM';
TIP for information

If there are no table columns of the types NCHAR, NVARCHAR2 or NCLOB on the database, you can change the national character set without encountering any problems. However, if the database contains tables with NCHAR data type columns, you should perform a check to see whether these columns also contain data. You have an option ALTER those columns to non national encoding, remove data etc. So if there is no data ALTER DATABASE NATIONAL CHARACTER SET UTF8 will work.

SQL> SHUTDOWN IMMEDIATE;
SQL> STARTUP MOUNT;
SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0 SCOPE = MEMORY;
SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0 SCOPE = MEMORY;
SQL> ALTER DATABASE OPEN;
SQL> ALTER DATABASE NATIONAL CHARACTER SET UTF8;

If there is no Errors like:

ALTER DATABASE NATIONAL CHARACTER SET UTF8
*
ERROR at line 1:
ORA-12717: Cannot issue ALTER DATABASE NATIONAL CHARACTER SET when NCLOB, NCHAR
or NVARCHAR2 data exists

Regarding to TIP - read it what to do.

Otherwise You could try to do the following in this place:

SQL> update props$ set value$='UTF8' where name in ('NLS_NCHAR_CHARACTERSET');
SQL> commit;

After:

SQL> SHUTDOWN IMMEDIATE;
SQL> STARTUP;

Let's check again:

SQL> select parameter,value from v$nls_parameters where parameter='NLS_CHARACTERSET' or parameter='NLS_NCHAR_CHARACTERSET';

PARAMETER
----------------------------------------------------------------
VALUE
----------------------------------------------------------------
NLS_CHARACTERSET
AL32UTF8

NLS_NCHAR_CHARACTERSET
UTF8

We are done!

But instead of this all - my recommendation could be change NVARCHAR2 and NCLOB column data types to VARCHAR2 and CLOB.

cd /zabbix/install/scripts/with/oracle/scheme
sed -i 's/nvarchar2/varchar2/g; s/nclob/clob/g;' *

Oracle recommendation is that you create your database with the AL32UTF8 database character set, and move all your national character set data to normal VARCHAR2 and CHAR columns



 Comments   
Comment by Rostislav Palivoda [ 2019 Dec 18 ]

For versions older that Oracle Database 12c Release 2 (12.2) we could reduce field length to 2000.





[ZBXNEXT-1240] check presence of some data (from data.sql) or some table(s) during setup.php on step 3 Created: 2012 May 29  Updated: 2018 Sep 17

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Installation (I)
Affects Version/s: 2.0.0
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Alexei Vladishev
Resolution: Unresolved Votes: 4
Labels: configwizard, database, installation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-5083 New install frontend error: mysql_fre... Closed
is duplicated by ZBX-5093 Warning about pg_free_result() right ... Closed
is duplicated by ZBX-6713 Ugly login screen after problems in DB Closed

 Description   

If an user will create zabbix DB without filling it by schema and will successfully perform the GUI setup, he will see a non friendly error text at the login page:
mysql_free_result() expects parameter 1 to be resource, boolean given [include/db.inc.php:561]

This error visible ONLY if a table "users" doesn't exist.
If the table "users" exists, we will see nice warning text: "Unable to select configuration." above the username input field.
And it still not very informative.

Would be great to check on step 3 is the DB created correctly and filled by data.
The check could be simple - presence of "users" table or more complex: at least one row in the "config" table.



 Comments   
Comment by Oleksii Zagorskyi [ 2012 May 29 ]

Two issues linked as duplicates as a proof.

Comment by Oleksii Zagorskyi [ 2013 Jan 02 ]

Why this is happening with users.

A lot of PHP-based "frontends" suppose only one action performed manually by a user - DB creation and granting all required permission to the created DB.

Then on first attempt to open the frontend its php scripts create DB's tables and fill some data (if required).

This is not the case regarding to zabbix frontend, so we could be more friendly to such user mistakes and provide more precise errors during PHP frontend setup.

Yes, we have required steps to install zabbix described in documentation, but time to time we see that users do not read documentation

Comment by Oleksii Zagorskyi [ 2013 Mar 12 ]

ZBX-6376 is very related (they should be fixed together)

Comment by Oleksii Zagorskyi [ 2013 Nov 14 ]

Interesting note for 2.2.0 release:

If we have created database but schema is not filled then the "setup.php" on the 3rd step returns message:

The frontend does not match Zabbix database.

If we point config file "zabbix.conf.php" to that empty database and open "setup.php" then frontend returns message:

Configuration file error: The frontend does not match Zabbix database.

And finally index.php returns:

Database error: The frontend does not match Zabbix database.

Such cases could be more user friendly.
Otherwise we will have cases like this (in Russian) - https://www.zabbix.com/forum/showthread.php?t=43123

Comment by Oleg Ivanivskyi [ 2018 Sep 17 ]

It would be nice to check and automatically populate it if DB has no schema at all.





[ZBXNEXT-1125] compile and share zabbix agent for Solaris 11 Created: 2012 Feb 15  Updated: 2021 Feb 05

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G), Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Unresolved Votes: 12
Labels: build, solaris
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBXNEXT-1972 support for solaris 11 sparc Closed
is duplicated by ZBXNEXT-5053 Agent request for Solaris 11 Closed
is duplicated by ZBXNEXT-4362 Zabbix-agents on Solaris 11 Sparc Closed
Sub-task

 Description   

I need compiled zabbix agent for Solaris 11
Would be nice to have it for sparc and intel platforms.

It should present here http://www.zabbix.com/download.php



 Comments   
Comment by Oleksii Zagorskyi [ 2012 Feb 15 ]

Additional question: is it possible to compile zabbix agent for Open Indiana?

Comment by Oleksii Zagorskyi [ 2012 Feb 26 ]

Zabbix agent can be compiled under Open Indiana without any problems (you need just install gcc compiler).

SunOS openindiana 5.11 oi_151a2 i86pc i386 i86pc Solaris

  1. zabbix_agentd -V
    Zabbix Agent (daemon) v1.8.10 (revision 24303) (28 December 2011)
    Compilation time: Feb 26 2012 00:44:57
  1. zabbix_agentd -p
    agent.ping [u|1]
    agent.version [s|1.8.10]
    system.localtime [u|1330210124]
    system.run[echo test] [m|ZBX_NOTSUPPORTED]
    web.page.get[localhost,,80] [t|EOF]
    web.page.perf[localhost,,80] [d|0.000000]
    web.page.regexp[localhost,,80,OK] [s|EOF]
    vfs.file.exists[/etc/passwd] [u|1]
    vfs.file.time[/etc/passwd,modify] [u|1330192152]
    vfs.file.size[/etc/passwd] [u|1044]
    vfs.file.regexp[/etc/passwd,root] [s|root:x:0:0:Super-User:/root:/usr/bin/bash]
    vfs.file.regmatch[/etc/passwd,root] [u|1]
    vfs.file.cksum[/etc/passwd] [u|2234160828]
    vfs.file.md5sum[/etc/passwd] [s|db821a53f6c8e9a7f760320766fdff41]
    net.tcp.dns[,zabbix.com] [u|1]
    net.tcp.dns.query[,zabbix.com] [t|zabbix.com SOA ns1.nameresolve.com hostmaster.zabbix.com 2012022512 16384 2048 1048576 2560]
    net.tcp.port[,80] [u|0]
    system.hostname[] [t|openindiana]
    system.uname [t|SunOS openindiana 5.11 oi_151a2 i86pc i386 i86pc Solaris]
    system.users.num [u|2]
    log[logfile] [m|Accessible only as active check!]
    logrt[logfile] [m|Accessible only as active check!]
    eventlog[system] [m|Accessible only as active check!]
    kernel.maxproc [u|9706]
    vfs.fs.size[/,free] [u|10697522688]
    vfs.fs.inode[/,free] [u|20893599]
    vfs.dev.read[sd0,bytes] [u|4860797565]
    vfs.dev.write[sd0,bytes] [u|506519552]
    net.tcp.listen[80] [u|0]
    net.if.in[hme0,bytes] [m|ZBX_NOTSUPPORTED]
    net.if.out[hme0,bytes] [m|ZBX_NOTSUPPORTED]
    net.if.total[hme0,bytes] [m|ZBX_NOTSUPPORTED]
    net.if.collisions[hme0] [m|ZBX_NOTSUPPORTED]
    vm.memory.size[free] [u|36921344]
    proc.num[inetd,,] [u|1]
    proc.mem[inetd,,] [u|4710400]
    system.cpu.switches [u|1164792]
    system.cpu.intr [u|471357]
    system.cpu.util[all,idle] [m|Collector is not started!]
    system.cpu.load[all,avg1] [d|0.144531]
    system.cpu.num[online] [u|1]
    system.swap.size[all,free] [u|1047973888]
    system.swap.in[all] [u|0]
    system.swap.out[all,count] [u|0]
    system.uptime [u|1622]
    system.boottime [u|1330208503]
    net.tcp.service[ssh,127.0.0.1,22] [u|1]
    net.tcp.service.perf[ssh,127.0.0.1,22] [d|0.100118]

Binaries and packages for Solaris 11 should be compatible with Open Indiana.
Source: http://wiki.openindiana.org/oi/Frequently+Asked+Questions#FrequentlyAskedQuestions-IsOpenIndianaa“fork”%3F

I've checked and I confirm that zabbix_agentd binary for Solaris 11 is working on Open Indiana.

Comment by Daniel Bossert [ 2018 Jul 09 ]

Please compile binaries for zabbix agent/zabbix server for version 3.4.11 / 4.0 for Solaris 11 SPARC and x86 

 

However, zabbix server isn't as important as the agent

Comment by samuel harrison [ 2019 Feb 18 ]

Please could we have a agent for Solaris 11 with Open SSL encryption on the download page for server version 4 LTS

Thanks guys 





[ZBXNEXT-1224] MonetDB SQL Database Supoprt Created: 2012 May 16  Updated: 2012 Oct 15

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Installation (I), Server (S)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Major
Reporter: Kendall Green Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: database, performance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux zabbix 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 23:56:34 BST 2012 x86_64 x86_64 x86_64 GNU/Linux
MonetDB Database Server v1.6 - Toolkit v1.0 (Apr2012-44068741341a)


Attachments: Zip Archive zabbix_monetdb.zip    

 Description   

Adding support for MonetDB. Attached is the converted Zabbix database schema, data, image DDL / DML / SQL for using MonetDB.

Information found on MonetDB.org website: Since 2011 column store technology as pioneered in MonetDB has found its way into the product offerings of all major commercial database vendors. It is based on the SQL 2003 and SQL 2008 standards, is fully ACID compliant, and supports a rich spectrum of programming interfaces (JDBC, ODBC, PHP, Python, RoR, C/C++, Perl). It's a very active open source database.

I'm planning to extend the Zabbix source code to include the proper dialect translations and PHP / Mapi client support. Even without being a novice programmer, this is very complicated, so I'm submitting these SQL files to the Zabbix community to help excel the effort.

There are many advantages to using MonetDB, and I will continue attempting to extend Zabbix support for this columnar database platform.






[ZBXNEXT-2585] zabbix Packages: postremove script assume zabbix server/proxy are running Created: 2014 Nov 11  Updated: 2017 May 31

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: PICCORO Lenz McKAY Assignee: Kodai Terashima
Resolution: Unresolved Votes: 0
Labels: packaging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

operating system Debian



 Description   

When purge the zabbix server packages (any) and the serve are not runnign a error raised, due script postrm/prerm assumes that a possitive result must return from killed proces

sysmonitor:~# /etc/init.d/zabbix-server stop
Stopping Zabbix server: zabbix_server.
sysmonitor:~# aptitude
(Reading database ... 26430 files and directories currently installed.)
Removing zabbix-server-pgsql ...
Stopping Zabbix server: zabbix_serverNo process in pidfile `/var/run/zabbix/zabbix_server.pid' found running; none killed.
Purging configuration files for zabbix-server-pgsql ...
zabbix_server: no process killed
dpkg: error processing zabbix-server-pgsql (--purge):
subprocess post-removal script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
zabbix-server-pgsql
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

I suggest (no that those packages are not officialy from debian and not have the debian certification)
usage or "killall" if a non spected result are returned from stop service command, or at leas revise the pid file if still exist

NOTE: the server process must be killed due if thi are not killed database purge cound not performend if postgresql or sqlite are configured.
NOTE2: same for proxy cases...



 Comments   
Comment by PICCORO Lenz McKAY [ 2014 Nov 11 ]

another problem its that script do not stop the sever/proxy process if only remove the package.. so then database removal could not performed.. that its in line 14 of postrm of script

Comment by PICCORO Lenz McKAY [ 2014 Nov 11 ]

postrm scritp removes config files before ucf purge the configuration file if "purge" are th case of deinstallation of package





[ZBXNEXT-2239] Provide generic one line installers for zabbix agents on linux Created: 2014 Apr 03  Updated: 2014 Jun 19

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 1.8.20, 2.0.11, 2.2.2
Fix Version/s: None

Type: New Feature Request Priority: Major
Reporter: Sorin Sbarnea Assignee: Kodai Terashima
Resolution: Unresolved Votes: 1
Labels: agent, installation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux



 Description   

The easiest way to deploy and auto-configure agents is via a single command line. Many companies are using this successfully and

Example from datadog:

DD_API_KEY=1234 bash -c "$(curl -L http://dtdg.co/agent-install-ubuntu)"

Such a command installs latest version of the agent and also configures it to connect to the right server, also adds the yum or apt-get repositories so further updates will be installer properly. Also the same command happens to work on Mac OS X, and probably could work on Windows if run from Cygwin (even so DataDog had a different installer for Windows).

Anyway the whole point of this it to ease the deployment of the zabbix agents, we could have something like:

ZABBIX_SERVER=zabbix.example.com bash -c "$(curl -L http://zabbix.com/agent-install)"


 Comments   
Comment by Sorin Sbarnea [ 2014 Apr 04 ]

Check this script, this can be a start for implementing the one-line installer for zabbix. At least it works for us quite well.

https://github.com/xenserver/devops/blob/master/prepare.sh

Comment by richlv [ 2014 May 07 ]

kodai, do we want to look into something like this ?

Comment by Kodai Terashima [ 2014 Jun 19 ]

I think it quite nice feature, but I'm not sure what tool is the best. We need to think all platform (not only Linux, but also Windows, Solaris, HP-UX, AIX, etc.),

Also, it's necessary to consider updating agents as well.





[ZBXNEXT-2182] Ability to build loadable modules out of tree Created: 2014 Mar 03  Updated: 2017 Jun 18

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.2.2
Fix Version/s: None

Type: Change Request Priority: Major
Reporter: Igor Urazov Assignee: Unassigned
Resolution: Unresolved Votes: 9
Labels: loadablemodule
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBXNEXT-3157 Create development packages Closed

 Description   

Right now it's impossible to build loadable modules out of Zabbix source tree. The right way is to install development headers into /usr/include directory (maybe under zabbix subdirectory), which later could be packaged into zabbix-plugins-dev package. This allows to install only small fraction of Zabbix sources, if you're going to develop plugins only.



 Comments   
Comment by Tomasz Kłoczko [ 2017 Feb 14 ]

I've created in ZBX-11767 patch for this with improved dummy module tree am/ac/lt support with example covering whole live cycle of module code from creating dist tar ball to make almost instant create rpm package with module.
This patch adds installing header files and adds pkgconfig support.

Comment by Ryan Armstrong [ 2017 Jun 18 ]

This is a serious issue for Module developers. I've spent hours tracing an issue for my community of users. The issue was caused because the headers in the Zabbix sources were being used by my modules and being mutated by the configure scripts in Zabbix build process.

See:https://github.com/cavaliercoder/libzbxpgsql/issues/68





[ZBXNEXT-7647] New startup option for Zabbix Agent MSI Created: 2022 Apr 22  Updated: 2022 Apr 22

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Aleksey Volodin Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows



 Description   

It will be nice to add two new option and corresponded parameters into MSI installation package:

  • Run Agent after installation is finished
  • Runs Agent at Windows startup

First option will allow you to adjust Agent configuration file before Agent start.






[ZBXNEXT-7645] Add new parameter to MSI package command-line based installation Created: 2022 Apr 21  Updated: 2022 Apr 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Aleksey Volodin Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It well be nice to add new parameter to MSI package command-line based installation:

  • StartAgents

Also since for now almost all major parameter can be set up during installation it will be nice to add few left one.






[ZBXNEXT-8006] improve fpm support Created: 2022 Sep 27  Updated: 2022 Sep 27

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Installation (I)
Affects Version/s: 6.0.9
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Harri Assignee: Valdis Murzins
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 11



 Description   

Hi folks,

using fpm for zabbix is actually pretty easy. Something like this will do

apt install php7.4-fpm
a2dismod php7.4
a2enconf php7.4-fpm
a2enmod proxy_fcgi
a2dismod mpm_prefork
a2enmod mpm_event
a2enmod http2
systemctl restart apache2

Problem is, all the php options set in zabbix-frontend-php.conf are lost, since the mod_php7 module is not in anymore.

Zabbix lacks a modular approach to set the lost options for both mod_php and fpm, making sure they are not lost on the next major Zabbix or PHP upgrade.



 Comments   
Comment by Harri [ 2022 Sep 27 ]

PS: A non-modular approach could be to add a file /etc/php/7.4/fpm/pool.d/zabbix.conf:

php_value[max_execution_time] = 300
php_value[memory_limit] = 4096M
php_value[post_max_size] = 256M
php_value[upload_max_filesize] = 4M
php_value[max_input_time] = 300
php_value[date.timezone] = "CET"

and to restart the php7.4-fpm service.





[ZBXNEXT-4984] Provide "real life" Docker Compose files for Zabbix server and Proxy Created: 2019 Jan 28  Updated: 2019 Jan 28

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 4.0.3
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Oleg Ivanivskyi Assignee: dimir
Resolution: Unresolved Votes: 1
Labels: docker, docker-compose, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Docker Compose


Issue Links:
Duplicate
is duplicated by ZBX-11983 Docker compose file for Alpine-Postgr... Closed

 Description   

Current compose files are good example. After some modifications I can use them to install Zabbix. At the same time, the real life examples are missing. For example, I have to create a custom compose file to install Zabbix server components or Zabbix proxy with SNMP traps and Zabbix Java Gateway.

How about to add several additional Docker Compose files, e.g.:

  • Zabbix Server with a database (i.e. Server, MySQL, GUI, SNMP Traps, Java Gateway). No proxies, one web server, etc.
  • Zabbix Proxy with a database (i.e. Proxy, SQLite3, SNMP traps, Java Gateway)

?

Just imagine a time, when someone can install Zabbix components with a single command!






[ZBXNEXT-3798] Trigger automated builds of Docker images for trunk more frequently Created: 2017 Apr 15  Updated: 2017 Jul 12

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Marc Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Docker, building
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Ideally, automatic Docker image builds get triggered whenever a merge to Trunk took place - otherwise it would be at least desirable on a daily basis.



 Comments   
Comment by Marc [ 2017 Jul 12 ]

and consider to add an alpha/beta tag





[ZBXNEXT-8389] Zabbix Agent Fleet Management Created: 2023 Apr 04  Updated: 2023 Apr 04

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G), Installation (I), Packages (C)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Facundo Vilarnovo Assignee: Vladislavs Sokurenko
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Similar to what elastic is doing with fleet management:
https://www.elastic.co/guide/en/fleet/current/fleet-overview.html

Please consider implementing a way to have a centralized version updating task for agents from frontend view.






[ZBXNEXT-8744] Split frontend access and authentication method in user group Created: 2023 Oct 09  Updated: 2023 Oct 09

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F), Installation (I)
Affects Version/s: 7.0.0alpha7, 7.0 (plan)
Fix Version/s: 7.0 (plan)

Type: New Feature Request Priority: Minor
Reporter: Elina Pulke Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-10-09-14-53-10-979.png     PNG File image-2023-10-09-14-59-28-912.png    

 Description   

Currently both authentication type and access to frontend are combined in one field - in user groups "Frontend access".

There might be situations when user has no access to frontend, but it can still use API, which requires authentication. Thus such kind of setting might be misleading.
Propose to split these two settings, by creating checkbox with "Frontend enabled" and leave dropdown field named "Authentication type" with options System default/Internal/LDAP.






[ZBXNEXT-8502] Define browser executable as configurable parameter in zabbix-web-service Created: 2023 Jun 14  Updated: 2023 Jun 30

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 6.0.18, 6.4.3
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Edgars Melveris Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: zabbix-web-service
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In some cases it would be very useful if the browser executable path could be configurable.
For example package chromium-headless uses a different executable path and name.
It works fine if a symlink is created, but that is not always easy/possible.
Other use cases with custom path's could benefit from this.



 Comments   
Comment by dimir [ 2023 Jun 30 ]

We are using chromedp package which has an ExecPath(..) function but we must ensure all chromedp versions that we officially support have that.





[ZBXNEXT-3932] Provide a Docker Compose file or shell script to test dev branches Created: 2017 Jun 12  Updated: 2019 Jan 28

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Marc Assignee: Unassigned
Resolution: Unresolved Votes: 3
Labels: docker, docker-compose, testing, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: DEV-680

 Description   

Wouldn't it be nice to have the possibility to build and run a dev branch in a single step without much effort?



 Comments   
Comment by Oleg Ivanivskyi [ 2019 Jan 28 ]

Current compose files are good example. At the same time, the real life examples are missing (ZBXNEXT-4984).





[ZBXNEXT-3752] Enable IPv6 by default on zabbix server Created: 2017 Mar 22  Updated: 2017 Mar 22

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I), Proxy (P), Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Andrea Biscuola (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 3
Labels: compatibility, ipv6, network
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

IPv6 is already used by a lot of enterprises in their infrastructure. It's in real world use from enough time ago that i don't think it make sense to have the support disabled by default, (at least on the server).

These days all the operating systems the zabbix server run on support IPv6 out of the box and we can also think to remove a lot of preprocessor code that check for this. Also, we use LibCURL that will, probably, have IPv6 always enabled



 Comments   
Comment by richlv [ 2017 Mar 22 ]

could you please clarify, is this about always compiling in ipv6 support - thus not by default, not making it configurable anymore ?

Comment by Andrea Biscuola (Inactive) [ 2017 Mar 22 ]

richlv Maybe the description is a bit misleading indeed . What i meant was that we always compile with ipv6 support, thus removing the need of configuring it. The only weird bit will be to check what can be involved on the agent side (that still support really old operating systems, in particular windows 2000).
(BTW, there should be some investigation about the supported platforms)

Comment by richlv [ 2017 Mar 22 ]

what about compiling on older aix/solaris systems ? would ipv6-enabled server/proxy work perfectly there ?
it is probably also worth keeping in mind a few edge cases where people have wanted to compile zabbix without ipv6 support, such a change would break zabbix for them.

Comment by Andrea Biscuola (Inactive) [ 2017 Mar 22 ]

Jep, also true. Definitely should be investigated properly if we decide to see if it's worthwhile.





[ZBXNEXT-3294] Option to execute operations on escalation cancellation Created: 2016 Jun 03  Updated: 2016 Jun 03

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Installation (I), Server (S)
Affects Version/s: 3.0.3
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Sandis Neilands (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: escalations
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It is not possible to run scripts or send custom message when escalation is cancelled.

Use case: close ticket in Jira with a script if an escalation is canceled.

Related feature: ZBXNEXT-3101.






[ZBXNEXT-3652] Network discovery crop value to 255 chars Created: 2016 May 25  Updated: 2017 Mar 01

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I), Server (S)
Affects Version/s: 3.4.0alpha1
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Patrick Brideau Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: networkdiscovery
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When querying key from the discoverer, the value get truncated to 255 chars.

I found this when creating a custom userparameter returning every puppet classes (seperated by comma) to automaticaly add template to a host. See http://serverfault.com/questions/778805/zabbix-network-discovery-of-puppet-managed-network/778876

Values got truncated as so:

[zabbix]> select dserviceid,dhostid,status,lastup,lastdown,value,dns from dservices where dcheckid=3 and type=9 and key_='puppet.classes' \G
*************************** 1. row ***************************
dserviceid: 9
   dhostid: 3
    status: 0
    lastup: 1464103581
  lastdown: 0
     value: ,apache,apache::default_confd_files,apache::default_mods,apache::mod::alias,apache::mod::dir,apache::mod::filter,apache::mod::mime,apache::mod::php,apache::mod::prefork,apache::mod::ssl,apache::mod::status,apache::params,apache::service,apache::version,ap
       dns: 
src/libs/zbxdbhigh/discovery.c
  static void discovery_update_dservice(zbx_uint64_t dserviceid, int status, int lastup, int lastdown, const char *value)
  {
      char    *value_esc;
      value_esc = DBdyn_escape_string_len(value, DSERVICE_VALUE_LEN);
      DBexecute("update dservices set status=%d,lastup=%d,lastdown=%d,value='%s' where dserviceid=" ZBX_FS_UI64, status, lastup, lastdown, value_esc, dserviceid);

      zbx_free(value_esc);
  }
include/db.h
  #define DSERVICE_VALUE_LEN        255


 Comments   
Comment by Patrick Brideau [ 2016 May 25 ]

It seems the auto-registration metadata value have the same limitation of 255 chars

Comment by Glebs Ivanovskis (Inactive) [ 2017 Jan 08 ]

I moved this request into ZBXNEXT project because it's a database limitation and we can only fix it in a major release.

Comment by richlv [ 2017 Feb 28 ]

with postgresql, this results in errors :

ERROR:  value too long for type character varying(255)
STATEMENT:  update dservices set status=0,lastup=1488280308,lastdown=0,value='...long_value...' where dserviceid=1234

should this be moved back to ZBX ?

Comment by Glebs Ivanovskis (Inactive) [ 2017 Feb 28 ]

Dear richlv, I will not ask you to reveal the "long value", but please give us some information about it:

  1. number of characters;
  2. number of bytes;
  3. number of LF and CR characters;
  4. presence of non-ASCII characters and original encoding.

Also please provide some general information:

  1. version of Zabbix being used;
  2. Zabbix database character set.
Comment by richlv [ 2017 Mar 01 ]

taking one case as an example - others differ somewhat in size, but not much.

1. 546 characters
2. 546 bytes
3. 7 LFs
4. no non-ascii chars; value obtained by agent from a script, agent locale - en_US.UTF-8

1. this specific case on 2.4.6
2. utf8

Comment by Glebs Ivanovskis (Inactive) [ 2017 Mar 01 ]

Hmm, this piece of 2.4 code is suspicious:

		/* only UTF-8 characters should reduce a variable max_src_len */
		if (0x80 != (0xc0 & *s) && 0 == --max_src_len)
			break;

But I don't think that the issue affects latest supported versions.





[ZBXNEXT-1792] Need agent,server init script for Solaris Created: 2013 Jun 14  Updated: 2018 Jan 11

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.0.6, 2.1.0
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: initscripts, solaris
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File zabbix-agent.xml    
Issue Links:
Duplicate

 Description   

I surprised that it is still missing in /misc/init.d



 Comments   
Comment by Oleksii Zagorskyi [ 2013 Jun 14 ]

A link where we can find some simple init script, thanks to dotneft.
http://www.packetwatch.net/documents/guides/2010111001.php

Comment by jabalv [ 2013 Jun 14 ]

How about our own: https://www.zabbix.com/wiki/howto/install/solaris/opensolaris
and https://www.zabbix.com/forum/archive/index.php/t-252.html

Comment by Jeff Shingara [ 2013 Jun 14 ]

Thanks for these links.
Should maybe consider including these with the source code?

Comment by Oleksii Zagorskyi [ 2013 Jun 14 ]

As this classified as a feature request, we are not sure when devs will take it in work
Community feedback which init script is better would be appreciated.

Comment by jabalv [ 2013 Jun 20 ]

Starting from Solaris 10 there is used SMF for service management. initd is still supported, but will be replaced.

  • In Solaris 11 create SMF manifest:
    svcbundle -o zabbix-agentd.xml -s service-name=application/zabbix-agentd -s model=daemon -s start-method="/usr/local/sbin/zabbix_agentd" 
  • Import manifest:
    svccfg import misc/solaris/11/zabbix-agentd.xml
  • Usage: svcadm enable/disable/restart zabbix-agentd

*For Solaris 10 there need create manifest manually.

Comment by Dumitru Moldovan [ 2014 Mar 28 ]

I have created a SysV init script that works in Linux/AIX/Solaris for both agent and server. Please check https://support.zabbix.com/browse/ZBXNEXT-2229

Comment by Harri [ 2015 Jul 14 ]

Not providing a zabbix-agent.xml for the poor guys bound to SunOS 5.10 is mean. See attachment. Use at your own risk. Hope this helps.





[ZBXNEXT-1123] Allow sorting by "Host" in Monitoring/Triggers Created: 2012 Feb 15  Updated: 2012 Oct 13

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 1.8.10, 1.9.9 (beta)
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Volker Fröhlich Assignee: Alexei Vladishev
Resolution: Unresolved Votes: 0
Labels: consistency, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It would be nice to sort by "Host" in tr_status.php.






[ZBXNEXT-1864] calculated Item for maxvalues Created: 2013 Aug 19  Updated: 2013 Aug 19

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I), Server (S)
Affects Version/s: 2.0.7
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Stefan Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian Wheezy, PostgreSQL 9.1



 Description   

actual it is not possible to sum the max-values per day, to get a total_max of the last year.

example: we has an counter that reset every day to 0 (=we need the value befor comes to 0 = max-value), now i will adding the max-value for every day+now to recieve the "total_max"
(monday: Maxvalue=8, tuesday: 9; wedensday:7, today max value 3 total_max=27)

i hope you understand me






[ZBXNEXT-2758] Increase size of formula fields for actions Created: 2015 Mar 26  Updated: 2024 Apr 10

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.4.3
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Kevin Daudt Assignee: Rostislav Palivoda
Resolution: Unresolved Votes: 4
Labels: actions, database, schema
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MySQL


Issue Links:
Duplicate
Team: Team C
Team: Team C

 Description   

Currently, the limit for the formula fields is 255 characters. Because we had a node setup once, all our ids are 13 characters long, this means we are limited to at most 12 conditions, which is quite limited



 Comments   
Comment by richlv [ 2015 Mar 26 ]

could you please clarify what this is about ?
which action-related field is limiting you ?

Comment by Kevin Daudt [ 2015 Mar 26 ]

This is an error I get when creating an action with 15 conditions (through the API, but this also happens when adding the action through the frontend)

The entered formula is "A and B and C and (D or E or F or G or H or I or J or K or L or M or N or O)" where everything between () are hosts.

Value "'

Unknown macro: {200200000000080}

and

Unknown macro: {200200000000081}

and

Unknown macro: {200200000000082}

and (

Unknown macro: {200200000000083}

or

Unknown macro: {200200000000084}

or

Unknown macro: {200200000000085}

or

Unknown macro: {200200000000086}

or

Unknown macro: {200200000000087}

or

Unknown macro: {200200000000088}

or

Unknown macro: {200200000000089}

or

Unknown macro: {200200000000090}

or

Unknown macro: {200200000000091}

or

Unknown macro: {200200000000092}

or

Unknown macro: {200200000000093}

or

Unknown macro: {200200000000094}

)'" is too long for field "formula" - 316 characters. Allowed length is 255 characters.

So this is what is stored in the table after the formula got expanded.

Note that we usually use hostgroups to select the hosts in actions, but we want to allow our end-users to select the hosts (and later also hostgroups) to subscribe to, so that's where I ran into this limit.

Comment by Kevin Daudt [ 2016 Feb 23 ]

We mitigated this issue a bit by rewriting the IDs so that they are much shorter which gives more room for conditions. Still it would be nice if the maximum number of conditions could be expanded.

Comment by Guy Martin [ 2018 Jan 11 ]

Same problem here with PostgresSQL.

Value "({149} or {150} or {151} or {153} or {154} or {185} or {383} or {384} or {385} or {386} or {387} or {388} or {389} or {390} or {391} or {392} or {393} or {394} or {152} or {428} or {429} or {430} or {431} or {432} or {433} or {434} or {435} or {436} or {437} or {438} or {439} or {440} or {441} or {442}) and {395} and {396} and {397}" is too long for field "formula" - 335 characters. Allowed length is 255 characters. 

I've had to split a large subnet in multiple small one to speed up discovery. Now I have a lot of discovery check to match from but I can't add them all.

Comment by Guy Martin [ 2018 Jan 11 ]

I've updated the field lengh in include/schema.inc.php and ran "alter table actions alter column formula type character varying(512);" on the DB to workaround the problem. Until the next update I guess.





[ZBXNEXT-1350] hosts.host is supposed to be unique in code but no SQL UNIQUE in table creation Created: 2012 Aug 07  Updated: 2013 Mar 14

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: dakol Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: database, schema
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by richlv [ 2012 Aug 07 ]

currently that's by design, as one could have proxy with same name
it does make some things harder, so probably we should do this at some point.

(1) what to do if user has proxy with same name as a host or template ?

Comment by dakol [ 2012 Aug 07 ]

i do not understand the (1)

hum, i name host/proxy this way:
host | name | status
-------------------------------------------------------------------------------------------------------------
zabbix-proxy-mlb-prod.sup.internal.domain. | zabbix-proxy-mlb-prod.sup | 0
zabbix-proxy-mlb-dev..sup.internal.domain | zabbix-proxy-mlb-dev.sup | 0
zabbix-proxy-par3-prod.sup | | 5
zabbix-proxy-mlb-prod.sup | | 5

I understand, we could do:
zabbix-proxy-mlb-prod.sup.internal.domain | zabbix-proxy-mlb-prod.sup | 0
zabbix-proxy-mlb-prod.sup.internal.domain | | 5

Perhaps, we could have a special table "proxy" to reference hosts which are proxies
proxy_id, host_id

Comment by Alexei Vladishev [ 2012 Oct 10 ]

Yes, I believe we should move proxies to a different table.

Comment by richlv [ 2013 Mar 14 ]

...but probably not in 2.2, removing "fix version"





[ZBXNEXT-8628] Add capability to deploy java gateway into Kubernetes using offical helm charts Created: 2023 Aug 10  Updated: 2023 Aug 10

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Steve Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Right now, official zabbix helm charts for monitoring kubernetes allows us to deploy agent and proxy into a cluster. This request is to extend the chart to also deploy/configure java gateway.






[ZBXNEXT-7585] Change icon/logo Created: 2022 Mar 27  Updated: 2023 Feb 15

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Pavel Assignee: Unassigned
Resolution: Unresolved Votes: 9
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBXNEXT-8271 Need the favicon rebranding feature Reopened

 Description   

Current and traditional zabbix icon/logo is now associated with "russian swastika" and probably should be redisigned and changed.

Wikipedia: "As a pro-war symbol, the "Z" has been used by the Russian government as a propaganda tool, and by Russian civilians as a sign of support for the invasion. Outside Russia, the government of Czechia has classified the "Z" symbol as an equivalent to the swastika".

Example 1 "Anyone who publicly displays the "Z" symbol of the Russian armed forces used in the war against Ukraine must reckon with the consequences. "Z" is an ideological symbol, and those who use it happen to approve the war of aggression, law enforcement officials have explained."

Example 2: "the letter 'Z' is becoming a symbol of support for the Russian invasion of Ukraine"

Example 3: "the Z is first of all a symbol of war. Over the last weeks, it has become associated with the massive military force that has assaulted the neighboring country. It also bears a clear resemblance with a swastika."



 Comments   
Comment by Onkel Titus [ 2022 Mar 29 ]

The Zurich Versicherungen had the same problem and also changed their Logo some days ago.

Comment by Alexei Vladishev [ 2022 Mar 31 ]

Before any official solutions are in place, you may take advantage of the re-branding functionality in order to replace the "Z" logo with something else.

Comment by Pavel [ 2022 Apr 11 ]

Is there a way to change favicon by re-branding functionality?
BRAND_LOGO did not change it.

Comment by Alexei Vladishev [ 2022 Apr 12 ]

I do not think favicon can be changed easily, only by a custom patch.

Comment by Evgeny Yurchenko [ 2022 Aug 05 ]

@pavel you might wish to take a look at the module https://github.com/BGmot/zabbix-module-peace.

 

Comment by Pavel [ 2022 Aug 05 ]

Thank you!
On my system (zabbix 5.0.21) it failed to activate with following error:

AH01071: Got error 'PHP message: PHP Fatal error:  Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /usr/share/zabbix/app/controllers/CControllerModuleUpdate.php on line 69'

but it seems unrelated to the module.

After I fix this favicon changed when I enable the module but restore to its original form on shift-reload the page. If I go to modules and enable it again it changes again, until shift-reload.

Comment by Evgeny Yurchenko [ 2022 Aug 05 ]

I tested with 5.0.22 (re-tested just now, and with latest 6.0 and 6.2) and works as expected. What method of installation did you use 1.a or 1.b? Can you compare what you have in Module.php with what I have in the repo?

Comment by Evgeny Yurchenko [ 2022 Aug 05 ]

Ouch.... Chrome and Safari do not change favicon -( Mozilla does. I was testing with Mozilla, sorry. Testing from MacOS, I am travelling and don't have anything else at the moment.

Comment by Evgeny Yurchenko [ 2022 Aug 06 ]

I know how to fix Chrome. Let's proceed with the discussion on GitHub to avoid spamming here.

Comment by Vic-T [ 2022 Aug 24 ]

The problem is not just the letter Z but also the colors white and red which are part of the symbol for Russian fascism (as promoted by A. Dugin in his manifesto)

After 6 months of Russian aggression with Z as its universal symbol, it seems to me that there should be an official solution. At least a temporary one.

Comment by Khatsayuk Alexander [ 2022 Aug 24 ]

BGmot your turn. =D We need a plugin to change red to yellow and white to blue. 

Comment by Evgeny Yurchenko [ 2022 Aug 24 ]

Не солидно, Саша, говна набрасывать. Не нужно - проходи мимо. Уверен Zabbix сам разберётся, что ему делать (или не делать).

Comment by Khatsayuk Alexander [ 2022 Aug 24 ]

Не, мне нормально, на самом деле, хотя я и согласен, что над больными грешно смеяться. Но ничего не могу с собой поделать.

Comment by Brian van Baekel [ 2022 Aug 24 ]

Nou! Ik als Nederlander vind het maar een triest onderwerp. Het is een fucking Z als de eerste letter van het product, en voorderest niets.

Stelletje kleuters, zeikend over een Z en niet in het engels communiceren.... jammer.

Comment by Khatsayuk Alexander [ 2022 Aug 24 ]

brian.baekel I'm sorry, you are totally right, we should't use the fucking agressor's language. I apologize to all of you, it's really shame on me.





[ZBXNEXT-7500] Split DB user for 3 different users Created: 2022 Feb 16  Updated: 2022 Feb 16

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Documentation (D), Frontend (F), Installation (I), Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Aleksey Volodin Assignee: Martins Valkovskis
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

For easier debug and security it will be nice to split zabbix DB user for 3 different users:

  • zabbix_server
  • zabbix_frontend
  • zabbix_api

First two can be easily created by changes in documentation and default configuration files.

 






[ZBXNEXT-4210] Improvements to official global regular expressions Created: 2017 Nov 03  Updated: 2018 Jan 30

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 4.0.0alpha1
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Glebs Ivanovskis (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: globalregexps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
Global regexp Expression Comment
File systems for discovery
^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|refs|ntfs|fat32|zfs)${noformat}|Parentheses are not necessary here.|
|Storage devices for SNMP discovery|

^(Physical memory

Virtual memory Memory buffers Cached memory Swap space)${noformat} Parentheses are not necessary. Perhaps, (Physical|Virtual) memory can be used instead of Physical memory|Virtual memory.
Windows service names for discovery
^(MMCSS|gupdate|SysmonLog|clr_optimization_v2.0.50727_32|clr_optimization_v4.0.30319_32)${noformat}|Dots need to be escaped.|
|Windows service startup states for discovery|

^(automatic

automatic delayed)${noformat} Parentheses are not necessary. Perhaps, can be replaced with ^automatic( delayed)?$.





[ZBXNEXT-4790] bootstrap.sh script improvement Created: 2018 May 02  Updated: 2018 Oct 12

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 3.4.14, 4.0.1rc1
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Tomasz Kłoczko Assignee: Andris Mednis
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux


Attachments: File zabbix-bootstrap.sh.patch    

 Description   

Attached patch simplifies bootstrap.sh content replacing sequence of autoconf/automake/autoheader commands by "autorefonf --fiv" command.

In in future libtool support will be needed this autoreconf automatically will execute it.



 Comments   
Comment by Tomasz Kłoczko [ 2018 May 06 ]

Patch corrected to not use in autoreconf parameters -f switch because it will overwrite COPYING file.

If this option would be used it will change zabbix license from GPL v2 to v3

 





[ZBXNEXT-4826] Hardcoded in configure.ac ranlib executable name breaks compilation with LTO Created: 2018 Aug 03  Updated: 2018 Oct 29

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Sergey Kuritsin Assignee: Zabbix Support Team
Resolution: Unresolved Votes: 0
Labels: ranlib
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian Wheezy, gcc 8.2



 Description   

When compiling Zabbix with gcc -flto compilation breaks due to using wrong ranlib executable name. ranlib is a essenital part of LTO compilation process. Starting with gcc 4.9, LTO compilation requires to use gcc-specific versions of ar, nm and ranlib: gcc-ar, gcc-nm and gcc-ranlib. In packaged gcc versions of the most Linux distributions ranlib and gcc-ranlib usually are the same. But in the cross compilation toolchains they are not. So there is a need to tell the configure process that we are not going to use deault ranlib.
Passing specific ranlib to configure (RANLIB=/some/path/to/ranlib ./configure ...) doesn't affect the value of RANLIB variable in the generated Makefiles. It always equals just "ranlib". The only way to use a specific version of ranlib is to when using make: make RANLIB=/some/path/to/ranlib.
The reason of such configure behavior is at the line 1606 of configure.ac (as in 3.4.11 tarball version):

RANLIB="ranlib"

It means that generated configure will be in all the cases set RANLIB variable to be equal just "ranlib".
As Zabbix is a Libtoolized project, libtool by default checks the presence of ranlib and sets RANLIB variable according to result. It checks the environmental variable RANLIB which may be passed to configure. I don't see any reason why there is a need to hardcode ranlib executable name.
Removing that line and then executing autoreconf -fi allows to configure correctly set RANLIB variable and as result LTO compilation succeeds.



 Comments   
Comment by dimir [ 2018 Oct 24 ]

Do you think it's OK to specify it during ./configure:

./configure RANLIB=gcc-ranlib --enable-server [...]

?

Comment by Sergey Kuritsin [ 2018 Oct 24 ]

Yes, it's OK and should be considered as expected behaviour. There is no way for libtool to automatically determine which version of ranlib you are considering to use.

Comment by dimir [ 2018 Oct 25 ]

As I understood the patch would be:

Index: configure.ac
===================================================================
--- configure.ac (revision 86007)
+++ configure.ac (working copy)
@@ -39,6 +39,7 @@

 AC_PROG_CC([cc c99 gcc clang])
 AM_PROG_CC_C_O
+AM_PROG_LIBTOOL

 dnl *****************************************************************
 dnl * *
@@ -1643,9 +1644,6 @@

 AC_SUBST(ICONV_CFLAGS)

-RANLIB="ranlib"
-AC_SUBST(RANLIB)
-
 SERVER_CONFIG_FILE="${sysconfdir}/zabbix_server.conf"
 PROXY_CONFIG_FILE="${sysconfdir}/zabbix_proxy.conf"
 AGENT_CONFIG_FILE="${sysconfdir}/zabbix_agentd.conf"

Useful links:

https://mail.gnome.org/archives/commits-list/2017-February/msg03967.html
https://stackoverflow.com/questions/40374061/autoconf-recipe-to-use-gcc-ar-and-gcc-ranlib
https://bugzilla.redhat.com/show_bug.cgi?id=1467409

 

Comment by Sergey Kuritsin [ 2018 Oct 25 ]

There is no need for libtool macro AM_PROG_LIBTOOL. Just delete RANLIB="ranlib" and keep AC_SUBST(RANLIB).
ranlib is called explicitly not by libtool.





[ZBXNEXT-3505] Add "hammer" filesystem to the default RegEx "File systems for discovery" Created: 2016 Oct 18  Updated: 2018 Jul 05

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 3.4.0alpha1
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Francois Tigeot Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All. I'm using a Debian-based Zabbix server but there is nothing system-specific in this particular regexp.



 Description   

The default configuration for Zabbix server does not include hammer in its "File systems for discovery" regular expression.

I had to manually the list as follow for Hammer filesystems to be discovered on a storage server:
-^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|ntfs|fat32|zfs)$
+^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|ntfs|fat32|zfs|hammer)$






[ZBXNEXT-3336] Distributed repository for (Debian) packages. Created: 2016 Jul 10  Updated: 2018 Apr 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Paweł Różański Assignee: Gatis Rumbens
Resolution: Unresolved Votes: 2
Labels: debian, mirror, repo
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian/Ubuntu. May work for CentOS too.


Issue Links:
Sub-task
Epic Link: DEV-680

 Description   

Last days there were problems with repo.zabbix.com. Some unofficial mirrors appeared https://github.com/monitoringartist/repo.zabbix.com but this requires explicit change in sources.list.

Instead, we could use the same method as http://httpredir.debian.org/ (I use it since very begginging and I'm happy with the solution), which ensures up to date and only working backends, provides load balancing.

People interested in running mirror (and there are some, including myself) would need some information/stats:
1. How much disk space does current mirror use? If partial mirrors are OK, it would be nice to provide information about space needed by deb repo only, rpm repo only, sources. Or only by current (newest stable) version.
2. How much traffic does repo need? Monthly transfer or typical bandwidth used should be OK. Of course mirrors in distributed repo will receive less traffic, but in pessimistic scenario each might be hit by full traffic.
3. Official recommendations how to create mirror and info how to join the project would be nice. There are descriptions for creating Debian mirrors, but there might be some changes and recommendations regarding frequency of updates.



 Comments   
Comment by Tim Meusel [ 2016 Jul 10 ]

+1 for this. I opened https://support.zabbix.com/browse/ZBXNEXT-3050 a few months back. I'm happy to sponsor a mirror. Offering rsync would allow everybody to also create their own private mirror.

Comment by Jan Garaj [ 2016 Jul 11 ]

1.) Disk space requirement

wget ‐‐execute robots=off ‐‐recursive \
  ‐‐no-parent ‐‐continue ‐‐no-clobber \
  -l 100 --reject-regex "=" http://repo.zabbix.com

=> 9.2GB (html files included) ~= 10GB

BTW: 10GB of AWS S3 standard storage (99.99% availability, 99.999999999% durability) = $0.3/month
Only traffic is a question.

Comment by Paweł Różański [ 2016 Jul 12 ]

Well, 10-20 GB of space and 10-30 Mbps of traffic I can donate as a person, not as company (on kimsufi, but this is enough).

I believe we can have better availability if we make this the same way as httpredir.debian.org is made: round robin DNS and a swarm of backends.

Another advantage: if company uses Zabbix repo a lot, making public mirror and using redirector makes perfect sense - their machines should be pointed to their repo. If it is running, but when it isn't, packages still will be retrived from another repo.

Another advantage: better geographical coverage.

I know, we can make private mirrors, move to servers with better availability etc. but if we are changing things, why not make it really good? Especially that not available repository is PITA when things are automated.





[ZBXNEXT-3033] provide vmware macro/variable placeholders in template Created: 2015 Oct 30  Updated: 2015 Nov 29

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 3.0.0alpha3
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: usability, vmware
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

zabbix documentation instructs to add 3 variables/macros when using the default vmware template :

  • {$URL}
  • {$USERNAME}
  • {$PASSWORD}

unfortunately, there is no easy way to find out the names of these macros/variables without looking at the items and discovery rules in that template.

it might be useful to supply "dummy" entries in the default template.

possibly using something like https://fill_in_macros_on_host for the url one






[ZBXNEXT-5974] CLI to install frontend modules Created: 2020 May 21  Updated: 2020 May 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Installation (I)
Affects Version/s: 5.2.0alpha1
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Glebs Ivanovskis Assignee: Valdis Murzins
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Ecosystem of Grafana plugins, for example, relies on ability of community members to publish their plugins. Based on some metadata provided by plugin author, Grafana Labs are able to generate plugins page with installation instructions for every plugin. Usually it is as simple as:

grafana-cli plugins install ...

I would expect that it is a logical step for Zabbix to create something similar to grafana-cli plugins.






[ZBXNEXT-1593] systemd unit files you may like to ship Created: 2013 Jan 25  Updated: 2019 Dec 08

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.2.0
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Volker Fröhlich Assignee: Unassigned
Resolution: Unresolved Votes: 3
Labels: daemon, start, systemd
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File zabbix-agent.service     File zabbix-agentd.service     File zabbix-proxy-pgsql.service     File zabbix-proxy-sqlite3.service     File zabbix-server.service    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-2872 zabbix debian based system, systemd s... Closed

 Description   

Example systemd unit files for agent, proxies and servers are enclosed with this ticket.

"PrivateTmp" requires systemd versions 38 or newer, see http://fedoraproject.org/wiki/Features/ServicesPrivateTmp. It is most useful for servers and proxies, set up to handle fping files in /tmp.

Users are different for agent and server/proxy, due to ZBX-4916.

Dependency on database backends varies for servers and proxies. "After" must therefore be adapted.



 Comments   
Comment by Jonas Heinrich [ 2013 Nov 13 ]

Attached ArchLinux systemd files for agent and server (both files 2013 Nov 13). Please include them upstream! We need them for packaging (https://aur.archlinux.org/packages/?O=0&K=zabbix)

Comment by Volker Fröhlich [ 2014 Jan 01 ]

zabbix-agent.service has errors and Jonas' file basically matches what Fedora now ships with. That said, it would be good to finally standardize the name of the service: zabbix-agent or zabbix-agentd? Debian, Ubuntu and Fedora/EPEL use -agent; Suse, Arch and Gentoo use -agentd.

Jonas' server file is too specific tough, in that it requests mysqld.service. In Fedora/EPEL we are using the Alternatives system to switch between different backend implementation unit files. That basically means, the unit file appears to always have a generic name, but acutually points to a specific implementation.

I'm not sure about the relevance of "-R config_cache_reload". I was under the impression that would happen anyway on start. It might be useful as a setting for "ExecReload" though.

Comment by richlv [ 2014 Jan 02 ]

i would prefer 'agentd' over 'agent' to avoid increased confusion regarding agent/agentd (which is already large enough).

as for config cache reload, i can't think of a reason to do that after startup - was it an attempt to work around some problem ?

Comment by Rainer Stumbaum [ 2015 Nov 19 ]

Adjusted the zabbix_agentd config for Debian Jessie

cat /etc/systemd/system/zabbix-agent.service
[Unit]
Description=Zabbix Agent
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/sbin/zabbix_agentd
PIDFile=/run/zabbix/zabbix_agentd.pid
Restart=always

[Install]
WantedBy=multi-user.target
----
cat /etc/tmpfiles.d/zabbix-agent.conf
d /var/run/zabbix 0755 zabbix zabbix
Comment by Dmitry Smirnov [ 2015 Nov 19 ]

This is a bad .service file.

Comment by Rainer Stumbaum [ 2015 Nov 19 ]

I know - but compared to other .service files on Debian (check dnsmasq.service...) it is a beauty

I welcome your suggestions for improvement!

Comment by Dmitry Smirnov [ 2015 Nov 19 ]

That's the secret how to feel good: you just need to compare your work to something that is worse. Yay. I have to try it some day.

Comment by Aleksandrov Artyom [ 2016 Aug 23 ]

Why zabbix-agent service does not enable by default in deb packages? Is it a RedHat style in Debian like distrs? =)

I think that dh_systemd_enable should be added for not broke old behavior.

Comment by Tim Meusel [ 2016 Dec 07 ]

Hi,

possible to get any progress here? I'm maintaining a puppet module to configure zabbix, we had:

PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes

in the service file for the agent. Possible to get this upstream?

Comment by Disassembler [ 2016 Dec 14 ]

zabbix-server.service does not consider the possibility of postgres as database backend. In such case, the After directive should be

After=syslog.target network.target postgresql.service

This affects also 3.0.6 installed today (Ubuntu Xenial, Zabbix repo).

// Edit: OK, so no. The whole problem is that the systemd unit is not enabled by default

systemctl enable zabbix-server

fixed the problem.

Comment by Oleg Ivanivskyi [ 2018 Sep 04 ]

We still have init.d scripts, but no unit files. Which is strange if we are talking about systemd based operating systems (e.g. RHEL 7).
It would be awesome to have unit files in the sources.

Comment by Oleksii Zagorskyi [ 2019 Dec 08 ]

Some things mentioned here are also listed in ZBX-15602





[ZBXNEXT-1784] add another default global regexp - "not empty" Created: 2013 Jun 07  Updated: 2013 Jul 19

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: globalregexps, trivial, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

quite often discovery of snmp should find non-empty values. it would be nice to include a default "Not empty" global regexp (^$ [Result is FALSE] )






[ZBXNEXT-2410] userparameter_mysql.conf: mysql.ping can be made more plug-and-play Created: 2014 Aug 12  Updated: 2017 Nov 02

Status: Confirmed
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.3.4
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Wouter Oosterveld Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: installation, patch, userparameters
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File userparameter_mysql.conf.patch    
Issue Links:
Duplicate
is duplicated by ZBX-12969 Agent user scripts merging stderr wit... Closed
is duplicated by ZBX-12248 mysql.ping does not detect when mysql... Closed

 Description   

Current mysql.ping UserParameter fails if mysql is listening but you cannot login. mysql.ping check can also look at returncode, as per manpage mysqladmin:

  • ping

Check whether the server is available. The return status from mysqladmin is 0 if the server is running, 1 if it
is not. This is 0 even in case of an error such as Access denied, because this means that the server is running
but refused the connection, which is different from the server not running.

If you do this you can check if mysql is running even when you don;t have credentials.






[ZBXNEXT-2036] Ship Zabbix frontend with icon mapping example and bg image Created: 2013 Nov 20  Updated: 2013 Nov 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.3.0
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: jabalv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: iconmapping, images
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I think would be good to ship Zabbix with icon mapping example and background image as example Latvian map in Local network map?






[ZBXNEXT-4233] It should be possible to create a distribution from a distribution Created: 2017 Nov 14  Updated: 2018 Jan 30

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 4.0.0alpha1
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Glebs Ivanovskis (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Sub-task
depends on ZBXNEXT-4565 Old upgrade patches in trunk Closed

 Description   

I.e. run make dist successfully in the distribution, created by make dist.

Continuation of ZBXNEXT-761 originally created by asaveljevs.



 Comments   
Comment by dimir [ 2017 Nov 14 ]

I think we should just disable the "dist" target in created tar.gz .





[ZBXNEXT-2583] zabbix Packages: error due do no change username Created: 2014 Nov 10  Updated: 2017 May 31

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.2.7, 2.4.2
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: PICCORO Lenz McKAY Assignee: Kodai Terashima
Resolution: Unresolved Votes: 0
Labels: packaging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

operatin system: debian



 Description   

in deban pased paquages from http://repo.zabbix.com/zabbix/ the defconf templates for zabbix proxy does not configure the user, so if are installed with lower priority, an specify anotehr user for db access, always fail!

the problem are in deban/rules: around line 274 must be DBC_USER



 Comments   
Comment by richlv [ 2014 Nov 10 ]

kodai, can you please take a look, is this something to fix ?
thanks.

Comment by PICCORO Lenz McKAY [ 2014 Nov 11 ]

yes, the solution its easy.. just in debian/rules around line 274 the sed command also must sustitute the user to DBC_USER as does with server cases...





[ZBXNEXT-3174] New API/ABI for loadable modules Created: 2016 Mar 04  Updated: 2019 Nov 15

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G), Installation (I), Proxy (P), Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Glebs Ivanovskis (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 9
Labels: compatibility, libraries, loadablemodule
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Here is a draft of a new interface between Zabbix and loadable modules. The main idea is to make this interface easily extendible in later versions of Zabbix and to make maintaining backward compatibility easier at the same time.

Loadable module should provide the following interface:

/* this function should perform module initialization and return success/error code */
int	zbx_module_init(void);

/* this function should return a list of custom checks supported by the module */
zbx_item_list_t		zbx_module_item_list(void);

/* this function should set timeout for item checks */
void	zbx_module_item_timeout(int timeout);

/* this function is optional and should free module resources if necessary */
int	zbx_module_uninit(void);

/* this is an example of a function performing custom check, returns success/error code */
int	zbx_module_custom_check(zbx_agent_request_t request, zbx_agent_result_t *result);

Zabbix must provide a header file containing forward declaration of types zbx_item_list_t, zbx_metric_t, zbx_agent_request_t, zbx_agent_result_t and functions used to work with them. Implementation must not be exposed! This will allow to change it without breaking binary compatibility.

/* this defines the version of the header file, should be updated every time new functions are added to API (or old functions are removed) */
#define ZBX_MODULE_HEADER_VERSION	...

/* this function returns version of the library loaded in runtime */
int	zbx_module_library_version(void);

/* this type stores list of custom metrics */
typedef struct zbx_item_list	zbx_item_list_t;

/* this type stores a metric */
typedef struct zbx_metric	zbx_metric_t;

/* this type stores check request */
typedef struct zbx_agent_request	zbx_agent_request_t;

/* this type stores check result */
typedef struct zbx_agent_result	zbx_agent_result_t;

/* this function creates custom check list */
zbx_item_list_t	zbx_item_list_create(void);

/* this function appends custom check to the list */
void	zbx_item_list_append(zbx_item_list_t list, zbx_metric_t metric);

/* this function frees check list resources (Zabbix should make his own copy) */
void	zbx_item_list_destroy(zbx_item_list_t list);

/* this function creates custom check description */
zbx_metric_t	zbx_metric_create(void);

/* possible metric attributes */
#define ZBX_METRIC_ATTR_KEY ...
#define ZBX_METRIC_ATTR_ALLOW_PARAMS ...
/* list can be expanded without breaking compatibility */

/* this function sets custom check attributes */
int	zbx_metric_attr_set(int attribute, void *value);

/* this function frees custom check resources */
void	zbx_metric_destroy(zbx_metric_t);

/* similar functions to manipulate request and result */
...

This functionality should be provided as a library (it can be used by Zabbix own checks as well). No matter how (dynamically or statically) Zabbix and loadable modules will be linked to the library, zbx_module_library_version() can be used to ensure that desired version of API is used.

When this issue is implemented ZBXNEXT-3157 will make sense. And this could be the beginning of ZBXNEXT-2519.

Good read on compatibility issue:
http://www.onlamp.com/pub/a/onlamp/2005/02/17/backwardscompatibility.html (two pages!)

 

UPD: The above link is broken by now, but here's an archived copy:

https://web.archive.org/web/20180424122939/http://www.onlamp.com/pub/a/onlamp/2005/02/17/backwardscompatibility.html



 Comments   
Comment by Vitaly Zhuravlev [ 2017 Jun 02 ]

Based on my experience with developing modules in Zabbix, I would like to add few notes what the second version of the API and module loading mechanics should look like in my opinion.

  • It should return current module version when loaded into zabbix in its log.
  • zabbix_log functions should be made available in the interface, so users can place information to the zabbix log.
  • DebugLevel configuration paramaters should be available to the module, so it can be used to provide or not to provide extended information to the log.
  • To avoid dealing with concurrency problems, it would be cool to have the option to limit module to the single poller only.

I also think that if Zabbix team could port at least one the protocols(JMX, VMWare maybe or IPMI) from the core to the loadable module and ship it that way in the following releases - then it would result in a more effecient and powerful loadable module interface for all. Its source code would also serve as a perfect example on how to properly build zabbix modules.

Comment by richlv [ 2019 Apr 24 ]

The onlamp link is broken by now, but here's an archived copy: https://web.archive.org/web/20180424122939/http://www.onlamp.com/pub/a/onlamp/2005/02/17/backwardscompatibility.html .





[ZBXNEXT-3075] Add more indexes to host_discovery table Created: 2015 Dec 15  Updated: 2021 Nov 10

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Andris Zeila Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: dbpatches, index, schema
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The parent_itemid and parent_hostid fields of host_discovery table are used to find host prototypes and discovered hosts respectively.

To improve related SQL selects we should add new indexes to host_discovery table:

INDEX		|1		|parent_hostid
INDEX		|2		|parent_itemid





[ZBXNEXT-8755] Add ability to influence the UpdateStrategy for the Zabbix Agent 2 Helm Chart Created: 2022 Mar 16  Updated: 2023 Oct 16

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent2 plugin (N), Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Michaela DeForest Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: agent, helm
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:

  1. Install Zabbix Agent Helm Chart
  2. Make a modification to the chart

Result:
The DaemonSet for the Zabbix Agent Helm Chart takes a long time to restart because it does not set the DaemonSet `maxUnavailable` value.
Expected:

Allow UpdateStrategy Values to be modified in order to reduce update time.

 

Allow the update strategy and `maxUnvailable` values to be configurable, so that we can increase the `maxUnavailable` value.






[ZBXNEXT-1896] Check for libcurl compatability Created: 2013 Sep 09  Updated: 2024 Mar 28

Status: Need info
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Scott Sturdivant Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: cookie, curl, freebsd
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

FreeBSD 9.1, Zabbix 2.0.8



 Description   

Given a default zabbix server installation on FreeBSD, the libcurl depedency is not compiled with support for cookies. When executing a web monitoring scenario, the server's logs has a line like:

web scenario "Main Page" error: could not set cURL option [10031]: An unknown option was passed in to libcurl

1) It would be nice if the command passed to curl was printed to help figure out which option it was being passed that didn't work.
2) Potentially compatibility with libcurl could be checked upon installation to warn the user.



 Comments   
Comment by Scott Sturdivant [ 2013 Sep 09 ]

This post was the one that led me to the solution: http://sourceforge.net/p/zabbix/mailman/message/31200026/

Comment by Oleksii Zagorskyi [ 2013 Sep 10 ]

We had "similar" case in ZBX-4850
I.e. when some external library doesn't support some its feature because of distro maintainers' point of view.

Comment by dimir [ 2024 Jan 05 ]

Related issue: ZBXNEXT-3623

Comment by dimir [ 2024 Mar 28 ]

sirscott
Should have been fixed in ZBXNEXT-3623, please check if the error has gone with 7.0.0beta2.





[ZBXNEXT-1383] Bounty: Spec file for RPMs on AIX (6.1 -- May work on other systems) Created: 2011 Oct 05  Updated: 2014 May 09

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Volker Fröhlich Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: aix, build, patch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File zabbix-1.8.6-libperfstat.patch     File zabbix-20140509.spec     File zabbix.spec     File zabbix2.spec     File zabbix_agentd    

 Description   

These files are intended for people that want to build the agent from source and want to roll out on AIX via RPMs. You could include this somewhere around the misc directory. The spec file references the AIX init script you already ship.

I built on AIX 6.1. It might work for newer versions of Zabbix and other releases of AIX.

There is a ticket concerning the dirty patch I'm using here: https://support.zabbix.com/browse/ZBX-4204



 Comments   
Comment by Volker Fröhlich [ 2011 Nov 17 ]

The Spec file works just fine on AIX 5.3.

The following RPMs were installed on the build system (fewer may be necessary):

AIX-rpm
autoconf
automake
binutils
diffutils
findutils
gcc
gdb
(gettext)
gzip
less
m4
make
pkg-config
zlib

Comment by Volker Fröhlich [ 2013 Feb 19 ]

Updated for 2.0:

Mind that the specfile normally has the same name as the package, by convention, and was only called differently to avoid collision here.

The init script is the one from the source tarball. Only the paths are changed.

Comment by Boris Manojlovic [ 2014 May 09 ]

Updated zabbix.spec, all patches referenced inside are uploaded to JIRA, patches applied:
ZBXNEXT-1506
ZBX-5243
ZBXNEXT-2293





[ZBXNEXT-3136] revision in logfiles may end up being empty Created: 2012 Jan 26  Updated: 2016 Feb 09

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: sourcecode, svn
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-2512 .tar.gz for developers must contain a... Closed

 Description   

when doing "make dist", revision may end up being empty. this results in log entries like :
Starting Zabbix Server. Zabbix 1.9.9 (revision ).

possible reason might be doing make dist from a source tree that is not an svn checkout



 Comments   
Comment by richlv [ 2012 Jan 26 ]

not sure whether this might be a regression or not, but the last log entry that still has revision information is from r24703

Comment by Oleksii Zagorskyi [ 2012 Jan 27 ]

That can happen only if sources checked out from SVN. See ZBX-2512 for details.

Comment by Alexei Vladishev [ 2012 Jan 31 ]

It never worked for sources taken directly from SVN.

Comment by richlv [ 2016 Feb 09 ]

moving to feature requests - it's about including revision w/o requiring 'make dist'





[ZBXNEXT-2586] zabbix Packages: agent init script do not show error if any mistake are taken Created: 2014 Nov 11  Updated: 2017 May 31

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: PICCORO Lenz McKAY Assignee: Kodai Terashima
Resolution: Unresolved Votes: 0
Labels: initscripts, packaging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

operating system



 Description   

init scrp of zabbix agent ackges do not show any error if misctakes are happened..

by exampl i enable script directory and no put any script .. o agen could start..
but if i launch init script that not show the error:

sysmonitor:~# /etc/init.d/zabbix-agent start
Starting Zabbix agent: zabbix_agentdsysmonitor:~#

note the no new line when try to start
i modify the "> /dev/null 2&1" part by removing and for see wht happened and got :

sysmonitor:~# /etc/init.d/zabbix-agent start
Starting Zabbix agent: zabbix_agentdzabbix_agentd [30232]: /etc/zabbix/zabbix_agentd.conf.d/: [2] No such file or directory
sysmonitor:~#

so then:

Theres any possibility to improve this script to show what happened if any mistake are happened?



 Comments   
Comment by PICCORO Lenz McKAY [ 2014 Nov 11 ]

IMPORTANT agent do not log any error.. if a misctake are happend.. do i create a new issue around that?

Comment by richlv [ 2014 Nov 11 ]

kodai, could you please take a look at this one ?

Comment by Volker Fröhlich [ 2014 Nov 11 ]

We changed the init scripts in EPEL 5/6 about a year ago. Maybe it helps!

http://pkgs.fedoraproject.org/cgit/zabbix20.git/tree/?h=el6





[ZBXNEXT-2358] Zabbix packages and database dependencies Created: 2014 Jun 26  Updated: 2021 Jan 03

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Christian Wolff Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: packaging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Until now there are packages (Server/Proxy) for Ubuntu and Debian e.g. which will install MySQL or PostgreSQL. Is there a chance to build packages which only provide the Zabbix binaries and leave the database installation to the administrator? I haven't tried to install the package without dependencies but it's kind of a dirty solution. For beginners the flavoured packages for the server and proxy installation is pretty cool but for advanced users it can be painful especially using configuration management tools like Puppet or Chef.



 Comments   
Comment by richlv [ 2014 Dec 19 ]

ZBX-9157 is related

Comment by Marc Schoechlin [ 2021 Jan 03 ]

Can be closed.

Current dependencies for debian:

Package: zabbix-server-mysql
Architecture: amd64
Version: 1:4.0.17+dfsg-1
Priority: optional
Section: universe/net
Source: zabbix
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Dmitry Smirnov <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3963
Depends: libc6 (>= 2.29), libcurl3-gnutls (>= 7.28.0), libevent-2.1-7 (>= 2.1.8-stable), libgnutls30 (>= 3.6.11), libiksemel3 (>= 1.2), libldap-2.4-2 (>= 2.4.7), libmysqlclient21 (>= 8.0.11), libodbc1 (>= 2.3.1), libopenipmi0, libpcre3, libsnmp35 (>= 5.8+dfsg), libssh2-1 (>= 1.0), libxml2 (>= 2.7.4), zlib1g (>= 1:1.2.0), ucf, fping, adduser, lsb-base
Recommends: default-mysql-server | virtual-mysql-server, snmpd, nmap, traceroute
Suggests: zabbix-frontend-php, logrotate, sudo, snmp-mibs-downloader
Conflicts: zabbix-proxy-mysql, zabbix-proxy-pgsql, zabbix-proxy-sqlite3, zabbix-server-pgsql
Filename: pool/universe/z/zabbix/zabbix-server-mysql_4.0.17+dfsg-1_amd64.deb
Size: 2041040
MD5sum: e50c2b3050903e62b4d2d7d03781ff89
SHA1: 91c1c363af79029d4d559bdde0978286431af6ed
SHA256: 3ed35b420be23ac1fe9a78cf9d17e570fd09965292d7fd6eb1e33a0eb8527055
Homepage: http://zabbix.com
Description-en: network monitoring solution - server (using MySQL)
 Zabbix is a server/client network monitoring system with many features.
 It can be used for:
 .
  - high level monitoring of IT services;
  - centralized monitoring of your servers and applications;
  - monitoring of SNMP-enabled devices;
  - performance monitoring (process load, network activity, disk
    activity, memory usage, OS parameters etc.);
  - data visualization.
 .
 This package provides the software needed to integrate a host as a Zabbix
 client. It collects information from Zabbix clients and stores it in a


Package: zabbix-server-pgsql
Architecture: amd64
Version: 1:4.0.17+dfsg-1
Priority: optional
Section: universe/net
Source: zabbix
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Dmitry Smirnov <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3958
Depends: libc6 (>= 2.29), libcurl3-gnutls (>= 7.28.0), libevent-2.1-7 (>= 2.1.8-stable), libgnutls30 (>= 3.6.11), libiksemel3 (>= 1.2), libldap-2.4-2 (>= 2.4.7), libodbc1 (>= 2.3.1), libopenipmi0, libpcre3, libpq5, libsnmp35 (>= 5.8+dfsg), libssh2-1 (>= 1.0), libxml2 (>= 2.7.4), zlib1g (>= 1:1.2.0), ucf, fping, adduser, lsb-base
Recommends: postgresql, snmpd, nmap, traceroute
Suggests: zabbix-frontend-php, logrotate, sudo, snmp-mibs-downloader
Conflicts: zabbix-proxy-mysql, zabbix-proxy-pgsql, zabbix-proxy-sqlite3, zabbix-server-mysql
Filename: pool/universe/z/zabbix/zabbix-server-pgsql_4.0.17+dfsg-1_amd64.deb
Size: 2037268
MD5sum: fb20d42ea6fe1db9002f6aac7166bf85
SHA1: 6bfa62e7e96803d826e0dd200b59491147901600
SHA256: ee42ebda161ad09b11eb94ecf4fb7e6db39819f45c82c96facd9f3cf5c7a6f31
Homepage: http://zabbix.com
Description-en: network monitoring solution - server (using PostgreSQL)
 Zabbix is a server/client network monitoring system with many features.
 It can be used for:
 .
  - high level monitoring of IT services;
  - centralized monitoring of your servers and applications;
  - monitoring of SNMP-enabled devices;
  - performance monitoring (process load, network activity, disk
    activity, memory usage, OS parameters etc.);
  - data visualization.
 .
 This package provides the software needed to integrate a host as a Zabbix
 client. It collects information from Zabbix clients and stores it in a
 PostgreSQL database.
Description-md5: cadbb0c0ef272ba662fa7d04372e834b

 




[ZBXNEXT-2229] SysV init script for Zabbix server/agent Created: 2014 Mar 28  Updated: 2018 Mar 20

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.0.10
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Dumitru Moldovan Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: initscripts
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified
Environment:

Linux, AIX, Solaris, other Unices.


Attachments: File sysv_init_script.sh     File sysv_init_script.sh     File sysv_init_script.sh     File sysv_init_script.sh     File sysv_init_script.sh     File sysv_init_script.sh     File sysv_init_script.sh    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-2730 SysV init script for Zabbix agent/ser... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBXNEXT-2730 SysV init script for Zabbix agent/ser... Change Request (Sub-task) Closed  

 Description   

Wrote a portable SysV init script for the Zabbix agent/server 2.0.10. Started to write it from scratch for AIX 5.3 and included all features found in Unix init scripts included with Zabbix or available on the Internet. We use it in Solaris 10 too. It was also tested for both agent and server in Ubuntu 12.04.



 Comments   
Comment by Dumitru Moldovan [ 2014 Mar 28 ]

Version that also works in Solaris.

Comment by Dumitru Moldovan [ 2014 Mar 28 ]

Somehow managed to upload at 16:49 a version that was only tested in AIX and Linux. The one from 17:06 also includes fixes for Solaris' ancient /bin/sh.

Comment by Dumitru Moldovan [ 2014 Apr 02 ]

Added support for force-stop action.

Comment by Dumitru Moldovan [ 2014 Apr 02 ]

Added support for force-stop action in the latest attached file (2014 Apr 02). Tested in AIX 5.3, Solaris 10 and Ubuntu 12.04.

The commands in action:

# /etc/init.d/zabbix-agent start
Starting Zabbix agent:  Done.
# /etc/init.d/zabbix-agent status
Zabbix agent is running.
# /etc/init.d/zabbix-agent stop
Stopping Zabbix agent: .. Done.
# /etc/init.d/zabbix-agent status
No zabbix_agentd process is running as user zabbix.
Zabbix agent is not running!
# /etc/init.d/zabbix-agent stop
No zabbix_agentd process is running as user zabbix.
Zabbix agent is not running, nothing to do.
# /etc/init.d/zabbix-agent start
Starting Zabbix agent:  Done.
# /etc/init.d/zabbix-agent start
Zabbix agent is already running, nothing to do.
# /etc/init.d/zabbix-agent restart
Stopping Zabbix agent: .. Done.
Starting Zabbix agent:  Done.
# /etc/init.d/zabbix-agent force-stop
Zabbix agent is running fine, initiating normal stop...
Stopping Zabbix agent: .. Done.
# /etc/init.d/zabbix-agent force-stop
No zabbix_agentd process is running as user zabbix.
Zabbix agent is not running, nothing to do.
# /etc/init.d/zabbix-agent restart
No zabbix_agentd process is running as user zabbix.
Zabbix agent is not running, nothing to do.
Starting Zabbix agent:  Done.
# rm /var/run/zabbix/zabbix_agentd.pid 
# /etc/init.d/zabbix-agent status
Problems reading PID from file /var/run/zabbix/zabbix_agentd.pid.
Zabbix agent is not properly running!
# /etc/init.d/zabbix-agent restart
Problems reading PID from file /var/run/zabbix/zabbix_agentd.pid.
Zabbix agent is not properly running, not stopping!
Zabbix agent was not properly stopped, not starting!
# /etc/init.d/zabbix-agent force-stop
Problems reading PID from file /var/run/zabbix/zabbix_agentd.pid.
Zabbix agent is not properly running, killing it nicely first: .. Done.
# /etc/init.d/zabbix-agent status
No zabbix_agentd process is running as user zabbix.
Zabbix agent is not running!
# /etc/init.d/zabbix-agent start
Starting Zabbix agent:  Done.
# kill -9 `cat /var/run/zabbix/zabbix_agentd.pid`
# /etc/init.d/zabbix-agent status
PID from /var/run/zabbix/zabbix_agentd.pid doesn't match running processes.
Zabbix agent is not properly running!
# /etc/init.d/zabbix-agent restart
PID from /var/run/zabbix/zabbix_agentd.pid doesn't match running processes.
Zabbix agent is not properly running, not stopping!
Zabbix agent was not properly stopped, not starting!
# /etc/init.d/zabbix-agent force-stop
PID from /var/run/zabbix/zabbix_agentd.pid doesn't match running processes.
Zabbix agent is not properly running, killing it nicely first: . Done.
# /etc/init.d/zabbix-agent status
No zabbix_agentd process is running as user zabbix.
Zabbix agent is not running!
Comment by Dumitru Moldovan [ 2014 Jun 27 ]

A slightly improved version.

Comment by Dumitru Moldovan [ 2015 Mar 02 ]

Updated for HP-UX 11.31.

Comment by Dumitru Moldovan [ 2015 Mar 05 ]

Fix minor issue with shells that do not implement the KornShell-derived conditional command (double bracket [[]]), eg. Solaris' ancient /bin/sh and Ubuntu's Dash.

Comment by Dumitru Moldovan [ 2018 Mar 20 ]

Slightly improved version. Integrates with RHEL's chkconfig, tested in RHEL 7.

Comment by Dumitru Moldovan [ 2018 Mar 20 ]

The init script should work with 3.x versions as well, currently tested with 3.0 LTS.





[ZBXNEXT-1954] bundle all 3 sql files Created: 2013 Oct 07  Updated: 2013 Oct 07

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.1.6
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

currently users have to insert 3 sql files (schema, images, data) manually in the correct sequence. this is somewhat error prone.

sasha pointed out a couple of reasons why that's not easy to do, though :

a) proxy needs schema only; could be done by having proxy have it's own schema (would also solve problems with extra data being sent, extra data being inserted in the db)
b) we can't unify images with other files for oracle.






[ZBXNEXT-6161] Change default log location in Agent installer Created: 2020 Aug 26  Updated: 2020 Aug 27

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I), Packages (C)
Affects Version/s: 5.0.2
Fix Version/s: None

Type: Change Request Priority: High
Reporter: Joshua Assignee: Viktors Tjarve
Resolution: Unresolved Votes: 0
Labels: macOS, packaging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Catalina



 Description   

Once a mac is upgraded to Catalina the Zabbix Agent installer's default location for log files (/var/log/zabbix) is removed. The agent will then not load upon restart of the machine because it can't find the folder. This happens each time there is a Catalina update. I have tested out changing the .plist and .conf log locations to the path /usr/local/var/zabbix. This location is not removed during Catalina updates.

I request that the default agent log locations be changed to /usr/local/var in the installer to alleviate having to manually change them after install in the .plist and .conf.

 

Thanks






[ZBXNEXT-7812] zabbix-java-gateway addition to official helm chart Created: 2022 Jun 21  Updated: 2022 Jun 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I), Java gateway (J)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Medium
Reporter: Richard Ostrochovský Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Java Gateway is currently not included in official helm chart: ZBXNEXT-6933

Could you please include it too?

Thank you.



 Comments   
Comment by Richard Ostrochovský [ 2022 Jun 21 ]

As optional part which could be enabled via values file.





[ZBXNEXT-7700] Update packages to V6 on DigitalOcean Marketplace Created: 2022 May 11  Updated: 2022 May 11

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 6.0.4
Fix Version/s: None

Type: Change Request Priority: Medium
Reporter: Ted Skinner Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Do you have a schedule to update the Zabbix packages on DigitalOcean to V6.  They are still at Version 5.0.6  I'd love to see a package with V6 with PostgreSQL and NGINX.  I opened a ticket with DigitalOcean, but they said it is Zabbix that updates the packages on the marketplace not them.

https://marketplace.digitalocean.com/apps/zabbix-server

https://marketplace.digitalocean.com/apps/zabbix-proxy

Thanks!






[ZBXNEXT-6961] Update templates automatically after each Zabbix Upgrade Created: 2021 Sep 29  Updated: 2023 Oct 25

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I), Server (S)
Affects Version/s: 5.4.5rc2
Fix Version/s: None

Type: New Feature Request Priority: Medium
Reporter: Kai Herlemann Assignee: dimir
Resolution: Unresolved Votes: 8
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix server in general


Issue Links:
Duplicate
is duplicated by ZBXNEXT-8604 Automatic updating of templates that ... Closed

 Description   

Hi,

I'd like request that every Zabbix template which is included in the default template set is automatically updated. Additionally, new templates in the default template set should be automatically added.

New templates contains bug fixes and new features, so I think it would be a pity if users don't benefit from that automatically.
Of course, this is a very major change – there are maybe customizations. So it must be checked – in case there are customizations, the user must be asked if he/she want's to keep the customizations or not.

Thankfully, there were already some improvements with 5.4. To introduce the proposed improvements, the user will have to interact with the GUI after the upgrade to merge the possibly customized settings and the default settings. This would require the following changes (as far as I can see):

  1. currently, macros are saved as a single string. For example, template "Windows services by Zabbix agent active" – there's a macro "{$SERVICE.NAME.NOT_MATCHES}" with this content: ^RemoteRegistry|MMCSS|gupdate|SysmonLog|clr_optimization_v.|clr_optimization_v.|sppsvc|gpsvc|Pml Driver HPZ12|Net Driver HPZ12|MapsBroker|IntelAudioService|Intel(R) TPM Provisioning Service|dbupdate|DoSvc$
    Every single alternative must be saved in a row, not as a whole string.
  2. The user have to be asked for every single change, if he wants to keep his own setting, he have t press "keep it", to overwrite it he have to press "overwrite it".

Of course it should be also possible to just keep all customized settings or to overwrite all of them.
Both changes would be also great in case of manual import.

This would be really very nice!

Thanks,
Kai



 Comments   
Comment by Ilya S [ 2023 Aug 01 ]

+1. High important feature.

With each new version, a lot of template updates come out, you can’t keep track of everyone, manually updating takes a lot of time. What was updated yesterday is no longer relevant today. I would like to have a human mechanism for updating templates, it is possible to check the "do not update" checkboxes to protect some templates





[ZBXNEXT-6077] Enable out of tree builds Created: 2020 Jul 19  Updated: 2022 Aug 29

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 5.0.2
Fix Version/s: None

Type: Change Request Priority: Medium
Reporter: Orion Poplawski Assignee: dimir
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux


Attachments: File 0001-Fix-many-out-of-tree-build-issues.patch    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-6968 Out-of-tree (VPATH) builds from sources Closed

 Description   

It would be helpful to be able to do out of tree builds, but this is currently broken.  The attached patch helps, but java and go are not fully tested.






Generated at Sat Apr 20 00:47:08 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.