Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 23 December 2024, 09:27:54 am

Login with username, password and session length

Download the latest community FREE version  HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Zabbix on EFW 2.4.1
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Zabbix on EFW 2.4.1  (Read 38514 times)
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« 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!
Logged
thiagomespb
Jr. Member
*
Offline Offline

Posts: 1


« Reply #1 on: Tuesday 20 September 2011, 11:49:27 am »

Hello,

Also I'm concerned, anyone know how I can install the zabbix agent.
Logged
sindrom
Full Member
***
Offline Offline

Posts: 11


« Reply #2 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).
Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #3 on: Wednesday 28 September 2011, 01:46:25 am »

Great Job man!!!

Thanks a lot!
Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #4 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 Wink
Logged
spmbalamurugan
Jr. Member
*
Offline Offline

Gender: Male
Posts: 8


« Reply #5 on: Monday 10 October 2011, 10:50:15 pm »

Hi can you tell me the step by step procedure for installation
Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #6 on: Tuesday 11 October 2011, 05:54:04 pm »

Sindrom showed step by step procedure...
Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #7 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 Wink


Zabbix agent doesn't start at boot time... any ideas?
Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #8 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
...
Logged
gromanenghi
Jr. Member
*
Offline Offline

Posts: 1


« Reply #9 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
Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #10 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?
Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #11 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
Logged
ehermouet
Full Member
***
Offline Offline

Posts: 21


« Reply #12 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
Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #13 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.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.141 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com