Ad Widget

Collapse

New zabbix_server.log format?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sbadger
    Member
    • Dec 2005
    • 81

    #1

    New zabbix_server.log format?

    I was just chasing down some unsupported items in my instalation and found that using the log was helpful to tell me which items were unsupported it did little to tell on which host those items lived. Would it be possible to include the hostid or even better the hosname that generated the error in the log? Also what does the first colum of numbers represent?
  • accid
    Junior Member
    • May 2009
    • 7

    #2
    BUMP

    Googled and used search function, even read the manual -> no clue about the first row of the zabbix_server.log

    I guessed it could be the itemid, but it doesnt look like that, because I disabled the check to that item, but it still drops errorlines.

    br

    a

    Comment

    • trikke
      Senior Member
      • Aug 2007
      • 140

      #3
      Hi there,

      You mean something like this:
      25421:20090511:172332 Item [xxxxxx:vfs.fs.size[u:,pused]] error: Not supported by ZABBIX agent ?

      For 25421:20090511:172332 , should'nt be to difucult to guess! 25421 is the PID of the process logging this messsage, 20090511, hmm date perhaps ;-), 172332 how about timestamp!!


      Greets
      Patrick

      Comment

      • Tec_Technician
        Member
        • Dec 2015
        • 39

        #4
        Hi there,

        Know this post is very old, but i'm interested on it.

        from what you said:

        25421 is the PID of the process logging this messsage.

        And the documentatión :

        Log time format
        In this field you may optionally specify the pattern for parsing the log line timestamp.
        If left blank the timestamp will not be parsed.
        Supported placeholders:
        * y: Year (0001-9999)
        * M: Month (01-12)
        * d: Day (01-31)
        * h: Hour (00-23)
        * m: Minute (00-59)
        * s: Second (00-59)
        For example, consider the following line from the Zabbix agent log file:
        “ 23480:20100328:154718.045 Zabbix agent started. Zabbix 1.8.2 (revision 11211).”
        It begins with six character positions for PID, followed by date, time, and the rest of the line.
        Log time format for this line would be “pppppp:yyyyMMdd:hhmmss”.
        Note that “p” and “:” chars are just placeholders and can be anything but “yMdhms”.

        I'm still confusing about the first colum. The PID "pppppp" that goes before each date line. Is it usefull? Can it give us aditional information? or can we use it in any way?

        Thanks for your time and Happy Holidays

        Comment

        Working...