-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Package Request] Zabbix Agent #1514
Comments
The PR was closed by the creator, so there's no package on the SynoCommunity repository. I believe there's a separate repo with the Zabbix package, not sure of the details though. |
I don't understand why his work has not been add to SynoCommunity repository when the PR was opened. His Zabbix agent was working well, really usefull and easy to use. |
@Inglebard Stop stressing yourself 😄 see from #716 (comment) i'm still playing around with zabbix and a few others including SOGo Groupware (in house). I'm over at synology main forum if you need help with anything |
Any update on Zabbix in SynoCommunity ? At least Zabbix Agent would be great for those of us who need to monitor DSM 4.x / 5.x from enterprise Zabbix. |
I have a DS1815+ i can start the zabbix agent downloaded from zabbix.com as this one is x64. I created a user zabbix. But somehow it does not run. I chmod the log file 777 but no logging nothing. Anyone knows how to do it properly? |
Any update on Zabbix agent for synology ? |
I put source code of zabbix agent here : https://github.com/Inglebard (@RustyPixel 1 Jun 2014) |
anyone get it working for DSM6? |
@DONCIEUX-CAMILLLE May you please help submitting a PR proposal for agent-only package? |
Hello, |
@Inglebard I just have restarted to work on zabbix locally, it is a beast... Shall we build an agent-only package? I can create a PR, but I don't use zabbix and I'm lacking time for the service configuration (and we need an installation wizard to configure mysql/mariadb), Can you help to get this done? |
I think a package with zabbix-agent only and another package with zabbix-server would be great. I will be happy to help however my knowledge to build synology package/spksrc/make and other compiling stuff is not good. |
I would love a current agent package for Syno! :) |
@Inglebard, @viper93458 here are my first questions regarding the configuration Successfully built the zabbix-agent, but I am lacking the knowledge on how to configure it. I have setup a zabbix-server with docker compose on a linux server in my local network (using https://github.com/matsubo/zabbix-docker-compose/blob/master/docker-compose_v3_ubuntu_mysql_latest.yaml) I have configured the zabbix-agent on a diskstation with the following parameters in the config file (beside DSM specific settings for PidFile and LogFile):
The agent is running and listening on the default port 10050 In zabbix on the zabbix-server I added the agent with "Monitoring - Hosts - Create host"
But the zabbix-server does not get any data from the zabbix-agent: Avalability shows "status unknown" Further details:
zabbix-agent logfile has lot of entries like
is this issue related to the agent or the server? |
That means [{zabbix-agent-hostname}] is not declared in zabbix server or do not have the same name. In the zabbix agent configuration file there is a line call "Hostname", It must match to the name of the created host in zabbix server. |
@Inglebard thanks for the feedback. I have now adjusted this and the active checks errors are gone. With So I guess my tests have an issue with my zabbix-server that is not able to show data from the zabbix-agent on my diskstation. To create an installation wizard, we could present the following values to the user:
I guess we need at least the Does it make sense to support active checks too? |
Zabbix agent has 2 mode active and passive. |
Yes, I know, You can download and manually install the package created by the github build. Still open question:
|
@Inglebard I tried to build a zabbix-server package (at least to test the zabbix-agent) There are 3 scripts to create the db:
The first (schema.sql) took more than 1 hour on a VirtualDSM on DS-218+ So I gave up and will try to create a zabbix-proxy. |
Sorry to be dense, but how do I find the SPK in the specific commit to download for manual install/testing? |
@viper93458 I think you need to build it manually for now
I don't know why but you may need to edit spksrc.supported.mk @hgy59 During the installation, only the server ip/port is required. I am also worried about zabbix root access. If I remember well, when zabbix-agent is launched, it check if there is a zabbix user account, if not it uses root. About your question about zabbix-server, maybe it require too much RAM to import data. |
@Inglebard you can download packages created by github build action and manually install it in DSM package center. in #6417 naviatate to Checks - select Build - and go to Artifacts The zabbix-agent runs as user Until we have the final wizard, you can manually edit the configuration in the file
You have to restart the agent after changing options in the config file
Remarks to "Listen Port": |
@hgy59 thank you kindly. The Artifacts link was the step I was missing when I was looking. Thanks! |
ServerActive and Hostname configuration are now implemented in the installation wizard. Please be aware that this is for the first installation only. When updading the package no wizard is shown and the options can't be changed. |
Hi,
It would be intrerresting to have a Zabbix Agent Package.
I can see pull request about it, where is it ?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: