Background

I saw an error in the logs

ERROR: snmpstats [snmpSIPCommonObjects.c:200]: handle_kamailioSIPServiceStartTime(): failed to read from sysUpTime file at /tmp/kamailio_SNMPAgent.txt

and began to figure out what kind of file it is.
The file is filled with the command output

# snmpget -Ov -c public localhost .1.3.6.1.2.1.1.3.0

Actual behavior

Manual command execution failed

# snmpget -Ov -c public localhost .1.3.6.1.2.1.1.3.0
snmpget: No securityName specified

Expected behavior

Command returns uptime (in this case I specified SNMP version)

# snmpget -v2c -Ov -c public localhost .1.3.6.1.2.1.1.3.0
Timeticks: (60857281) 7 days, 1:02:52.81


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.