Ad Widget

Collapse

Bug in log[] function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stefano
    Junior Member
    • Sep 2007
    • 12

    #1

    Bug in log[] function

    Hi all,

    It's possibile that my zabbix (compiled by hand) does not recognize log[logfile] function?

    Activating check for a logfile does not result in any check. I've turned agent in debug mode, no log check is done.

    My zabbix is last version, 1.4.2 running on RHEL4 without curl and ldap.

    Any hint?

    Thanks
    Stefano
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Please read ZABBIX Manual. It has a brief but complete mini-HOWTO on log monitoring.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • stefano
      Junior Member
      • Sep 2007
      • 12

      #3
      Originally posted by Alexei
      Please read ZABBIX Manual. It has a brief but complete mini-HOWTO on log monitoring.
      Hi,
      already read manual. I've checked all parameters, I've checked that agent and checked for DisableActive unset, but nothing.

      Also I've turned on debug on agent side, but when I create control, associate it to a template, and linked template to host but agent log does not show anything.

      Where can I check for more info?

      Thanks
      Ste

      Comment

      • Niels
        Senior Member
        • May 2007
        • 239

        #4
        Please let us see your exact key.

        Comment

        • stefano
          Junior Member
          • Sep 2007
          • 12

          #5
          Originally posted by Niels
          Please let us see your exact key.
          type: zabbix agent (active)
          key: log[/tmp/test.log]
          type of info: Log
          Update info: 1s
          Application: -none-
          Group: Linuxserver

          this item is in template: Template_Log

          My host has link with this template.

          Monitoring -> latest data is empty... and should report every line I'll manually insert into /tmp/test.log

          Test.log has 777 perm and of course /tmp is readable by zabbix user.


          Ste

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            Check Server and Hostname in zabbix_agentd.conf as well!
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • Monitoring
              Junior Member
              • Oct 2010
              • 10

              #7
              Perhaps you are still dealing with this error

              It is a long time ago for you,

              But I have made a solution / tutorial for this.
              In your case.. set the agent active... in the agent config file... and you are ready.

              from 2009, are you still working with zabbix?? I am a newbie.. so perphaps you will / can help me with some stuff.

              Thanks for your reply.
              Greets Gerard

              Sorry, I've forget the link:

              Comment

              Working...