Ad Widget

Collapse

Problem with SMS alert on Zabbix 1.6.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vietdd
    Junior Member
    • May 2009
    • 3

    #1

    Problem with SMS alert on Zabbix 1.6.4

    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!!!
  • vietdd
    Junior Member
    • May 2009
    • 3

    #2
    Does anyone help me please ?

    Comment

    • vietdd
      Junior Member
      • May 2009
      • 3

      #3
      Oh my God...

      Comment

      • JasperB
        Junior Member
        • May 2009
        • 11

        #4
        Check my thread, install gammu and use it as a external script. With my script you should be ready in 5 min!

        Comment

        Working...