Raspberry Pi
- 3 ответа
- 0 вопросов
2
Вклад в тег
sed -i 's/countrycode=.*/countrycode=511/g' /tmp/system.cfg && save && reboot
/tool fetch url="https://api.telegram.org/botXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXX/sendMessage?chat_id=-10XXXXXXXXXXXXX&parse_mode=HTML&text=at <b>[TimeAndDate]</b> %0A\
on map <b>[Device.NetMaps]</b> %0A\
Device IP <b>[Device.Name]</b> %0A\
Probe <b>[Probe.Name]</b> %0A\
Status <b>[Service.Status]</b> %0A\
Problem Description: <b>[Service.ProblemDescription]</b> %0A\
Changed since <b>[Service.TimeSinceChanged]</b> %0A\
Last time up <b>[Service.TimeLastUp]</b> \
" keep-result=no