Cacti not graphing

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) for the cpu usage, look in the snmp cache for what OID cacti is using. Then manually snmpwalk that OID with a tool (like net-snmp snmpwalk). Does it return data? If not, your device doesn't support that OID for the cpu usage. Look in the manufactures MIB File or on google for what the correct one might be.

2) For gbit interfaces, you need to use snmpv2 and 64bit graph templates. Delete the existing ones and recreate.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

nothing happens when i do that.. no output. just go right back to C:....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

jooel wrote:nothing happens when i do that.. no output. just go right back to C:....
Post what you mean. Sounds like the device doesn't support that OID.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

this is what i am able to get when i use Walk SNMP Agent... (png)

In order to get that, i do have to disable NET-SNMP and restart SNMP service.

on Server '03 - when using SNMP on the localhost Cacti device, it gives Error. When just doing regular Ping, it sees the host is Alive..

part of the reason wy its not graphing?
Attachments
localhost - W2k3.PNG
localhost - W2k3.PNG (8.56 KiB) Viewed 3161 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Most likely.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

any suggestions on how this issue can be solved - SNMP Error (localhost)..

i saw a post on this topic and there didnt seem to be any solution from what i saw.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I strongly recommend you stick with the microsoft snmp agent instead of net-snmp one. If you really must have net-snmp, then read this http://forums.cacti.net/viewtopic.php?t=26151
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

hey man...

i re-installed net-snmp.. fallowed all the instructions...now, localhost is found thru SNMP on cacti... but, i let it cycle couple times, and still no graphs at all.

is there a need to re-do deviced, graphs..etc? dont want to adventure into that since i see all graphs, just all Zeros (0) and no data at all.

suggestions?

the puller is cmd.php, not spine.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Do you know if snmp is properly working? Run the following commands and paste the output:
snmpwalk -v 1 -c public 127.0.0.1 system
snmpwalk -v 1 -c public 127.0.0.1 interface
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

sure thing:

C:\USR\bin>snmpwalk -v 1 -c public 127.0.0.1 system
SNMPv2-MIB::sysDescr.0 = STRING: Hardware: x86 Family 15 Model 3 Stepping 4 AT/A
T COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.311.1.1.3.1.2
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1149184133) 133 days, 0:10:41.
33
SNMPv2-MIB::sysContact.0 = STRING: administrator
SNMPv2-MIB::sysName.0 = STRING: NETMON
SNMPv2-MIB::sysLocation.0 = STRING: office
SNMPv2-MIB::sysServices.0 = INTEGER: 79

C:\USR\bin>snmpwalk -v 1 -c public 127.0.0.1 interface
IF-MIB::ifNumber.0 = INTEGER: 2
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.65539 = INTEGER: 65539
IF-MIB::ifDescr.1 = STRING: MS TCP Loopback interface
IF-MIB::ifDescr.65539 = STRING: Broadcom NetXtreme 57xx Gigabit Controller - Net
work Simulator
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.65539 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1520
IF-MIB::ifMtu.65539 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.65539 = Gauge32: 100000000
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.65539 = STRING:
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.65539 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.65539 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (1147641188) 132 days, 19:53:31.88
IF-MIB::ifLastChange.65539 = Timeticks: (1147641188) 132 days, 19:53:31.88
IF-MIB::ifInOctets.1 = Counter32: 76479021
IF-MIB::ifInOctets.65539 = Counter32: 2912273
IF-MIB::ifInUcastPkts.1 = Counter32: 322686
IF-MIB::ifInUcastPkts.65539 = Counter32: 1637
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInNUcastPkts.65539 = Counter32: 24640
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.65539 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.65539 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.65539 = Counter32: 7704
IF-MIB::ifOutOctets.1 = Counter32: 76479021
IF-MIB::ifOutOctets.65539 = Counter32: 358999
IF-MIB::ifOutUcastPkts.1 = Counter32: 322254
IF-MIB::ifOutUcastPkts.65539 = Counter32: 1736
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.65539 = Counter32: 85
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.65539 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.65539 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.65539 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.65539 = OID: SNMPv2-SMI::zeroDotZero
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, good.

In cacti for that device, do you see its system uptime in the top left corner?

Click on the verbose query for the snmp interfaces and post the result.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

here is for the interface, Localhost: ( its graphing now) Interface for Localhost and Router...

its not graphing either the Localhost Processor nor Router's CPU to see if everyting with graphs is working fine!

once i get those working, i am trying to find templates for Windows (Cisco switches, etc) the only ones i found were for linux and the ones i found wouldnt import. but i guess one step at the time!

Verbose Query: (Localhost - processor usage)

+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php 127.0.0.1 14 2:161:500:!SoPublic:::MD5::DES: index'
+ Executing script query 'c:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php 127.0.0.1 14 2:161:500:!SoPublic:::MD5::DES: query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found item [hrProcessorFrwID='1'] index: 1
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_cpu.xml'


thanks again.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

huh?

Templates for switches aren't OS dependent. Also your output for the processor stuff looks fine. Whats the problem exactly? Look in your cacti.log file for whats not working and why.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

its now showing in the graph. (processor stuff)
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

this is what i mean.. i couldnt get the whole graph.. but i am sure you get the idea from very top one and bottom one as well...nothing comes up but just for the Traffic.
Attachments
graph-noCPUgrapg.PNG
graph-noCPUgrapg.PNG (45.59 KiB) Viewed 3001 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests