Ad Widget

Collapse

Backup Send Messages to Zabbix via SNMP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bill.unger
    Member
    • Jun 2007
    • 79

    #1

    Backup Send Messages to Zabbix via SNMP?

    I have just installed and configured Zabbix 1.4 on Ubunutu 7.04 and all of the basic monitoring is working great.

    I would now like to monitor the status of backup jobs (ie., Arcserve & Backup Exec) - both have options to send Alerts via SNMP. I have searched around and can't find much information on doing this and am getting more confused as time passes. Does anyone have any suggestions or hints?

    thanks in advance,
    Bill
  • bill.unger
    Member
    • Jun 2007
    • 79

    #2
    Just an update:

    I have managed to configure everything to receive SNMP traps using following this thread:



    I did have to change the last line of the snmptrap.sh script to the following:

    echo $ZABBIX_SENDER -z $ZABBIX_SERVER -p $ZABBIX_PORT -s $HOST -k $KEY -o \'"$str"\' >/tmp/testtrap.txt

    The added redirect at the end was for debugging, but I had to put all parameter identifiers into the call (ie., -z, -p, -s, etc) to get it to successfully send to Zabbix.

    Now the problem: My backup program's snmp test messages are not getting to Zabbix and here is what i have narrowed down:

    Because of the redirect in the snmptrap.sh script, I can look in the testtrap.txt file and see what (if anything) is being sent to Zabbix. When I generated a test SNMP message from the backup software, this is what snmptrap.sh is receiving:

    /usr/local/bin/zabbix_sender -z 192.168.109.65 -p 10051 -s SNMP_Trapper -k snmptraps -o 'backup.mydomain.com "backup" This 192.168.109.11 '

    This trap never makes it to Zabbix. BUT... if I copy that line and run it the trap will show up in Zabbix?!

    The same thing happens if I send a test via snmptrap - it will show up in snmptrapd's log and in the output from snmptrap.sh, but Zabbix still never displays it under Latest Data (or anywhere else).

    Any thoughts would be greatly appreciated!

    Tia,
    Bill

    Comment

    • bill.unger
      Member
      • Jun 2007
      • 79

      #3
      Any takers?

      Comment

      • bill.unger
        Member
        • Jun 2007
        • 79

        #4
        No one has any thoughts?

        Comment

        • bill.unger
          Member
          • Jun 2007
          • 79

          #5
          Still nothing? Is no one running SNMP traps under 1.4?

          Comment

          • bill.unger
            Member
            • Jun 2007
            • 79

            #6
            Just thought I might bump this to see if anyone has any new ideas?

            Comment

            Working...