/
How to write SMS Java integration script

Maximize uptime. Develop insights. Provide answers.

How to write SMS Java integration script

 

  1. Open the file  <NetGain EM installation directory>/netgain/conf/admin/config_customize.xml

        For Linux:  /root/netgain/conf/admin/config_customize.xml

        For Windows:  C:\Program Files (x86)\NetGain Enterprise Manager\conf\admin\config_customize.xml

  2. Insert the below line and save the file

        <config key="sms.mode" value="3"/>

  3. Open the file “sms.java” available in <<NetGain EM installation directory>/netgain/conf/admin directory

        For Linux:  /root/netgain/conf/admin/sms.java

        For Windows:  C:\Program Files (x86)\NetGain Enterprise Manager\conf\admin\sms.java

        Modify the line which has “url” with your own SMS URL and save the file

       The below is the sample URL:

       String url = "http://192.168.1.8/cmd/system/api/sendsms.cgi?mobile+msg”

  4.  Test the notification.

 

 

 

 

 

 

 

 

 

 

 

 


Related content

T. +65 6815 8288
E. info@netgain-systems.com
A. 15 Beach Road, #02-01, Singapore 189677
www.netgain-systems.com