Page 1 of 1

Issues with Multitech iSMS modem on new Nagios server

Posted: Thu Feb 14, 2019 8:18 am
by WillemDH
Hello,

We are experiencing issue getting our isms moden to work on our new CentOS 7 Nagios XI server. On our old Nagios XI CentOS 6 server, it works fine. The only error message we get is:
error occurred sending the test SMS message
telnet to our isms modem on port 81 works fine, so there shouldn't be any networking / firewall issue.

Is there any debug logging we can enable and where would these logs be written to?

Grtz

Willem

Re: Issues with Multitech iSMS modem on new Nagios server

Posted: Thu Feb 14, 2019 2:46 pm
by cdienger
Are both XI machines running the same version of the component? Did you create a unique user for each XI machine? Testing some of the Multitech units I found that using the same account on two machines can sometimes be an issue.

Looking at the code, the error message can be triggered if a response isn't returned or a valid one isn't returned. It may be more telling to get a tcpdump of the communication between the two:

yum -y install tcpdump
tcpdump -s 0 -i any port 81 -w multitech.pcap

Re: Issues with Multitech iSMS modem on new Nagios server

Posted: Mon Feb 25, 2019 7:55 am
by PeterDK
Hi,

it's working! :)
The tcpdump helped us to find out that we got an "Unauthorized" message back.
Although we were able to do a telnet to port 81, we needed to add our new subnet to the "Allowed Networks" under administration on the configuration website.

After doing that, we still had an issue and I started debugging by copying the exact URL from the tcpdump in a browser and using it with curl on linux.
Problem was that the new user which I created had a special character ('=') in the password.
So, I ended up using the old user again with a more simpler password and it worked.

Thanks for the tcpdump tip.

Regards,
Peter

Re: Issues with Multitech iSMS modem on new Nagios server

Posted: Mon Feb 25, 2019 10:04 am
by cdienger
Glad to hear!