siebrand
25-04-2005, 18:04
Environment:
FreeBSD 5.3
zabbix-1.0_2,1 port
I'm trying to run multiple zabbix environments on one box (copy of existing environment that is to be migrated, new environment and test environment - 3 in total).
Done:
- added a second database
- copied /usr/local/bin/zabbix_suckerd to /usr/local/bin/zabbix_suckerd_old
- copied and changed /usr/local/etc/rc.d/zabbix.sh to /usr/local/etc/rc.d/zabbix_old.sh
- copied and changed /etc/zabbix/zabbix_suckerd.conf to /etc/zabbix/zabbix_suckerd_old.conf
- run /usr/local/etc/rc.d/zabbix_old.sh start
/usr/local/etc/
Result:
Starting zabbix_suckerd_old.
File [/var/tmp/zabbix_suckerd.pid] exists. Is this process already running ?
Currently I've had to change the following line in the source code and recompile a new zabbix_suckerd to change this:
/usr/ports/net-mgmt/zabbix/work/zabbix-1.0/src/zabbix_sucker/zabbix_sucker.c:
242 parse_cfg_file("/etc/zabbix/zabbix_suckerd_test.conf",cfg);
Is it a good idea to maybe change this permantently, because it will now not read alternative config files? That's pretty nasty.
________
Live Sex Webshows (http://livesexwebshows.com/)
FreeBSD 5.3
zabbix-1.0_2,1 port
I'm trying to run multiple zabbix environments on one box (copy of existing environment that is to be migrated, new environment and test environment - 3 in total).
Done:
- added a second database
- copied /usr/local/bin/zabbix_suckerd to /usr/local/bin/zabbix_suckerd_old
- copied and changed /usr/local/etc/rc.d/zabbix.sh to /usr/local/etc/rc.d/zabbix_old.sh
- copied and changed /etc/zabbix/zabbix_suckerd.conf to /etc/zabbix/zabbix_suckerd_old.conf
- run /usr/local/etc/rc.d/zabbix_old.sh start
/usr/local/etc/
Result:
Starting zabbix_suckerd_old.
File [/var/tmp/zabbix_suckerd.pid] exists. Is this process already running ?
Currently I've had to change the following line in the source code and recompile a new zabbix_suckerd to change this:
/usr/ports/net-mgmt/zabbix/work/zabbix-1.0/src/zabbix_sucker/zabbix_sucker.c:
242 parse_cfg_file("/etc/zabbix/zabbix_suckerd_test.conf",cfg);
Is it a good idea to maybe change this permantently, because it will now not read alternative config files? That's pretty nasty.
________
Live Sex Webshows (http://livesexwebshows.com/)