Ad Widget

Collapse

Logs Zabbix API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Matthieu
    Member
    • Mar 2011
    • 41

    #1

    Logs Zabbix API

    Hi,

    I'm trying to find some logs about API calls/errors but I've only find this log in my nginx access.log:

    - [12/Jul/2013:15:05:08 +0200] "GET /api_jsonrpc.php HTTP/1.1" 200 79 "-" "python/pyzabbix"


    I need more informations to trace API's calls but also to debug a bad API request.

    I check the zabbix_server.log but nothing...


    Thanks in advance

    Matthieu
  • tzn
    Junior Member
    • Apr 2011
    • 19

    #2
    Just increase verbosity of your nginx logs, and - but carefully - php logs

    Comment

    • Matthieu
      Member
      • Mar 2011
      • 41

      #3
      Thanks for your help but it's pity to haven't a log file activity for the API.
      It can be very usefull and more easily to use than a general logs file in debug mode...

      Comment

      • tzn
        Junior Member
        • Apr 2011
        • 19

        #4
        Originally posted by Matthieu
        Thanks for your help but it's pity to haven't a log file activity for the API.
        It can be very usefull and more easily to use than a general logs file in debug mode...
        API functionality is realized by php scripts, not zabbix server, so server log is useless here. It is PHP application and checking php log is a common troubleshoooting practice.
        But you are right, some lower level logging would be nice.

        Comment


        • Avinasha
          Avinasha commented
          Editing a comment
          Wish we get a feature where we can log the API and control or at least able to count the user API calls. I was trying to get this done and I'm unable to do so.
      Working...