Ad Widget

Collapse

Log file (/var/adm/messages ) monitoring in zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sudhakarreddi
    Junior Member
    • Jan 2010
    • 3

    #1

    Log file (/var/adm/messages ) monitoring in zabbix

    Hi Everyone,

    I am newbee to zabbix, We have 1.6 zabbix Server and 1.8 zabbix client
    . Trying to monitor log files from Linux machine /var/log/messages

    Do we have any specific doc, with the screen shots (if possible ) how to configure this in zabbix server.

    Here is what I did.
    Zabbix server

    ITEM
    Type : zabbix agent (active)
    key :log[/var/log/messages,ERROR]
    Type of Information: Log
    Update Interval : 30

    Trigger :
    Name : /var/log/messages
    Expression: {hostname:log[/var/log/messages,ERROR],str(ERROR)}=1
    Event Generation: Normal
    Severity : High
  • dagun
    Member
    • Sep 2009
    • 71

    #2
    Hi

    Hi guy,
    You should configure your the file of zabbix_agentd.conf.
    Hostname= name //The "name" is that you have defined by the web.
    //Hostname matches host name of the host
    configured in ZABBIX frontend.

    DisalbeActive=0
    Follow me, you can try it.

    Comment

    • sudhakarreddi
      Junior Member
      • Jan 2010
      • 3

      #3
      Originally posted by dagun
      Hi guy,
      You should configure your the file of zabbix_agentd.conf.
      Hostname= name //The "name" is that you have defined by the web.
      //Hostname matches host name of the host
      configured in ZABBIX frontend.

      DisalbeActive=0
      Follow me, you can try it.
      Thanks for reply.
      We have DisalbeActive=0 option already set, but no luck.
      Anything else missing here?

      Comment

      • dagun
        Member
        • Sep 2009
        • 71

        #4
        Hi

        You must give me some error messages in the zabbix_agntd.log or zabbix_server.log.So I could find the reason.
        And user zabbix must have permision for the /var/log/messages. Do you have a correct configure in the zabbix_agentd.conf???You may paste out your zabbix_agentd.conf.
        Last edited by dagun; 08-01-2010, 03:46.

        Comment

        • DSon
          Member
          • Sep 2009
          • 44

          #5
          re: Log file (/var/adm/messages ) monitoring in zabbix

          Sudhakarreddi,

          The last I heard, if the Zabbix Agent is NEWER than the Zabbix Server it won't work. Try using a 1.6 Agent instead.

          The other way around is okay, though.

          Hope this helps,
          DSon.

          Comment

          • sudhakarreddi
            Junior Member
            • Jan 2010
            • 3

            #6
            Thanks all

            Thank you all , who replied to my post. Our issue is resolved.

            After changing DisableActive=0

            and changing the permissions of /var/adm/messages

            And changing the hostname in the agent configuration file.

            Comment

            • dagun
              Member
              • Sep 2009
              • 71

              #7
              good

              very
              good

              Comment

              Working...