Hi
I installed and configured Zabbix successfully on CentOS 5.3. I can add a host and monitor Linux server. I configured alert by email but i can not send SMS to mobile phone. I checked modem by a software on Windows and by commands AT to send SMS messages. It's OK.
I searched on forum and found the way to resolve:
In /usr/local/src/zabbix-x.x.x/src/libs/zbxsms/sms.c (line 183 in zabbix-1.6.1) change
/* 1 */ {"AT+CMEE=2\r" , "OK" , 5 }, /* verbose error values */
into:
/* 1 */ {"AT+CMEE=2\r" , "ERROR" , 5 }, /* verbose error values */
Exit and "make && make install".
But it's doesnt work, even i remove the line AT+CMEE but it's the same.
Another way is fix sms.c by http://exef.xko.cz/zabbix/patches/patches.html but it's doesnt work and i dont know this patch can use for Zabbix 1.6.4 or not? Could administrator forum can post the standard sms.c?
Does anyone configured SMS feature successfully on Zabbix help me please? or the version 1.7 beta fixed this bug ?
Thank so much!!!
I installed and configured Zabbix successfully on CentOS 5.3. I can add a host and monitor Linux server. I configured alert by email but i can not send SMS to mobile phone. I checked modem by a software on Windows and by commands AT to send SMS messages. It's OK.
I searched on forum and found the way to resolve:
In /usr/local/src/zabbix-x.x.x/src/libs/zbxsms/sms.c (line 183 in zabbix-1.6.1) change
/* 1 */ {"AT+CMEE=2\r" , "OK" , 5 }, /* verbose error values */
into:
/* 1 */ {"AT+CMEE=2\r" , "ERROR" , 5 }, /* verbose error values */
Exit and "make && make install".
But it's doesnt work, even i remove the line AT+CMEE but it's the same.
Another way is fix sms.c by http://exef.xko.cz/zabbix/patches/patches.html but it's doesnt work and i dont know this patch can use for Zabbix 1.6.4 or not? Could administrator forum can post the standard sms.c?
Does anyone configured SMS feature successfully on Zabbix help me please? or the version 1.7 beta fixed this bug ?
Thank so much!!!
Comment