Ad Widget

Collapse

Zabbix Yowsup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mun
    Member
    • Sep 2016
    • 67

    #1

    Zabbix Yowsup

    Hi all,

    Could someone please help me on this issue?

    1. I create a simple action in zabbix.
    2. When trigger occurs, it will send to zabbix administrator via Whatsapp.
    3. But then it failed with the error stated below:

    usage: demos [-h] [-v] [-d] [--help-config] [-l phone:b64password] [-c CONFIG]
    [-E {android,s40}] [-M] [-y] [-e] [-s phone message]
    [-S contacts]
    demos: error: unrecognized arguments: Problem started at 10:14:00 on 2017.12.28

    4. This is my whatsapp.sh script

    #!/bin/bash
    BASEDIR=/usr/src/yowsup-master

    yowsup-cli demos -c $BASEDIR/yowsup-cli.conf -s $1 "$2" "$3"


    Anyone can help?
    Thank You.
Working...