Ad Widget

Collapse

Zabbix 2.0.2 and log monitoring problem.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vesa
    Junior Member
    • Apr 2012
    • 8

    #1

    Zabbix 2.0.2 and log monitoring problem.

    Hello all,

    I've been trying to create a item and a trigger to monitor our log-files. What I am trying to do - when there is 'ERROR' in the log it will send e-mail notification. In general all e-mail notifications work except not for this trigger.

    In agentd.conf

    ServerActive=<Zabbix_server_ip>:<server_port>

    Item:

    log[/opt/jboss-4.2.2.GA/conf/wrapper.log,ERROR,UTF-8,500]

    Trigger:

    {hostname:log[/opt/jboss-4.2.2.GA/conf/wrapper.log,ERROR,UTF-8,500].str(ERROR)}=1


    --> snip from log <--
    INFO | jvm 4 | 2012/10/23 13:07:22 | 13:07:22,625 ERROR [ServerThread] Worker thread initialization failure
    INFO | jvm 4 | 2012/10/23 13:07:52 | 13:07:52,884 ERROR [HTTPClientInvoker] Error creating SSL Socket Factory for client invoker.
    --> end of snip <--

    See attached images.

    What might cause this issue?
    Attached Files
  • vesa
    Junior Member
    • Apr 2012
    • 8

    #2
    I fixed my issue with checking firewall settings. I forgot active checks use 10051 port. If some of you have same problem try following:

    On Zabbix Client Machine:
    telnet zabbix.server.org 10051

    On Zabbix Server Machine:
    telnet zabbix.client.org 10050

    Connections should be established, if not, check firewall settings.

    Comment

    Working...