Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Windows server which polling CentOS 8 server with SNMP (gen-next).
I Can poll the CentOS very easily.
Now, I've deleted the "mibs" folder on the CentOS (at /usr/share/snmp) and although the folder is gone,
I can still poll successfully the Centols.
So, How the LInux knows how to answer an OID get-next request, without the "mibs" folder?
Hi
I have a Windows server which polling CentOS 8 server with SNMP (gen-next). I Can poll the CentOS very easily.
Now, I've deleted the "mibs" folder on the CentOS (at /usr/share/snmp) and although the folder is gone, I can still poll successfully the Centols. So, How the LInux knows how to answer an OID get-next request, without the "mibs" folder?
Yes.
And then start is again, and I saw some warnings saying that it cannot find the "mibs". But I can poll the data anyway.
Please provide complete information/details when posting. Yes, it can't find the MIBs...that does not mean some base functions of SNMP won't work, and it depends on what, exactly, you're querying.
Your question is odd to begin with; if you're deleting the MIBs, why are you still running SNMP? What's the point/purpose?? Either stop the service and remove everything SNMP related from your machine, or let it run.
Please provide complete information/details when posting. Yes, it can't find the MIBs...that does not mean some base functions of SNMP won't work, and it depends on what, exactly, you're querying.
Hi
I just want to understand what is the purpose of the "mibs" folder on the polled server.
How it knows how to answer my queries without his "mibs"
Hi
I just want to understand what is the purpose of the "mibs" folder on the polled server. How it knows how to answer my queries without his "mibs" That's the query (comes from Windows 10 client) :
SnmpWalk.exe -r:10.0.0.3 -t:10 -c:"public" -os:.1
Again, the SNMP daemon can provide BASIC information with no MIBs....the MIBs define different aspects of your system (be it hardware or software) that SNMP can poll. Removing the MIB removes that one thing.
Again; if you don't want SNMP, then don't run it. Removing that directory wasn't a good idea.
I'm polling everything (".1"), and the result is the same, with or without the mibs. So can you please give me a concrete example for something I cannot poll without this folder?
No, since I have NO IDEA what was in that folder, what MIB's you had loaded, what's on your system, what hardware you've got, or what you're actually seeing. You are just putting in the default...which will, *AGAIN* return whatever defaults are in the SNMP daemon.
If the daemon does not use the mibs content when it polled, what is it doing with all the default stuff (list bellow)?
What is the purpose of all of these (centOs8 /usr/share/snmp/mibs) ?
If the daemon does not use the mibs content when it polled, what is it doing with all the default stuff (list bellow)?
What is the purpose of all of these (centOs8 /usr/share/snmp/mibs) ?
Are those the files you supposedly deleted?? And are you not understanding what you're being told???
AGAIN, for the fourth time: there are some parts of SNMP that will respond. Additional MIBs are present to ADD things to what you can query. AGAIN: you are doing a base query...you are getting base information. You *STILL* are not providing information, posting what you're seeing, what command(s) you've run, etc. You claim to have deleted a folder, then you post the contents of the folder you claim to have removed...both can't be true.
Have you actually looked into any of those files??? Have you done ANY research into how SNMP works?? Happy to help with actual problems, but not going to provide online tutoring and walk you through how SNMP works down to a base level.
This is a VM that I can restore snapshot - before I removed that folder
Again, you need to provide details and ask a clear question; you omitted ALL of this, what you're doing/seeing, etc., and somehow still expect people to be able to give you information.
Quote:
Thanks anyway
Read the "Question Guidelines"...do research on things on your own. Again, we are happy to help, but asking folks to explain the details about a service is asking us to be your personal tutors. Resolving a technical issue is one thing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.