I have set up Zabbix in a small system with 13 VM and 2 NAS. Everything is up and running but I am struggling with zabbix_agentd on FreeNas (based of FreeBSD 8.2 AMD64).
On the server side I get no network discovery.
On the client side i get this:
[root@freenas] /mnt/home/zabbix/sbin# zabbix_agentd -t net.if.discover
net.if.discover [m|ZBX_NOTSUPPORTED]
and this:
[root@freenas] /mnt/home/zabbix/sbin# zabbix_agentd -p
agent.hostname [s|zabbix]
agent.ping [u|1]
agent.version [s|2.0.1]
<-- snip -->
system.uname [t|FreeBSD freenas 8.2-RELEASE-p9 FreeBSD 8.2-RELEASE-p9 #4: Thu Jun 14 10:08:45 PDT 2012 [email protected]:/build/home...ys/FREENAS.amd64 amd64]
<-- snip -->
vfs.fs.discovery [s|{
"data":[
{
"{#FSNAME}":"\/",
"{#FSTYPE}":"ufs"},
<-- snip -->
"{#FSNAME}":"\/etc\/local",
"{#FSTYPE}":"unionfs"}]}]
Segmentation fault
Any advice?
To compile the agent I have set up a separate FreeBSD v8.2 AMD64 VM compiled the 2.0.1 source and then moved zabbix_get, zabbix_sender and zabbix_agentd to the FreeNAS system. Files are located in user zabbix home directory in bin and sbin folders which and then mounted RO above the /usr/local/bin and sbin folders in FreeNAS using the unionfs. The agent is run as root and from the server side everything apart from low level network discovery seems to work.
Cheers Mats
On the server side I get no network discovery.
On the client side i get this:
[root@freenas] /mnt/home/zabbix/sbin# zabbix_agentd -t net.if.discover
net.if.discover [m|ZBX_NOTSUPPORTED]
and this:
[root@freenas] /mnt/home/zabbix/sbin# zabbix_agentd -p
agent.hostname [s|zabbix]
agent.ping [u|1]
agent.version [s|2.0.1]
<-- snip -->
system.uname [t|FreeBSD freenas 8.2-RELEASE-p9 FreeBSD 8.2-RELEASE-p9 #4: Thu Jun 14 10:08:45 PDT 2012 [email protected]:/build/home...ys/FREENAS.amd64 amd64]
<-- snip -->
vfs.fs.discovery [s|{
"data":[
{
"{#FSNAME}":"\/",
"{#FSTYPE}":"ufs"},
<-- snip -->
"{#FSNAME}":"\/etc\/local",
"{#FSTYPE}":"unionfs"}]}]
Segmentation fault
Any advice?
To compile the agent I have set up a separate FreeBSD v8.2 AMD64 VM compiled the 2.0.1 source and then moved zabbix_get, zabbix_sender and zabbix_agentd to the FreeNAS system. Files are located in user zabbix home directory in bin and sbin folders which and then mounted RO above the /usr/local/bin and sbin folders in FreeNAS using the unionfs. The agent is run as root and from the server side everything apart from low level network discovery seems to work.
Cheers Mats

Comment