Cacti 1.1.27 / SNMP

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
MPC
Posts: 1
Joined: Sat Nov 18, 2017 8:16 am

Cacti 1.1.27 / SNMP

Post by MPC »

Hi guys,

just wondering why i can not pull any snmp information from a linux host.

attachment:
- host settings
- data queries with 0 items
- debug information

--
OS Version: Redhat 7

its possibly settings.. as i havent used cacti for some time.. was surprised about the ui changes.. but im more surprised by the error i got, did not expected it.

thanks in advance!
Attachments
Pasted image at 2017_11_18 09_22 PM.png
Pasted image at 2017_11_18 09_22 PM.png (33.93 KiB) Viewed 544 times
Pasted image at 2017_11_18 09_21 PM.png
Pasted image at 2017_11_18 09_21 PM.png (60.41 KiB) Viewed 544 times
Pasted image at 2017_11_18 09_20 PM.png
Pasted image at 2017_11_18 09_20 PM.png (31.9 KiB) Viewed 544 times
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti 1.1.27 / SNMP

Post by cigamit »

Can you SNMP Walk the device? It could be any number of things. Either the SNMP is not installed correctly on that box, the firewall is blocking, the SNMP Community string could be wrong or you didn't restart the SNMP service after changing it. None of these would be a Cacti issue though.
Rno
Cacti Pro User
Posts: 695
Joined: Wed Dec 07, 2011 9:19 am

Re: Cacti 1.1.27 / SNMP

Post by Rno »

SNMP on a unix host, is not configured correctly when you install it, you have to review your snmpd.conf (under /etc/snmp)
here is what I have to change:
com2sec notConfigUser default public
com2sec readonly default ROkey

####
# Second, map the security name into a group name:

# groupName securityModel securityName
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
group MyROGroup v2c readonly

# Make at least snmpwalk -v 1 localhost -c public system fast again.
# name incl/excl subtree mask(optional)
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
view AllView included .1

# group context sec.model sec.level prefix read write notif
access notConfigGroup "" any noauth exact systemview none none
access MyROGroup "" any noauth exact AllView none none
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests