Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
The syntax is correct, and it working on my system here. Are you positive that you have SNMPv1 enabled on your system, and not 2c or 3? What is the result of "service snmpd status"?
The machine this is not running on is Redhat 7.2. Are you running this on Redhat?
Even on the machine that SNMP does work on I get the same results for that snmpwalk command. I can run snmpwalk on the whatsup serverand navigate down through the Object IDs.
On the Redhat server that isn't working I have the following in /etc/snmp/snmpd.conf:
Code:
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
The machine this is not running on is Redhat 7.2. Are you running this on Redhat?
Even on the machine that SNMP does work on I get the same results for that snmpwalk command. I can run snmpwalk on the whatsup serverand navigate down through the Object IDs. On the Redhat server that isn't working I have the following in /etc/snmp/snmpd.conf:
Code:
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
Unfortunately we don't pay for support where we are unfortunately.
Sorry, but if you're using RHEL, you need to PAY FOR IT, no matter where you are. If this is a new system, stop exactly where you are, and load CentOS instead. It's identical to RHEL, but FREE. Without RHEL support, you WILL NOT get updates/patches/bugfixes/security-fixes. The only thing you're going to accomplish without support, is to put a production system is that will very quickly become unstable, insecure, and you will have a MUCH harder time installing any new software in the future. In short, you're only going to give yourself headaches.
Quote:
According to that guide I have the correct setup but I continue to see the same issues. I suppose if I don't have a Redhat machine working it's an issue on this OS. I do have the setting:
Code:
rocommunity password a.b.c.d
I changed the logging in /etc/sysconfig/snmpd to:
Code:
# OPTIONS="-LS0-7d"
from a 6 to a 7 but I'm not seeing increased logging:
Code:
Active: active (running) since Thu 2016-07-07 20:43:25 IST; 9s ago
Main PID: 3868 (snmpd)
Memory: 4.3M
CGroup: /system.slice/snmpd.service
└─3868 /usr/sbin/snmpd -LS0-6d -f
I'm not sure what else I can try here.
Back up your existing SNMPD.conf file, and take out everything except for the ro/rw lines, and see what you get.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.