E
E
Egor Telnov2020-04-14 23:18:49
SNMP
Egor Telnov, 2020-04-14 23:18:49

How to get information about installed software?

Hello, I need, using snmp, to pull out information about the installed software.
I use this command: sudo snmpget -v 2c -c comm7 127.0.0.1 .1.3.6.1.2.1.25.6.1
I get this error: iso.3.6.1.2.1.25.6.1 = No Such Object available on this agent at this OID

Could you tell me what I'm doing wrong and how to do it right?

Here is my config:

com2sec	local	127.0.0.1	comm7
group	avt709v7	any	local
view	all	included	.1
access avt709v7 ""	any noauth	0	all	none	none

syslocation SaintPetercburg
syscontact avt709 Telnov Kustov

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Telnov, 2020-04-24
@telnov_magic

I figured it out myself
First, install all the mibs:

sudo apt-get install snmp-mibs-downloader
sudo download-mibs

Now, in order to get information about all installed software, we use:
snmptable -v 2c -c {community_name} 127.0.0.1 1.3.6.1.2.1.25.6.3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question