Hello friends and colleagues and Zabbix contributors.
We have been running Zabbix on ver 6.4 for quite a while and after the upgrade to 7.4.5 we realized that something has happened to its ability to use SMS media. There has been no changes done to the configuration, we only upgraded following the documentation.
I don't rule out something has been changed without our knowledge. Now we end up with an error while trying to test SMS media. It says SMSDevices not configured for /dev/ttyUSB2
But if I run wvdialconf as explained it in this guide:
https://techexpert.tips/zabbix/zabbi...ication-setup/
I do see that my GSM modem is detected on /dev/ttyUSB2
Found a modem on /dev/ttyUSB2.
Modem configuration written to /etc/wvdial.conf.
ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB3<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
And also when I try to send a text using gammu utility I receive a text message sent via CLI.
I checked permissions for all USB devices and they show like this:
crw-rw---- 1 root dialout 188, 0 Dec 1 19:58 ttyUSB0
crw-rw---- 1 root dialout 188, 1 Dec 1 19:58 ttyUSB1
crw-rw---- 1 root dialout 188, 2 Dec 1 19:58 ttyUSB2
crw-rw---- 1 root dialout 188, 3 Dec 1 19:58 ttyUSB3
And user zabbix is a member of dialout group:
dialout:x:20:gsmsms,smsd,zabbix
Anything or anywhere to verify to understand what is wrong ?
Eugene
We have been running Zabbix on ver 6.4 for quite a while and after the upgrade to 7.4.5 we realized that something has happened to its ability to use SMS media. There has been no changes done to the configuration, we only upgraded following the documentation.
I don't rule out something has been changed without our knowledge. Now we end up with an error while trying to test SMS media. It says SMSDevices not configured for /dev/ttyUSB2
But if I run wvdialconf as explained it in this guide:
https://techexpert.tips/zabbix/zabbi...ication-setup/
I do see that my GSM modem is detected on /dev/ttyUSB2
Found a modem on /dev/ttyUSB2.
Modem configuration written to /etc/wvdial.conf.
ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB3<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
And also when I try to send a text using gammu utility I receive a text message sent via CLI.
I checked permissions for all USB devices and they show like this:
crw-rw---- 1 root dialout 188, 0 Dec 1 19:58 ttyUSB0
crw-rw---- 1 root dialout 188, 1 Dec 1 19:58 ttyUSB1
crw-rw---- 1 root dialout 188, 2 Dec 1 19:58 ttyUSB2
crw-rw---- 1 root dialout 188, 3 Dec 1 19:58 ttyUSB3
And user zabbix is a member of dialout group:
dialout:x:20:gsmsms,smsd,zabbix
Anything or anywhere to verify to understand what is wrong ?
Eugene
Thank you very much, Viktor. I suspected there was something missing. Ok, one more quick question before I'm fully satisfied. We heavily rely on receiving alerts via SMS because if the network is down we won't know about it.
Comment