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!
Cacti 1.1.27 / SNMP
Moderators: Developers, Moderators
Cacti 1.1.27 / SNMP
- Attachments
-
- Pasted image at 2017_11_18 09_22 PM.png (33.93 KiB) Viewed 546 times
-
- Pasted image at 2017_11_18 09_21 PM.png (60.41 KiB) Viewed 546 times
-
- Pasted image at 2017_11_18 09_20 PM.png (31.9 KiB) Viewed 546 times
Re: Cacti 1.1.27 / SNMP
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.
Re: Cacti 1.1.27 / SNMP
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
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
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
Who is online
Users browsing this forum: No registered users and 0 guests