Files
OIDsimulator/custom_snmp_script.py
2025-03-06 12:53:48 +00:00

17 lines
314 B
Python

#!/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)