Community discussions

 
KickMan
just joined
Topic Author
Posts: 4
Joined: Wed Oct 31, 2018 9:17 pm

Custom Function to Notification.

Thu Jul 18, 2019 9:20 am

Hello! I have function for check ups serial number.
How i can get notification?

Function:

Code: Select all

ups_serial
oid("iso.org.dod.internet.mgmt.mib-2.entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry.entPhysicalSerialNum.262147",10,29)
Notification:

Code: Select all

/tool fetch url="https://api.telegram.org/myBot/sendMessage\?chat_id=-12345&text=Name: [Device.Name]; Serial: [ups_serial()] ; Status: [Service.Status]" keep-result=no
But on messenger i see only tag [ups_serial()]

Who is online

Users browsing this forum: No registered users and 2 guests