Hello, does FreeNas support installation of zabbix agent? I tried to compile it but have some strange errors like
configure: error: in `/mnt/VOL2/zabbix-2.2.1':
configure: error: C compiler cannot create executables
Anyone did this?
The C compiler is not available; FreeNAS is an appliance. You could install FreeBSD in a jail and compile it there, then see what needs to be installed in the base system. Not really a beginner level project though.
However, there are several ports/packages available which can be installed into a jail using the instructions in the Installing non-PBI Software section of the Guide.
Is that going to be meaningful? Presumably the user wants to instrument the NAS with monitoring and measurement capabilities. The jail would give almost no access to interesting stats.
Hello, does FreeNas support installation of zabbix agent? I tried to compile it but have some strange errors like
configure: error: in `/mnt/VOL2/zabbix-2.2.1':
configure: error: C compiler cannot create executables
Anyone did this?
Do you still need this? I've just compiled a version of Zabbix Agent 2.2.2 on FreeBSD 9.2 and copied the compiled files over to my FreeNAS installation.
2 things though:
1- Since the OS partition is "read-only", you can pretty much only copy your Zabbix agent into one of your pools (not the OS partition). You can then configure and execute the Zabbix agent from that location.
2- I still need to find a way to have the Zabbix agent started on bootup, as part of the "native" FreeNAS startup process... I haven't made it that far yet. My agent is currently started manually, and works well with the "FreeBSD" OS template in Zabbix.
Let me know if you're still looking for this and I can arrange to send you the comiled agent.
Gleepwurp: I just put up full instructions utilizing your binary on the Zabbix Wiki with a custom template based on the FreeBSD one.
Can you point to your source code for future development?
Thanks for your work!
nothing really magical to what I did, and no source code... I just installed a standard version of FreeBSD 9.2 in a Virtual Machine, and compiled the Zabbix Agent in there, then copied the compiled binaries over...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.