EFW Support

Support => General Support => Topic started by: g.vecchi on Tuesday 26 July 2011, 07:43:23 pm



Title: Zabbix on EFW 2.4.1
Post by: g.vecchi on Tuesday 26 July 2011, 07:43:23 pm
Have anybody tried to install zabbix agent on EFW 2.4.1? If yes, how?

Thanks!


Title: Re: Zabbix on EFW 2.4.1
Post by: thiagomespb on Tuesday 20 September 2011, 11:49:27 am
Hello,

Also I'm concerned, anyone know how I can install the zabbix agent.


Title: Re: Zabbix on EFW 2.4.1
Post by: sindrom on Monday 26 September 2011, 10:00:56 pm
That's not hard.
All you have to do - is to compile agent. I used zabbix 1.8.3 sources because of GLIBC dependencies.
When you finished with compilation - you should just upload agent files into EFW
/usr/local/sbin/zabbix_agentd
/usr/local/bin/zabbix_get
/usr/local/bin/zabbix_sender
Don't forget to upload also a configuration file (/etc/zabbix/zabbix_agentd.conf) and init file (/etc/init.d/zabbix_agentd_ctl). Then add zabbix user (useradd zabbix -d /dev/null -s /sbin/nologin).
Done.
I added my files to attachment, you can use them (just edit zabbix_agentd.conf for you zabbix).


Title: Re: Zabbix on EFW 2.4.1
Post by: g.vecchi on Wednesday 28 September 2011, 01:46:25 am
Great Job man!!!

Thanks a lot!


Title: Re: Zabbix on EFW 2.4.1
Post by: g.vecchi on Saturday 01 October 2011, 12:19:59 am
For automated start and stop:

Edit /etc/init.d/zabbix_agentd_ctl:

Code:
#!/bin/sh
#
# chkconfig: 345 95 95
# description: Zabbix Agentd
...

next, configure starting and stopping:

Code:
chkconfig zabbix_agentd_ctl --add
chkconfig --level 345 zabbix_agentd_ctl on

Enjoy ;)


Title: Re: Zabbix on EFW 2.4.1
Post by: spmbalamurugan on Monday 10 October 2011, 10:50:15 pm
Hi can you tell me the step by step procedure for installation


Title: Re: Zabbix on EFW 2.4.1
Post by: g.vecchi on Tuesday 11 October 2011, 05:54:04 pm
Sindrom showed step by step procedure...


Title: Re: Zabbix on EFW 2.4.1
Post by: g.vecchi on Friday 06 April 2012, 05:59:54 pm
For automated start and stop:

Edit /etc/init.d/zabbix_agentd_ctl:

Code:
#!/bin/sh
#
# chkconfig: 345 95 95
# description: Zabbix Agentd
...

next, configure starting and stopping:

Code:
chkconfig zabbix_agentd_ctl --add
chkconfig --level 345 zabbix_agentd_ctl on

Enjoy ;)


Zabbix agent doesn't start at boot time... any ideas?


Title: Re: Zabbix on EFW 2.4.1
Post by: g.vecchi on Friday 06 April 2012, 10:36:28 pm
Quote
Zabbix agent doesn't start at boot time... any ideas?

To run Zabbix Agent at boot time, I've added to /etc/rc.d/rc.sysinit:

Code:
...
# start zabbix agent
/etc/init.d/zabbix_agentd_ctl start

# run kickstart
/sbin/kickstart
...


Title: Re: Zabbix on EFW 2.4.1
Post by: gromanenghi on Tuesday 17 April 2012, 12:47:34 am
I use zabbix server 1.8.11 and your agent 1.8.3 but when I create host on zabbix server I receive "Get value from agent failed: *** Cannot connect to [[HOST IP ]:10050]: [4] Interrupted system call

The agent start without problem and zabbix server work without problem.

What is your zabbix-server  version ?

TIA
Giovanni


Title: Re: Zabbix on EFW 2.4.1
Post by: g.vecchi on Tuesday 17 April 2012, 04:24:49 pm
It seems that server could not reach agent: have you opened 10050 TCP Port into Firewall -> System Access?


Title: Re: Zabbix on EFW 2.4.1 and 2.5.1
Post by: g.vecchi on Thursday 31 May 2012, 05:32:00 pm
To start Zabbix agent both in EFW 2.4.1 and 2.5.1 create (if not exists) /var/efw/inithooks/start.local

Code:
#!/bin/sh 

# Starting Zabbix Agent
/etc/init.d/zabbix_agentd_ctl start

exit 0


and

Code:
chown root:root /var/efw/inithooks/start.local 
chmod 755 /var/efw/inithooks/start.local

bye


Title: Re: Zabbix on EFW 2.4.1
Post by: ehermouet on Wednesday 29 August 2012, 12:52:39 am
hi

in fact i have library prob

 error while loading shared libraries: requires glibc 2.5 or later dynamic linker
 when i try to start it ...

do you know how to correct it ?

tks


Title: Re: Zabbix on EFW 2.4.1
Post by: g.vecchi on Monday 03 September 2012, 04:37:17 pm
hi

in fact i have library prob

 error while loading shared libraries: requires glibc 2.5 or later dynamic linker
 when i try to start it ...

do you know how to correct it ?

tks

I'm sorry but I don't.