PDA

View Full Version : Backup Send Messages to Zabbix via SNMP?


bill.unger
07-06-2007, 22:09
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
08-06-2007, 21:01
Just an update:

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

http://www.zabbix.com/forum/showthread.php?t=2978

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

bill.unger
11-06-2007, 15:12
Any takers?

bill.unger
12-06-2007, 15:32
No one has any thoughts?

bill.unger
18-06-2007, 01:18
Still nothing? Is no one running SNMP traps under 1.4?

bill.unger
14-01-2008, 16:53
Just thought I might bump this to see if anyone has any new ideas?