[ZBX-20825] Zabbix agent does not compile on my Dead Badger Created: 2022 Mar 31  Updated: 2022 Apr 07  Resolved: 2022 Apr 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I)
Affects Version/s: 6.0.2
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Brian van Baekel Assignee: dimir
Resolution: Won't fix Votes: 7
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Dead Badger (Mellivora capensis), compiled with FleshGolem 2.3 and Phranken 16.2, running vüDü 3.2 which is installed with scrolls.
Physically the badger was in good condition.

1mtr scrolls.


Attachments: PNG File Screenshot 2022-03-31 at 20.36.36.png    

 Description   

Purchase https://www.amazon.com/Installing-Linux-Dead-Badger-Snyder/dp/1894953479
(see attached screenshot as well)
Follow the steps to get Linux installed on the badger. Distro of choice is vüDü with a default installation, no changes on the partitioning (badger had no physical damage.)
Installation went well, and no badger was harmed during the installation process.

Now try to install Zabbix agent. Due to lack of installer (should I make a separate feature request?) i tried to compile it from sources:

Written on a scroll, i tried to install the prerequisites:

git vim wget gcc make mysql-devel libxml2-devel net-snmp-devel OpenIPMI-devel libevent-devel libcurl-devel pcre-devel httpd php-fpm php-json php-gd php-bcmath php-ctype php-libxml php-xmlreader php-session php-sockets php-mbstring php-gettext php-ldap php-openssl php-mysqli mysql-server mysql-libs autoconf automake

This seemed successful as I did not get any error message whatsoever. Next i tried to install the agent, by downloading the source code (https://git.zabbix.com/rest/api/latest/projects/ZBX/repos/zabbix/archive?format=zip) and compiled it with:

./configure  --enable-agent 

However, i get the following error:

Error: Your badger is damaged too severe. **process cancelled**

The scrolls are giving purple flames (kernel panic) and i do not seem to get further into the process.

It seems Zabbix agent is not acting well on a dead badger, and even causing kernel panics.

Expected:
Zabbix agent working on vüDü 3.2, on my dead badger



 Comments   
Comment by Boris Johnson [ 2022 Apr 01 ]

Is it related to the template developed Andrew Biba, because we experience a similar issue on our side as well...

Comment by dimir [ 2022 Apr 01 ]

Looks to me the problem is that the badger is not actually dead. In order to compile Zabbix agent on it it must be dead completely. Please ensure there are no signs of life on it:

cat /dev/heart /dev/brain /dev/centralnervesystem | col -b | grep -iI [ALIVE] 
Comment by Boris Johnson [ 2022 Apr 01 ]

I have tried the command provided, but i get errors on templates now.

Comment by Andrew Biba [ 2022 Apr 01 ]

laris2 seems like dimir may be right. If badger is half dead indeed i assume there could be a template issues, because our agent supposed to work with only totally dead badgers. Zombie badgers may cause unpredictable behavior.

If you may consider that badger is dead and no signs of life are presented, pls make sure its a badger and not a ferret. Users quite often confuse a badger with a ferret.

Comment by Edgars Melveris [ 2022 Apr 01 ]

Might also help to "make sure" it's dead

Comment by Brian van Baekel [ 2022 Apr 01 ]

@dimir: tested your command, but it's absolutely dead. no sign of life in that poor thing to be found. As per suggestion of @abiba i went to the vet, and there it was confirmed we're facing a real badger.

However, Zabbix still does not want to compile, i think we're also facing a documentation problem is, or better the lack of documentation ;( i am just freestyling in the hope that it works...

Comment by Nathan Liefting [ 2022 Apr 01 ]

Brian and I tried another round, and it seems like combining our forced into a 2 man 1 dead badger kind of situation helped us resolve the error we noticed earlier. In the end though, the Zabbix agent compiles but doesn't run as it seems like it just fails to start up any of it's processes.

Only thing noticable in systemctl status zabbix-agent is:

brain-damage
Comment by Roy van Baekel [ 2022 Apr 01 ]

I've done a visual inspection of aforementioned badger after Nathan and Brian had another round. Though it smells really bad (I am not sure if it was the badger or Brian), I can confirm the badger is deceased.

 

However, the following script provides some more insight perhaps?
 

#!/usr/bin/python3
import os

home = os.environ.get('HOME', 'OICTS Office')

if home == "OICTS Office":
	print("Nope")
else:
	print("Please visit https://www.youtube.com/watch?v=UijhbHvxWrA")

Output:

% HOME="OICTS Office" python3 badger.py
Nope
Comment by dimir [ 2022 Apr 07 ]

Reporter says the badger has rotten now, we didn't manage to fix the bug this time. Oh well, let's wait for another. Closing Won't Fix for now.

Generated at Sat Apr 05 08:09:07 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.