Zabbix Agent Install Script
-
@dafyre said in Zabbix Agent Install Script:
@DustinB3403 said in Zabbix Agent Install Script:
You almost have it, you just need to change your target directories and it should work just fine.
It already works just fine on Ubuntu and CentOS after a
apt-get install build-essential oryum groupinstall Development.
So why not just put that into the installer script at the top?
sudo apt-get install build-essential --yes
-
@DustinB3403 said in Zabbix Agent Install Script:
@dafyre said in Zabbix Agent Install Script:
@DustinB3403 said in Zabbix Agent Install Script:
You almost have it, you just need to change your target directories and it should work just fine.
It already works just fine on Ubuntu and CentOS after a
apt-get install build-essential oryum groupinstall Development.
So why not just put that into the installer script at the top?
sudo apt-get install build-essential --yes
Because if I do that, the script barfs errors all over the place if it is run on a Non-Debian distro.
Edit: This is one of the things I plan to fix.
-
Also sloppy to use a static IP in the script.
-
@DustinB3403 said in Zabbix Agent Install Script:
Also sloppy to use a static IP in the script.
I don't have internal DNS for this, and you will see that it is a variable you can change.
During our chat, I realized that I made no mention of adjusting the variables for your environment. I'll add some documentation to it for clarification.
-
@DustinB3403 said in Zabbix Agent Install Script:
Also sloppy to use a static IP in the script.
Is it, or is it smart? If DNS is down, don't all your server show as down?
-
@aaronstuder said in Zabbix Agent Install Script:
@DustinB3403 said in Zabbix Agent Install Script:
Also sloppy to use a static IP in the script.
Is it, or is it smart? If DNS is down, don't all your server show as down?
For a public script it's sloppy, even @dafyre agreed. Its fine to be there, but it can't resolve to an internal DNS for the installation of the system. Because it's not internal for you, but internal for @dafyre
-
@DustinB3403 said in Zabbix Agent Install Script:
@aaronstuder said in Zabbix Agent Install Script:
@DustinB3403 said in Zabbix Agent Install Script:
Also sloppy to use a static IP in the script.
Is it, or is it smart? If DNS is down, don't all your server show as down?
For a public script it's sloppy, even @dafyre agreed. Its fine to be there, but it can't resolve to an internal DNS for the installation of the system. Because it's not internal for you, but internal for @dafyre
It's been fixed anyhow. Now defaults to 127.0.0.1, I think.
-
@aaronstuder said in Zabbix Agent Install Script:
@DustinB3403 said in Zabbix Agent Install Script:
Also sloppy to use a static IP in the script.
Is it, or is it smart? If DNS is down, don't all your server show as down?
Aaron does have a point in this. The good news is that the zabbix server contacts machines back via IP address when they are auto registered in the system.
-
Topic has been unattended for some time, but all your github links are giving me 404 errors...
I'm sure you are aware of this, but just in-case.. I wanted to check out your agent installer for windows scripts.
cheers.
-
@cronsloth If you are looking for WIndows Zabbix agents, I have some scripts here;
https://community.spiceworks.com/scripts/show/3985-zabbix-32-bits-client-installationhttps://community.spiceworks.com/scripts/show/3984-zabbix-64-bits-client-installation
Just make sure to have the latest agent files.
-
There is also a msi out there that you can compile yourself. Makes it a lot easier.
-
@coliver said in Zabbix Agent Install Script:
There is also a msi out there that you can compile yourself. Makes it a lot easier.
Compile yourself?
-
@scottalanmiller said in Zabbix Agent Install Script:
@coliver said in Zabbix Agent Install Script:
There is also a msi out there that you can compile yourself. Makes it a lot easier.
Compile yourself?
Compile isn't the right word on this context... I suppose bundle may be more accurate?
-
I have always used the following for MSI
http://www.suiviperf.com/zabbix/index.php