Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • sms setup

    Posted by randy_srs on February 14, 2010 at 12:55

    i have looked at a few different sms server package gammu

    have install 3.0 iso on a server . went very smooth ..

    a few questions on which package to install

    1. it looks like a sms client is already installed on the bass install of pandora ?
    smssend is already in /usr/bin/ , so do i need to install gammu ?
    2. if i install gammu what is the best way to install it .
    3. once i install gammu can i recieve responses from outside ?
        meaning i would like to be able to send a acknowlegement to the server that i am aware of the alert and to lets say stop sending me alert for 60 min ? 

    thanks
    Randy

    Sancho replied 14 years, 11 months ago 2 Members · 6 Replies
  • 6 Replies
  • Sancho

    Administrator
    February 17, 2010 at 06:32
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    smstools is already installed in the iso/vmware version, it’s better than gammu or gnokii, just take a look :

    http://smstools.meinemullemaus.de/

    i have looked at a few different sms server package gammu

    have install 3.0 iso on a server . went very smooth ..

    a few questions on which package to install

    1. it looks like a sms client is already installed on the bass install of pandora ?
    smssend is already in /usr/bin/ , so do i need to install gammu ?
    2. if i install gammu what is the best way to install it .
    3. once i install gammu can i recieve responses from outside ?
        meaning i would like to be able to send a acknowlegement to the server that i am aware of the alert and to lets say stop sending me alert for 60 min ? 

    thanks
    Randy

  • randy_srs

    Member
    February 17, 2010 at 10:18
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    kool got it to work .  why do we have to use the 001 or international code ? just curious .

    also how do i sent up to receive text responses ?

  • randy_srs

    Member
    February 17, 2010 at 11:25
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    darn it now it stopped working ..

    my modem changed ID I think ?..doesnt show ttyACM0  it did till i restarted the server

    dmesg shows

    uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    uhci_hcd 0000:00:1d.2: setting latency timer to 64
    uhci_hcd 0000:00:1d.2: UHCI Host Controller
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:1d.2: irq 18, io base 0x00003040
    usb usb4: configuration #1 chosen from 1 choice
    usb 2-2: configuration #1 chosen from 1 choice
    usb 2-2: New USB device found, idVendor=04e8, idProduct=6640
    usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    usb 2-2: Product: SAMSUNG CDMA Technologies
    usb 2-2: Manufacturer: SAMSUNG Electronics Co.,Ltd.

    lsusb shows

    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 04e8:6640 Samsung Electronics Co., Ltd Usb Modem Enumerator
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    smsd.conf shows
    # Example smsd.conf. Read the manual for a description

    devices = GSM1
    logfile = /var/log/smsd.log
    loglevel = 7

    [GSM1]
    device = /dev/ttyACM0
    incoming = no  ( i also would like to turn this on )
    #pin = 1111

    what did i do wrong ?

  • randy_srs

    Member
    February 17, 2010 at 12:08
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ok got it working again after i restarted it is not restarting the smsd -c path_to_config_file/smsd.conf

    after i directed it to the correct path again it works like a charm so I have
    2 questions

    1 . how do i make this stick . smsd -c path_to_config_file/smsd.conf
    everytime i restart the server i have to manually restart  smsd -c otherwise it doesnt start

    2 . how do i create a alert monitor in pandora to monitor this and if for some reason it is not working , i would like pandora to restart the service

  • randy_srs

    Member
    February 22, 2010 at 12:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Just a fyi not sure why this is but .

    in the alert commands the default sms settings i think are wrong ?

    the command line states sendsms_field1__field2  which is how you state we are suppose to send sms messages though if i do this from the command line it is a unknow command

    so i edited it to read smssend _field1__field2 and that works 

    is this a error or did my install not go correctly ?

  • Sancho

    Administrator
    April 5, 2010 at 03:09
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    It depends on the distro your using, some smsd implementations/package uses a different wrapper script to call the command to send sms. What distro/install method are you using ?

    Just a fyi not sure why this is but .

    in the alert commands the default sms settings i think are wrong ?

    the command line states sendsms_field1__field2  which is how you state we are suppose to send sms messages though if i do this from the command line it is a unknow command

    so i edited it to read smssend _field1__field2 and that works 

    is this a error or did my install not go correctly ?