From e9d7daf982b8e6f0e0af34d64709fd554427d587 Mon Sep 17 00:00:00 2001 From: artur Date: Mon, 2 May 2022 08:53:42 +0000 Subject: [PATCH] Add 'gps_update_to_snmp' --- gps_update_to_snmp | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 gps_update_to_snmp diff --git a/gps_update_to_snmp b/gps_update_to_snmp new file mode 100644 index 0000000..3641950 --- /dev/null +++ b/gps_update_to_snmp @@ -0,0 +1,3 @@ +:local latitude ([system gps monitor once as-value]-> "latitude") +:local longitude ([system gps monitor once as-value]-> "longitude") +snmp set location="onlinez [$latitude, $longitude]" \ No newline at end of file