SNMP error create device

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
renanrdrigues
Posts: 3
Joined: Tue Oct 31, 2017 7:05 am

SNMP error create device

Post by renanrdrigues »

hi,

I'm having an error when I try to register a device:

Image


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
Attachments
Screenshot_1.jpg
Screenshot_1.jpg (18.31 KiB) Viewed 741 times
r4yfx
Posts: 17
Joined: Mon Jan 10, 2011 6:38 am

Re: SNMP error create device

Post by r4yfx »

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>
renanrdrigues
Posts: 3
Joined: Tue Oct 31, 2017 7:05 am

Re: SNMP error create device

Post by renanrdrigues »

r4yfx 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>
[root@cacti /]# snmpwalk -v2c -c cacti 192.168.0.7
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?
r4yfx
Posts: 17
Joined: Mon Jan 10, 2011 6:38 am

Re: SNMP error create device

Post by r4yfx »

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.
renanrdrigues
Posts: 3
Joined: Tue Oct 31, 2017 7:05 am

Re: SNMP error create device

Post by renanrdrigues »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest