zabbix | Zabbix custom scripts and auto-install | Runtime Evironment library
kandi X-RAY | zabbix Summary
kandi X-RAY | zabbix Summary
This is a collection of custom scripts developed over time to monitor the essential services of a LAMP stack:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of zabbix
zabbix Key Features
zabbix Examples and Code Snippets
Community Discussions
Trending Discussions on zabbix
QUESTION
Please help me. Trying to use the variable as a value for subsequent processing does not work. I use it like this:
...ANSWER
Answered 2021-Jun-04 at 06:48if I understand your script correct you want to get all eventlog entries but not those that match the pattern of "ignore.txt". to achive this you have to create ScriptBlock out of the string $a
:
QUESTION
So recently i tried to access my zabbix web interface as usual (before it i played with my site nginx config, but reverted it back), but now on entering URL and pressing enter i only get some strange file downloaded without name, file extenstion with only 50~ bytes of data in it, any suggestions?
Here is the file contents, but of course it's not human readable and doesn't make any sense
UPD: i tried URL like /index.php and now it downloads same file but with name index.php
...ANSWER
Answered 2021-May-28 at 13:36So the problem was in nginx config of the SITE (not the zabbix nginx config), listen 80 http2;
had to remove http2
QUESTION
I just installed Zabbix 5.4 and i want to test 'scheduled reports' but i keep getting:
...
ANSWER
Answered 2021-May-24 at 15:05You need to enable report writer in server config.
In /etc/zabbix/zabbix_server.conf
(assuming you are running Zabbix on a Linux machine) change the value of StartReportWriters
to at least 1, then restart the server.
You also need to set WebServiceURL
parameter in zabbix_server.conf
. The URL should be in format :/report
. Default port is 10053.
QUESTION
I am using a kafka environment via docker. It went up correctly!
But I can't perform REST queries with my python script...
I am trying to read all messages received on the streamer!
Any suggestions for correction?
Sorry for the longs outputs, I wanted to detail the problem to facilitate debugging :)
consumer.py
...ANSWER
Answered 2021-May-18 at 04:40just use kafka-python package.
QUESTION
I'm trying to monitor a virtual machine from another. have two ubuntu virtual machines one with the zabbix server and another with the zabbix agent.
but after setting up my agent by using my public ip i get this error :Received empty response from Zabbix Agent at [192.168.x.x]. Assuming that agent dropped connection because of access permissions.
in /etc/zabbix/zabbix_agentd
i changed my server to server= 127.0.0.1,192.168.x.x
and i turned off my firewall just in case.
My agent status: If you are familiar please help and /var/log/zabbix_agentd.log
...ANSWER
Answered 2021-May-17 at 20:33In logs you got:
Failed to accept an incoming connection: connection from "192.168.243.2" rejected, allowed hosts: "127.0.0.1,192.168.243.3"
The log itself tells you what host is trying to connect and what hosts are allowed :)
It's trying to connect x.x.x.2 and the allowed host in the config is x.x.x.3. Change agent config 192.168.243.2 to 192.168.243.3 +restart and it should work
QUESTION
OS - Ubuntu 20.04.2 LTS
Task - create puppet manifest, that will make apache2-zabbix page.
...ANSWER
Answered 2021-May-07 at 13:22This is most likely just a dependency issue - Puppet is trying to install and run Zabbix before MySQL server is running.
Try changing the package
resource to
QUESTION
I try to communicate with zabbix API with ansible. It waits for a json input and process it, however, it does not work. My playbook task looks like this:
...ANSWER
Answered 2021-Apr-23 at 20:14Based on comment, I fixed the playbook and quoted every input.
QUESTION
I am trying to register Zabbix agent to Zabbix server UI automatically but seems i am missing something but when i am trying to do it via UI(Manually) it is working. can someone help me to do it.
My configurations -
...ANSWER
Answered 2021-Mar-03 at 15:45You are configuring Server
and ServerActive
wrong: both need to be set to the IP/DNS of the Zabbix Proxy/Server, no the local IP/DNS.
QUESTION
I am trying to integrate alerting system from zabbix 5.2.6 to MS teams i am following below document but this doesn't seems to be working.
https://www.zabbix.com/integrations/msteams
can anyone please suggest a doc or any other lead would be appreciated.
...ANSWER
Answered 2021-Apr-20 at 07:06This Doc works fine but need to keep three important configuration in mind that are not mentioned in the doc.
Administration -> General -> Macros -> add {$ZABBIX.URL} = http://DNSNAME/zabbix/ You Must Get Zabbix UI
Enable Configuration -> Actions -> Trigger actions -> Report problems to Zabbix administrators
You can send alerts via Admin user too. Administration -> Users -> Admin -> Media -> Type (MS Teams) -> Send to (MS team connector) -> update
I tried on Zabbix 5.2.6 Follow This Doc Link for more details
QUESTION
I have both zabbix 3 and zabbix 5. I have a template that monitors Database statistics. there is a trigger that is important, but sometimes when we are operating on Database the trigger is not needed because we caused that situation. sometimes i don't want this trigger on my dashboard so i attend to close it. but the interval for its item is 60s and after a minute it appears again. so is there any way to close or ignore a trigger for a period of time?
i don't want to put the machine in maintenance mode because operation may take a week. i can't disable the item, we need its data and history. i can't change it's interval since it is in template.
in this question Q1 someone explained about closing the problem but it's not what i want.
...ANSWER
Answered 2021-Apr-12 at 13:04Since Zabbix 4, you can put a single item in maintenance using Tags.
If maintenance tags are specified, maintenance for the selected hosts will still be activated, but problems will only be suppressed (i.e. no actions will be taken) if their tags are a match.
https://www.zabbix.com/documentation/current/manual/maintenance
So:
- tag the trigger in the template
- create a maintenace for that host/tag and activate it when needed
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install zabbix
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page