Ad Widget

Collapse

log of actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sean
    Junior Member
    • Mar 2008
    • 28

    #1

    log of actions

    Is there a log of actions/operations carried out? Perhaps in an SQL table somewhere, browsing the history tables did not turn up what I needed..

    I'm trying to troubleshoot an AlertScript called for a media type.. no trace of it in the zabbix log file with Debug level=3.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    administration -> audit -> actions
    Zabbix 3.0 Network Monitoring book

    Comment

    • sean
      Junior Member
      • Mar 2008
      • 28

      #3
      Thanks that does help. Its should outgoing emails.

      But when I configure an Operation of sedning a message to a user configured to run a Script media type, no entry appears in that log.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        if operation is executed but not logged there, please report it on the tracker as a bug, thanks
        Zabbix 3.0 Network Monitoring book

        Comment

        • sean
          Junior Member
          • Mar 2008
          • 28

          #5
          I have it working now, there were problems in my script.
          Zabbix does not display or log the stdout or stderr from the script, which makes debugging harder.

          FYi I used the following test script to help me troubleshoot, this may help others:
          #!/bin/bash
          f=/tmp/zabbix_testscript.log
          echo "__________" >> $f
          echo `date` >> $f
          for i in "$@"; do
          echo "Parameter:$i" >> $f
          done

          Comment

          Working...