concept and initial code

This commit is contained in:
Radek
2025-03-06 12:53:48 +00:00
parent 83fd56c750
commit c06e385bc9
3 changed files with 102 additions and 2 deletions

16
custom_snmp_script.py Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env python3
import random
import time
# Initial value
value = 1385062
while True:
# Increment the value by a random amount between 0 and 6
value += random.randint(0, 6)
# Output the value in the required format
print(f"INTEGER: {value}")
# Wait for 4 minutes
time.sleep(240)