Answer the question
In order to leave comments, you need to log in
Why is the information on the processor and HDD not visible when requested via the SNMP protocol?
Hello,
I'm learning a little about SNMP - and here are some new questions..
I have Linux on a VM - so I'm training for now. I'm trying to get information about the processor and free disk space.
For this I use the commands:
snmpget localhost -v 2c -c public 1.3.6.1.2.1.25.3.3.1.2 - для CPU
snmpget localhost -v 2c -c public .1.3.6.1.4.1.2021.9.1.7.1 для HDD
Answer the question
In order to leave comments, you need to log in
and in your system something collects this data and sends it to snmp using these OIDs?
configure snmpd
carefully look at the standard config, you will see the answers to your questions.
Well, everything, finally, the "doper" himself.
it turns out that it was necessary to register those OIDs that I needed in /etc/snmp/snmpd.conf
So to say, tell the agent what to report about)
In order not to dirty the electric paper - for those who are interested, here https://support.cumulusnetworks.com/ hc/en-us/artic... everything is succinctly and clearly described.
Good luck!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question