Ad Widget

Collapse

Request for a more informative log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cstackpole
    Senior Member
    Zabbix Certified Specialist
    • Oct 2006
    • 225

    #1

    Request for a more informative log

    Hello Zabbix team!

    I noticed in my server log a ton of error messages back to back. These messages had flooded my log file:
    13000:20081008:103543 Format error or unsupported operator. Exp: [closer]
    13000:20081008:103543 Expression [({12593}=1)&({12592}>0)] cannot be evaluated [Format error or unsupported operator. Exp: [closer]]
    13000:20081008:103613 Format error or unsupported operator. Exp: [closer]
    13000:20081008:103613 Expression [({12593}=1)&({12592}>0)] cannot be evaluated [Format error or unsupported operator. Exp: [closer]]

    Those messages didn't help identify the trigger, the item, nor the host that this problem existed on. I studied the log and realized that the messages were every 30 seconds and had 2 parameters in the trigger field. Since I had less then a dozen systems on this particular zabbix server, I eventually narrowed it down to the item that was having this problem and we realized that the item was sending a value that we had not expected.

    I also realize that this trigger was listed as 'Unknown' while it was in this state, but unfortunately it was on a dev box that we test a lot of software and alerts on...there are always a few triggers in the 'Unknown' state.

    I realize that had I been diligent and continuously flushed out all the old test triggers on this box, the 'Unknown' would have stood out. It was also a problem on my end that we didn't account for all the values being sent to Zabbix. I am sure that turning up the log verbosity would have also yielded a result. However, it would have really been nice to have some identifier in the standard log file. Hostname, trigger, item, anything would have been nice to help better identify the problem trigger.

    So my request is that an identifier of some sort be used for problem areas in the log file.

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

    #2
    I agree on this very much. We are going to introduce two important improvements in future:

    1. All error and warning messages will be enumerated and documented
    2. All the messages will be extended to contain more human-readable details

    Work is already in progress.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • teferi
      Member
      • Jul 2008
      • 93

      #3
      Originally posted by Alexei
      I agree on this very much. We are going to introduce two important improvements in future:

      1. All error and warning messages will be enumerated and documented
      2. All the messages will be extended to contain more human-readable details

      Work is already in progress.
      Cheers! =) That'll be kinda great!!

      Comment

      • cstackpole
        Senior Member
        Zabbix Certified Specialist
        • Oct 2006
        • 225

        #4
        Thank you Alexi!

        Comment

        • troffasky
          Senior Member
          • Jul 2008
          • 568

          #5
          Originally posted by Alexei
          Work is already in progress.
          How about 3. Make them visible through the web interface? You could then click on a highlighted part of the log entry to take you straight to the item causing the problem.

          Comment

          • Tenzer
            Senior Member
            • Nov 2007
            • 316

            #6
            Originally posted by troffasky
            How about 3. Make them visible through the web interface? You could then click on a highlighted part of the log entry to take you straight to the item causing the problem.
            That would require the log messages to be logged in the database as well, and as one of the more common issues is too high database load, I don't think it is a good thing to do as it is now.

            Comment

            Working...