Ad Widget

Collapse

SMS not working in 3.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eliranbd9
    Junior Member
    • Feb 2016
    • 2

    #1

    SMS not working in 3.0

    Hi there i am using script to send sms in my new zabbix 3
    my AlertScriptsPath=/usr/lib/zabbix/alertscripts
    and when there is sms alert i can see in log

    In zbx_popen() command:'/usr/lib/zabbix/alertscripts/sms.php
    and there is no arrguments passed to the script!
    in zabbix 2.0 i can see that he is passing the phone numbers subject ..
    In zbx_popen() command:'/etc/zabbix/alert.d//sms.php "XXXXXX" "Zabbix database is down." "Zabbix database is down."'

    any idea what i am missing?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    You can customize parameter for alert scripts at Zabbix 3.0.
    In the same way as before, you need to make the setting of the argument, as it is written in the manual.

    Please try set parameter {ALERT.SENDTO}, {ALERT.SUBJECT} and {ALERT.MESSAGE}.

    Manual : 5.6 Custom parameter support for alert scripts

    Comment

    • eliranbd9
      Junior Member
      • Feb 2016
      • 2

      #3
      THnx!!

      thats works great!!!!!

      Comment

      Working...