I had an USB CDMA Modem Ev-DO (ZTE) he can send sms, work like modem, etc.
OS.Debian Lenny+Zabbix 1.8.2, in usb devices detects on ttyUSB0, i configuret wvdial, to see if it work, works.. but how can to send sms alert via zabbix ?
In zabby i get error Expected [OK] received [ERROR]
Log
how to fix ?
OS.Debian Lenny+Zabbix 1.8.2, in usb devices detects on ttyUSB0, i configuret wvdial, to see if it work, works.. but how can to send sms alert via zabbix ?
In zabby i get error Expected [OK] received [ERROR]
Log
2178:20100602:163008.012 Read from GSM modem [ATE0 OK]
2178:20100602:163008.012 In check_modem_result()
2178:20100602:163008.012 End of check_modem_result():SUCCEED
2178:20100602:163008.012 End of read_gsm():SUCCEED
2178:20100602:163008.012 Write to GSM modem [AT]
2178:20100602:163008.012 In read_gsm() [OK] [NULL] [NULL] [NULL]
2178:20100602:163008.120 Read from GSM modem [OK]
2178:20100602:163008.120 In check_modem_result()
2178:20100602:163008.120 End of check_modem_result():SUCCEED
2178:20100602:163008.120 End of read_gsm():SUCCEED
2178:20100602:163008.120 Write to GSM modem [AT+CMGF=1]
2178:20100602:163008.120 In read_gsm() [OK] [NULL] [NULL] [NULL]
2178:20100602:163008.223 Read from GSM modem [ERROR]
2178:20100602:163008.223 In check_modem_result()
2178:20100602:163008.223 End of check_modem_result():FAIL
2178:20100602:163008.223 End of read_gsm():FAIL
2178:20100602:163008.223 Write to GSM modem []
2178:20100602:163008.223 In read_gsm() [] [NULL] [NULL] [NULL]
2178:20100602:163008.223 Error during wait for GSM modem.
2178:20100602:163008.224 Read from GSM modem []
2178:20100602:163008.224 End of read_gsm():SUCCEED
2178:20100602:163008.245 End of send_sms():FAIL
2178:20100602:163008.245 End execute_action()
2178:20100602:163008.245 Error sending alert ID [5]
2178:20100602:163008.246 In zabbix_log()
2178:20100602:163008.012 In check_modem_result()
2178:20100602:163008.012 End of check_modem_result():SUCCEED
2178:20100602:163008.012 End of read_gsm():SUCCEED
2178:20100602:163008.012 Write to GSM modem [AT]
2178:20100602:163008.012 In read_gsm() [OK] [NULL] [NULL] [NULL]
2178:20100602:163008.120 Read from GSM modem [OK]
2178:20100602:163008.120 In check_modem_result()
2178:20100602:163008.120 End of check_modem_result():SUCCEED
2178:20100602:163008.120 End of read_gsm():SUCCEED
2178:20100602:163008.120 Write to GSM modem [AT+CMGF=1]
2178:20100602:163008.120 In read_gsm() [OK] [NULL] [NULL] [NULL]
2178:20100602:163008.223 Read from GSM modem [ERROR]
2178:20100602:163008.223 In check_modem_result()
2178:20100602:163008.223 End of check_modem_result():FAIL
2178:20100602:163008.223 End of read_gsm():FAIL
2178:20100602:163008.223 Write to GSM modem []
2178:20100602:163008.223 In read_gsm() [] [NULL] [NULL] [NULL]
2178:20100602:163008.223 Error during wait for GSM modem.
2178:20100602:163008.224 Read from GSM modem []
2178:20100602:163008.224 End of read_gsm():SUCCEED
2178:20100602:163008.245 End of send_sms():FAIL
2178:20100602:163008.245 End execute_action()
2178:20100602:163008.245 Error sending alert ID [5]
2178:20100602:163008.246 In zabbix_log()