মাসের ১০ তারিখের মধ্যে আপনার ইন্টারনেট বিল জমা দেওয়ার জন্য অনুরুদ করা হলো অন্যথায় আপনার ইন্টারনেট সংযুক্ত বিছিন্ন করা হবে
Home 10 Last Update 10 Quick Script for Mikrotik Daily Info via SMS or Email

Quick Script for Mikrotik Daily Info via SMS or Email

# Sending SMS
/tool sms send port=usb3 phone-number=$cell1 message=”INFO: Daily info for NETWORK @ $date $time\nActive PPPOE Users = $PPP\nUptime = $UPTIME\nCPU Load = $CPU\nDSL1 = $DSL1\nDSL2 = $DSL2\nFTP = $FTP\n\nPowered by J.” channel=0

# Sending EMAIL – Use it if if required
#/tool e-mail send to=$adminmail1 password=$gmailpwd subject=”INFO: Daily info for @ $date $time” body=”Active PPPOE Users = $PPP\nUptime = $UPTIME\nCPU Load = $CPU\nDSL1 = $DSL1\nDSL2 = $DSL2\nFTP = $FTP\n\nPowered by J.” from=$gmailid server=$gmailip start-tls=yes

Enable Mikrotik to Receive SMS and run script

#:delay 60
/tool sms set keep-max-sms=10 port=usb3 receive-enabled=yes secret=12345 channel 0
#:delay 3
#/tool sms set receive-enabled=no
#:delay 3
#/tool sms set receive-enabled=yes

# Finally Send SMS with all gathered DATA for CCR_1036
/tool sms send port=$PORT channel=0 phone-number=$cell1 message=”$MSG”

Leave a Reply

Your email address will not be published. Required fields are marked *

*