Re: Anyone running Zabbix server/agent with success?

2014-09-22 Thread Raimundo Santos
Hello again.

Problem solved!

Sorry to not depict better the situation at first mail, but here are the
solution: just follow closely the indications under

/usr/local/share/doc/pkg-readmes/{postgres*,zabbix*}

And that is it. In my case, a very important information was about running
PostgreSQL as a backend data base system, which needs to play a little with
IPC via shared memory. Specifically, here are my changes...

...regarding sysctl.conf:

kern.shminfo.shmall=524288
kern.seminfo.semmni=240
kern.seminfo.semmns=4096

(Caution: this machine have lots of RAM to play with!)

...regarding login.conf:

#
# From zabbix-server package indications
#
zabbix_server:\
:openfiles-cur=1024:\
:openfiles-max=2048:\
:tc=daemon:

#
# From PostgreSQL package indications
#
postgresql:\
:openfiles=2048:\
:tc=daemon:

Patrick, thank you for point out that log files needs, I just let it log to
/tmp and the problem became more clear.

Best regards,
Raimundo Santos



Re: Anyone running Zabbix server/agent with success?

2014-09-21 Thread Raimundo Santos
On 21 September 2014 05:26, Patrick Ditzel patr...@central-computer.de
wrote:

 Hello Reimundo,


 I tried do install zabbix from the ports on Sparc64 but this does not
work. Yet I have not try to figure out why (maybe next week ...).


I'm on amd64, and nothing working at all.


 If you just need to monitor your OpenBSD machine you can also use snmp.


Thank you Patrick, but I need to monitor an entire network.

For documentation:

I also tried to indicate the configuration files manually:

zabbix_server -c /etc/zabbix/zabbix_server.conf

and got an error about permission denied over /var/log/zabbix_server.log,
but just when I change the line to this file, otherwise the behaviour is
the same, ungracefully exits.

In the time of this writing, Zabbix packages are 2.2.1 for OpenBSD 5.5.

Best regards,
Raimundo Santos



Re: Anyone running Zabbix server/agent with success?

2014-09-21 Thread Patrick Ditzel
Hello Reimundo
Am Sonntag, den 21.09.2014, 15:09 -0300 schrieb Raimundo Santos:
 On 21 September 2014 05:26, Patrick Ditzel patr...@central-computer.de
 wrote:
 
  Hello Reimundo,
 
 
  I tried do install zabbix from the ports on Sparc64 but this does not
 work. Yet I have not try to figure out why (maybe next week ...).
 
 
 I'm on amd64, and nothing working at all.

I have build the zabbix_agent from ports successfully. The dependency
for /usr/ports/databases/db/v4 doesn't work automaticly so I have 
build dv/v4manually and then build the zabbix_agent (on sparc64). 
The agent runs fine. Next I try to build the server.
On amd64 it should also work.

 
 
  If you just need to monitor your OpenBSD machine you can also use snmp.
 
 
 Thank you Patrick, but I need to monitor an entire network.
 
 For documentation:
 
 I also tried to indicate the configuration files manually:
 
 zabbix_server -c /etc/zabbix/zabbix_server.conf
 
 and got an error about permission denied over /var/log/zabbix_server.log,
 but just when I change the line to this file, otherwise the behaviour is
 the same, ungracefully exits.

The zabbix_server dies if it could not write to the logfile (same
problem on Linux some time ago). Check the userpermission for the
logfile, the user that runs zabbix_server should have write access to
this file.

 
 In the time of this writing, Zabbix packages are 2.2.1 for OpenBSD 5.5.
 
 Best regards,
 Raimundo Santos

Best regards

Patrick



Anyone running Zabbix server/agent with success?

2014-09-20 Thread Raimundo Santos
Hello,

I have installed Zabbix agent, server and web interface via pkg_add, and
the only one that is working is web interface (nginx + php-fpm +postgres),
reading data from backup.

Anyone here is running zabbix server with success on OpenBSD 5.5? I am on a
clean install. More details as needed.

I try to

/etc/rc.d/zabbix_agentd start
/etc/rc.d/zabbix_server start

and nothing happens, besides printing the famous (ok) for both tries.

Manually trying does not work either, failing silently.

I am in position to change zabbix for any other network monitoring tool
that works well with OpenBSD.

Best regards,
Raimundo Santos