problem on graph eth centos 6.2 on cacti

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

Moderators: Developers, Moderators

Post Reply
motaghi
Posts: 6
Joined: Thu Apr 12, 2018 4:45 am

problem on graph eth centos 6.2 on cacti

Post by motaghi »

Dears .
Hi ,
We use Version 1.1.28 and we want monitoring linux server (cetos 6.2) in our cacti .
when we added this server on cacti everything is ok but for SNMP - Interface Statistics do not add any graph .
( Success [0 Items, 0 Rows])
and we have this eerorr " This Data Query returned 0 rows, perhaps there was a problem executing this Data Query.You can run this Data Query in debug mode From there you can get more information."

the picture is attach .

please advise me.
Attachments
22.PNG
22.PNG (27.73 KiB) Viewed 655 times
1.PNG
1.PNG (15.59 KiB) Viewed 655 times
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: problem on graph eth centos 6.2 on cacti

Post by camerabob »

Have you enabled and configured SNMP on the Cent OS server? This needs to be done before you can poll information from the box. Google the topic. There are plenty of useful posts out there on how to do it.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: problem on graph eth centos 6.2 on cacti

Post by netniV »

Have you installed and configured snmpd on that server?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
motaghi
Posts: 6
Joined: Thu Apr 12, 2018 4:45 am

Re: problem on graph eth centos 6.2 on cacti

Post by motaghi »

netniV wrote:Have you installed and configured snmpd on that server?
yes i install snmp in my centos .
com2sec notConfigUser 192.168.100.188/32 public
motaghi
Posts: 6
Joined: Thu Apr 12, 2018 4:45 am

Re: problem on graph eth centos 6.2 on cacti

Post by motaghi »

camerabob wrote:Have you enabled and configured SNMP on the Cent OS server? This needs to be done before you can poll information from the box. Google the topic. There are plenty of useful posts out there on how to do it.
i enable snmp in my centos and i have all geaph for my centos i just do not have graph for interface eth in my centos.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: problem on graph eth centos 6.2 on cacti

Post by netniV »

Use SNMPWALK at the command line to the local server and make sure that details are being returned for the interface.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
motaghi
Posts: 6
Joined: Thu Apr 12, 2018 4:45 am

Re: problem on graph eth centos 6.2 on cacti

Post by motaghi »

netniV wrote:Use SNMPWALK at the command line to the local server and make sure that details are being returned for the interface.
Dear please give me command snmp walk for return interface information and please advice me for use this information
Thanks.
motaghi
Posts: 6
Joined: Thu Apr 12, 2018 4:45 am

Re: problem on graph eth centos 6.2 on cacti

Post by motaghi »

netniV wrote:Use SNMPWALK at the command line to the local server and make sure that details are being returned for the interface.
This information is for snmp

snmpwalk -v 2c -c AMB 192.168.100.188
SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4 23:52:40 UTC 2017 x86_64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (33301467) 3 days, 20:30:14.67
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.9 = OID: SNMP-NOTIFICATION-MIB::snmpNotifyFullCompliance
SNMPv2-MIB::sysORID.10 = OID: NOTIFICATION-LOG-MIB::notificationLogMIB
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.2 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.9 = STRING: The MIB modules for managing SNMP Notification, plus filtering.
SNMPv2-MIB::sysORDescr.10 = STRING: The MIB module for logging SNMP Notifications.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.10 = Timeticks: (3) 0:00:00.03
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: problem on graph eth centos 6.2 on cacti

Post by netniV »

This would suggest that your snmpd.conf isn't configured properly to allow you to walk it. There should be a lot more information than that.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
motaghi
Posts: 6
Joined: Thu Apr 12, 2018 4:45 am

Re: problem on graph eth centos 6.2 on cacti

Post by motaghi »

my problem solved .

When i used bellow pattern on snmpd.conf i did not have graph for eth interface .

view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1

but when i used bellow pattern and restart snmpd services my problem solved.

view systemview included .1
view systemview included .1



Thnaks for your advice .
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests