Cacti ucd/net SNMP Host no detec my eth0
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Thu Oct 01, 2009 7:36 pm
Cacti ucd/net SNMP Host no detec my eth0
Hello friends please i need help of you, i try to explaim the problem
I config de cacti, de program run ok, snmp and others to.
cacti show graphics about my Hdd my memory or process but this is te problem,
i need to see de traffic over the eth0 (my network card)
I follow a lot of manual and tips and allways say
1.- select ucd/net SNMP Host , select your ip host, and the message in left side (not red message snmp error) say tha all ok. After this step go to the graph new an create the graphs necesary, select the in/out traffic and selec eth0 in Data Query [ucd/net - Get Monitored Partitions] . Well i dont see the eth0 in the last step.
In few words, i need to see the graph of my eth0, pleaseeeeee help
thanx for all and sorry but i don't speak english
I config de cacti, de program run ok, snmp and others to.
cacti show graphics about my Hdd my memory or process but this is te problem,
i need to see de traffic over the eth0 (my network card)
I follow a lot of manual and tips and allways say
1.- select ucd/net SNMP Host , select your ip host, and the message in left side (not red message snmp error) say tha all ok. After this step go to the graph new an create the graphs necesary, select the in/out traffic and selec eth0 in Data Query [ucd/net - Get Monitored Partitions] . Well i dont see the eth0 in the last step.
In few words, i need to see the graph of my eth0, pleaseeeeee help
thanx for all and sorry but i don't speak english
-
- Posts: 6
- Joined: Thu Oct 01, 2009 7:36 pm
thanx
but in my data query not say eth0 is moro not say nothing only say
/dev/hdb1 /boot
/dev/mapper/VolGroup00-LogVol00
/dev/hdb1 /boot
/dev/mapper/VolGroup00-LogVol00
You choose wrong Data Query.
[ucd/net - Get Monitored Partitions] is a query for HDD usage, not for interface traffic.
You may found another Data Query "SNMP - Interface Statistics" at Associated Data Queries.
Click a right green circle of this query then create graph.
If you can't find the query, you should re-apply Host Template.
Select your Host Template to "ucd/net SNMP HOST" and click "save".
[ucd/net - Get Monitored Partitions] is a query for HDD usage, not for interface traffic.
You may found another Data Query "SNMP - Interface Statistics" at Associated Data Queries.
Click a right green circle of this query then create graph.
If you can't find the query, you should re-apply Host Template.
Select your Host Template to "ucd/net SNMP HOST" and click "save".
-
- Posts: 6
- Joined: Thu Oct 01, 2009 7:36 pm
eth problem
i follow the word an use that you recomended but dont show me opcion eth0 i suposse that i need mount the eth or config in snmpd.conf or similar but i dont know
pleas help me
pleas help me
1) Is there "SNMP - Interface Statistics" at Associated Data Queries? If no, please post the screenshot of device setting page.
2) If the answer of 1) is yes, click "Verbose Query" and post the output.
notice: Please don't forget to mask some secret information such as snmp community, IP address when you post something.
2) If the answer of 1) is yes, click "Verbose Query" and post the output.
notice: Please don't forget to mask some secret information such as snmp community, IP address when you post something.
-
- Posts: 6
- Joined: Thu Oct 01, 2009 7:36 pm
the first image is the snmp static interface
the scond its the par when i select the kind of hosttemplate
i hope thas image aid to understand my problem, if not enought please tell me what other thing need.
Sorry but i need this for a project and i dont understand ;'(
the scond its the par when i select the kind of hosttemplate
i hope thas image aid to understand my problem, if not enought please tell me what other thing need.
Sorry but i need this for a project and i dont understand ;'(
- Attachments
-
- imagen1
- Screenshot.png (140.63 KiB) Viewed 2193 times
-
- Screenshot-1.png (169.2 KiB) Viewed 2193 times
I have never seen the output like your second screen shot before. This is odd.
By the way, please post the output of "Vorbose Query" at device setting page.
See the attached image for help.
P.S. You might change the device description to "localhost".
By the way, please post the output of "Vorbose Query" at device setting page.
See the attached image for help.
P.S. You might change the device description to "localhost".
- Attachments
-
- associated_data_query.png (28.29 KiB) Viewed 2179 times
-
- Posts: 6
- Joined: Thu Oct 01, 2009 7:36 pm
Hello friend, look this
SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (97500) 0:16:15.00
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: localhost
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (33) 0:00:00.33
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (32) 0:00:00.32
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (33) 0:00:00.33
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (33) 0:00:00.33
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: sit0
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: tunnel(131)
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 0
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.2 = STRING: 0:c:76:cb:cf:4f
IF-MIB::ifPhysAddress.3 = STRING:
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: down(2)
IF-MIB::ifInUcastPkts.1 = Counter32: 7309
IF-MIB::ifInUcastPkts.2 = Counter32: 75
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 7309
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1
IP-MIB::ipAdEntIfIndex.192.168.1.5 = INTEGER: 2
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (101739) 0:16:57.39
IF-MIB::ifName.1 = STRING: lo
IF-MIB::ifName.2 = STRING: eth0
IF-MIB::ifName.3 = STRING: sit0
IF-MIB::ifAlias.1 = STRING:
IF-MIB::ifAlias.2 = STRING:
IF-MIB::ifAlias.3 = STRING:
End of MIB
I add in my snmpd.conf a lot of serial number .1.1.2.1.2.1................. similar
and now y can see the eth but now i have other problem see the pics please,
the pics say nan nan nan and not graphic the curve
SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (97500) 0:16:15.00
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: localhost
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (33) 0:00:00.33
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (32) 0:00:00.32
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (33) 0:00:00.33
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (33) 0:00:00.33
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: sit0
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: tunnel(131)
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 0
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.2 = STRING: 0:c:76:cb:cf:4f
IF-MIB::ifPhysAddress.3 = STRING:
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: down(2)
IF-MIB::ifInUcastPkts.1 = Counter32: 7309
IF-MIB::ifInUcastPkts.2 = Counter32: 75
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 7309
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1
IP-MIB::ipAdEntIfIndex.192.168.1.5 = INTEGER: 2
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (101739) 0:16:57.39
IF-MIB::ifName.1 = STRING: lo
IF-MIB::ifName.2 = STRING: eth0
IF-MIB::ifName.3 = STRING: sit0
IF-MIB::ifAlias.1 = STRING:
IF-MIB::ifAlias.2 = STRING:
IF-MIB::ifAlias.3 = STRING:
End of MIB
I add in my snmpd.conf a lot of serial number .1.1.2.1.2.1................. similar
and now y can see the eth but now i have other problem see the pics please,
the pics say nan nan nan and not graphic the curve
- Attachments
-
- Screenshot-2.png (139.99 KiB) Viewed 2168 times
-
- Screenshot-3.png (135.71 KiB) Viewed 2168 times
Try debugging process as follows.
http://docs.cacti.net/manual:088:4_help ... #debugging
http://docs.cacti.net/manual:088:4_help ... #debugging
-
- Posts: 6
- Joined: Thu Oct 01, 2009 7:36 pm
i check de link, and have this
[root@localhost cacti]# php -q cmd.php
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Host[11] DS[119] WARNING: Result from SNMP not valid. Partial Result: U
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Host[11] DS[120] WARNING: Result from SNMP not valid. Partial Result: U
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Host[11] DS[120] WARNING: Result from SNMP not valid. Partial Result: U
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Host[11] DS[119] WARNING: Result from SNMP not valid. Partial Result: U
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Time: 0.1006 s, Theads: N/A, Hosts: 2
[root@localhost cacti]#
[root@localhost cacti]# php -q cmd.php
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Host[11] DS[119] WARNING: Result from SNMP not valid. Partial Result: U
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Host[11] DS[120] WARNING: Result from SNMP not valid. Partial Result: U
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Host[11] DS[120] WARNING: Result from SNMP not valid. Partial Result: U
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Host[11] DS[119] WARNING: Result from SNMP not valid. Partial Result: U
10/02/2009 06:30:07 AM - CMDPHP: Poller[0] Time: 0.1006 s, Theads: N/A, Hosts: 2
[root@localhost cacti]#
- Attachments
-
- Screenshot-4.png (184.25 KiB) Viewed 2157 times
Hmm, continue debugging.
For your help, here is the howto "setting up snmpd".
http://docs.cacti.net/manual:087:1_inst ... igure_snmp
I guess your snmpd is misconfigured. Try minimum configuration and watch what happens.
For your help, here is the howto "setting up snmpd".
http://docs.cacti.net/manual:087:1_inst ... igure_snmp
I guess your snmpd is misconfigured. Try minimum configuration and watch what happens.
Who is online
Users browsing this forum: anwaraahmad1 and 0 guests