Ad Widget

Collapse

zabbix and bacula: cookbok contribution

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • selivan
    Junior Member
    • Jun 2011
    • 17

    #16
    Originally posted by Kryol
    How turn off these messages generation?
    Messages are generated if mailcommand returned non-zero exit code

    Comment

    • Kryol
      Member
      • Feb 2011
      • 70

      #17
      Originally posted by selivan
      Messages are generated if mailcommand returned non-zero exit code
      I understand but can't find a solution.

      Do you have something similar?

      I use your template but for some reason I wrote perl script similar to your python script.
      Last edited by Kryol; 15-11-2013, 09:42.

      Comment

      • Kryol
        Member
        • Feb 2011
        • 70

        #18
        Problem with /var/log/messages was fixed. There was a mistake in my perl script.
        I attach a correct one.
        Attached Files

        Comment

        • selivan
          Junior Member
          • Jun 2011
          • 17

          #19
          man zabbix_sender:

          EXIT STATUS
          The exit status is 0 if the values were sent and all of them were successfully processed by server. If data was sent, but processing of at least one of the values failed, the exit status is 2. If data sending failed, the exit status is 1.

          Your fix with "return 0" works, but it's not correct. And I see my python script is not correct too.

          Comment

          • Kryol
            Member
            • Feb 2011
            • 70

            #20
            I agree but I fixed not "exit 0" only.
            There was another reason for error message generation. For testing purposes I had a line for printing zabbix commands which I forgotten to remove.

            Comment

            • jburysom
              Junior Member
              • Jun 2024
              • 16

              #21
              Hello there - Is anyone using zabix version 6.4.14 to monitor a some what newer version of bacula? bacula version 9.0.6. Have there been any updates to this integration?

              Comment

              Working...