Ad Widget

Collapse

Monitoring LOGS problem.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gdorm
    Junior Member
    • Oct 2008
    • 3

    #1

    Monitoring LOGS problem.

    Hi all i have zabbix 1.6 server and agent i am trying to monitor some log on email machine but the item i created as active check and key log[/var/log/maillog] is not checked by the zabbix server in the agent debug i see this:
    27507:20081022:131445 In send_buffer('10.40.2.15','10051')
    27507:20081022:131445 Values in the buffer 36 Max 100
    27507:20081022:131445 Will not send now. Now 1224670485 lastsent 1224670485 < 5
    27507:20081022:131445 Buffer: new element 36
    27507:20081022:131445 In process log (/var/log/maillog,2478189)
    27507:20081022:131445 In process_value('xxxxxxxxxxx','log[/var/log/maillog]','Oct 20 09:07:45 email dovecot: auth(default): master in: REQUEST 47331 10330 1')

    On the Server i see this :

    31552:20081022:131510 Trapper got [{
    "request":"agent data",
    "data":[
    {
    "host":"email.ozok.eu",
    "key":"log[\/var\/log\/maillog]",
    "value":"Oct 20 10:11:16 email dovecot: POP3(xxxxxxxxxxxxxx): Effective uid=101, gid=89",
    "lastlogsize":2702746,
    "clock":1224670509},
    {



    It seems that they communicate successful but i dont get any values on the GUI interface in the Last Value section.Any help will be appritiated. Thanks !
  • Robert Wagnon
    Member
    • Jan 2008
    • 47

    #2
    Similar problem

    I'm using 1.6.2. I have the same problem.

    Our zabbix_agentd.log has lines like this:

    {
    "host":"ZabbixServer",
    "key":"log[\/var\/log\/messages]",
    "value":"Nov 18 06:59:16 monitoring1 -- MARK --",
    "lastlogsize":114021,
    "clock":1236486287},
    {
    "host":"ZabbixServer",
    "key":"log[\/var\/log\/messages]",
    "value":"Nov 18 07:19:16 monitoring1 -- MARK --",
    "lastlogsize":114060,
    "clock":1236486287}],
    "clock":1236486287}]
    10160:20090307:222447 JSON back [{
    "response":"success",
    "info":"Processed 0 Failed 100 Total 100 Seconds spent 0.002120"}]
    10160:20090307:222447 In check_response({
    "response":"success",
    "info":"Processed 0 Failed 100 Total 100 Seconds spent 0.002120"})
    10160:20090307:222447 Info from server: Processed 0 Failed 100 Total 100 Second
    s spent 0.002120

    Comment

    • Mindaugas
      Junior Member
      • Jan 2009
      • 10

      #3
      Hi,
      I have the same issue.
      Have you solve this problem.

      Comment

      • Robert Wagnon
        Member
        • Jan 2008
        • 47

        #4
        Resolution?

        I don't remember what we did, but this is no longer a problem.

        I have often found that using the latest zabbix_agentd will fail, but using the 1.4.4 version from the web site always works.

        I use the latest version first, if I have problems I move to 1.4.4.

        I hope this is the resolution for you because I don't remember anything that I did to resolve this problem.

        Good luck!

        Comment

        Working...