hi,
I'm having an error when I try to register a device:
I have already installed and configured the SNMP service on the machine.
Can someone help me?
I used this tutorial:
https://basimaly.wordpress.com/2017/03/ ... e-in-2017/
System: CentOS 7
SNMP error create device
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Tue Oct 31, 2017 7:05 am
SNMP error create device
- Attachments
-
- Screenshot_1.jpg (18.31 KiB) Viewed 740 times
Re: SNMP error create device
If you are getting an snmp error from the cacti server. Then I suggest you try the following from the command line of the cacti box
Code: Select all
snmpwalk -v2c -c <community-string> <host-ip>
-
- Posts: 3
- Joined: Tue Oct 31, 2017 7:05 am
Re: SNMP error create device
[root@cacti /]# snmpwalk -v2c -c cacti 192.168.0.7r4yfx wrote:If you are getting an snmp error from the cacti server. Then I suggest you try the following from the command line of the cacti box
Code: Select all
snmpwalk -v2c -c <community-string> <host-ip>
Timeout: No Response from 192.168.0.7
What can it be?
<community-string> is the name I put there in the SNMP settings of this machine?
Re: SNMP error create device
Your community string is step2/3 in your host configuration. If you are following this guide it will be public, more than likely
If you are getting no response. Then I would check that snmpd is running
If it running then check to see if you can do that snmpwalk locally (you may need to install the tools), and if you can do it locally. I would check firewalls or selinux to ensure that it is allowing access through.
If you are getting no response. Then I would check that snmpd is running
Code: Select all
systemctl status snmpd
If it running then check to see if you can do that snmpwalk locally (you may need to install the tools), and if you can do it locally. I would check firewalls or selinux to ensure that it is allowing access through.
-
- Posts: 3
- Joined: Tue Oct 31, 2017 7:05 am
Re: SNMP error create device
r4yfx wrote:Your community string is step2/3 in your host configuration. If you are following this guide it will be public, more than likely
If you are getting no response. Then I would check that snmpd is running
Code: Select all
systemctl status snmpd
If it running then check to see if you can do that snmpwalk locally (you may need to install the tools), and if you can do it locally. I would check firewalls or selinux to ensure that it is allowing access through.
I was able to get response using the command:
snmpwalk -v2c -c <community-string> <host-ip>
And SNMPD status is active.
[root@cacti ~]# systemctl status snmpd
● snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/usr/lib/systemd/system/snmpd.service; enabled; vendor preset: disabled)
Active: active (running) since Ter 2017-10-31 13:06:14 UTC; 2h 7min ago
Main PID: 7671 (snmpd)
CGroup: /system.slice/snmpd.service
└─7671 /usr/sbin/snmpd -LS0-6d -f
FIREWALL DISABLED
Who is online
Users browsing this forum: No registered users and 1 guest