Score:0

sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime)

de flag

I've installed these snmp Ubuntu packages :

snmp snmpd php-snmp libsnmp-base libsnmp-dev

I have the following paramters :

$ sudo egrep "^agentaddress|rocommunity" /etc/snmp/snmpd.conf
agentaddress udp:161
# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#rocommunity  public default -V systemonly
#rocommunity6 public default -V systemonly

and created a snmp user :

$ sudo systemctl stop snmpd
$ sudo net-snmp-config --create-snmpv3-user -ro -a MD5 -x AES svc_snmp
$ sudo egrep "^(rouser|createUser)" /var/lib/snmp/snmpd.conf /usr/share/snmp/snmpd.conf
/usr/share/snmp/snmpd.conf:rouser svc_snmp
$

When I test, I get this :

$ sudo systemctl start snmpd
$ snmpget -v3 -u svc_snmp -l authNoPriv -A $MDP_SNMP -a MD5 localhost sysUpTime.0
sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime)

What is wrong ?

jiveturkey avatar
cn flag
Did you ever figure this one out?
SebMa avatar
de flag
@jiveturkey I think I was missing the [`snmp-mibs-downloader`](https://packages.ubuntu.com/jammy/snmp-mibs-downloader) package which downloads the MIB files.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.