Hi all,
I've built up a supervising server with Zabbix on which i've created all the hosts (except clients) of my architecture (servers, switchs, routers, firewall, VM(esx)).
As far as Windows OS Servers are concerned, I managed to develop an autoinstall script for Zabbix agent.
I can understand quiet clearly how it works : one service gathering informations about the host I installed Agent on, depending of the template i linked on that host.
Though, I do not quiet understand how it does work concerning Linux OS servers (mostly debians), i could guess "the same way it does on WinOS Srv" but there are no init.d scripts, nore a single thing that could start the agent...
I've tried to download Zabbix agent sources (tar.gz) from http://www.zabbix.com/download.php :
...then i do tar xzf blabla.. and it gives me 3 directories :
directories that I then copy and paste (with zabbix user/groups/rights i created before) in :
And here i am, not knowing what i'm supposed to do afterward ..
I tried something like :
And it seemed to work seems i can see something running as "zabbix" when i do "pas aux" command.. but i can't stop it ! (may be it's just Zabbix server trying to gather info from this server ?)
How am I supposed to do if i want to stop it in order to update my .conf file.
Or even just to update agent version from 2.2.1 to 2.3 for instance ?
I'd be very happy if any of you could help me with that matter !
Just to simply understand Zabbix agent mecanics, so i could therefore build a bash script to deploy agent on my supposed-to-be-monitored linux OS servers later on...
Sorry for my english !
Thanks in advance for any of you who could understand my english and had the courage to help
I've built up a supervising server with Zabbix on which i've created all the hosts (except clients) of my architecture (servers, switchs, routers, firewall, VM(esx)).
As far as Windows OS Servers are concerned, I managed to develop an autoinstall script for Zabbix agent.
I can understand quiet clearly how it works : one service gathering informations about the host I installed Agent on, depending of the template i linked on that host.
Though, I do not quiet understand how it does work concerning Linux OS servers (mostly debians), i could guess "the same way it does on WinOS Srv" but there are no init.d scripts, nore a single thing that could start the agent...
I've tried to download Zabbix agent sources (tar.gz) from http://www.zabbix.com/download.php :
Pre-compiled Zabbix 2.2.1 (stable) agents are available for selected platforms.
I chose Linux 2.6.23 (Debian obviously ?)
I chose Linux 2.6.23 (Debian obviously ?)
bin
sbin
conf
sbin
conf
/usr/local/bin
/usr/local/sbin
/usr/local/etc
/usr/local/sbin
/usr/local/etc
I tried something like :
/usr/local/sbin/zabbix_agentd -c /usr/local/etc/zabbix_agentd.conf
zabbix 8386 0.0 0.1 23880 704 ? S 11:23 0:00 zabbix_agentd
zabbix 8387 0.0 0.1 23880 748 ? S 11:23 0:01 zabbix_agentd: collector [idle 1 sec]
zabbix 8388 0.0 0.0 23880 424 ? S 11:23 0:00 zabbix_agentd: listener #1 [waiting for connection
zabbix 8389 0.0 0.0 23880 424 ? S 11:23 0:00 zabbix_agentd: listener #2 [waiting for connection
zabbix 8390 0.0 0.0 23880 424 ? S 11:23 0:00 zabbix_agentd: listener #3 [waiting for connection
zabbix 8391 0.0 0.1 23880 796 ? S 11:23 0:00 zabbix_agentd: active checks #1 [idle 1 sec]
zabbix 8387 0.0 0.1 23880 748 ? S 11:23 0:01 zabbix_agentd: collector [idle 1 sec]
zabbix 8388 0.0 0.0 23880 424 ? S 11:23 0:00 zabbix_agentd: listener #1 [waiting for connection
zabbix 8389 0.0 0.0 23880 424 ? S 11:23 0:00 zabbix_agentd: listener #2 [waiting for connection
zabbix 8390 0.0 0.0 23880 424 ? S 11:23 0:00 zabbix_agentd: listener #3 [waiting for connection
zabbix 8391 0.0 0.1 23880 796 ? S 11:23 0:00 zabbix_agentd: active checks #1 [idle 1 sec]
Or even just to update agent version from 2.2.1 to 2.3 for instance ?
I'd be very happy if any of you could help me with that matter !
Just to simply understand Zabbix agent mecanics, so i could therefore build a bash script to deploy agent on my supposed-to-be-monitored linux OS servers later on...
Sorry for my english !
Thanks in advance for any of you who could understand my english and had the courage to help

Comment