Cactiusers.org


It is currently Thu May 17, 2012 8:57 am




Post new topic Reply to topic  [ 2 posts ] 
 Interface - Traffic graphs not displaying - Disk usage works 
Author Message
New User

Joined: Wed Apr 01, 2009 10:35 am
Posts: 2
Post Interface - Traffic graphs not displaying - Disk usage works
I just got Cacti 0.8.7d configured on a Windows XP machine using IIS. I currently have Windows Server 2003 and and a Cisco router devices added. CPU, memory and disk usage graphs are functioning correctly for the server, but my interface traffic graphs are just displaying a link instead of a graph. This leads me to believe that there might not be any data for it, but since I don't know I have come here seeking advice. If there is anything that I can provide to help please let me know.

Thanks.

Below is contents of my log file from the latest poll:
04/01/2009 12:30:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '299', Max Runtime '298', Poller Runs: '1'
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[6] DS[22] SNMP: v2: 10.119.254.15, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 4138169209
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[6] DS[22] SNMP: v2: 10.119.254.15, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3380323031
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[6] DS[21] SNMP: v2: 10.119.254.15, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 714370701
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[6] DS[21] SNMP: v2: 10.119.254.15, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1292634677
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[7] DS[31] SNMP: v2: 192.168.119.223, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 645001223
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[7] DS[31] SNMP: v2: 192.168.119.223, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 645001223
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[7] DS[30] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php ss_host_cpu 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get usage 3, output: 0
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[7] DS[29] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php ss_host_cpu 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get usage 2, output: 0
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[7] DS[27] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php ss_host_cpu 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get usage 0, output: 0
04/01/2009 12:30:01 PM - CMDPHP: Poller[0] Host[7] DS[28] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php ss_host_cpu 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get usage 1, output: 0
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Host[7] DS[24] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get total 6, output: 0
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Host[7] DS[25] SNMP: v2: 192.168.119.223, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: 955141065
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Host[7] DS[25] SNMP: v2: 192.168.119.223, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: 4081656101
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Host[7] DS[26] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get total 2, output: 10733957120
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Host[7] DS[24] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get used 6, output: 415694848
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Host[7] DS[26] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get used 2, output: 8514945024
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Host[7] DS[23] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get used 3, output: 331809411072
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Host[7] DS[23] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 192.168.119.223 7 2:161:500:1:10:Com:::MD5::DES: get total 3, output: 589217898496
04/01/2009 12:30:02 PM - CMDPHP: Poller[0] Time: 1.8216 s, Theads: N/A, Hosts: 2
04/01/2009 12:30:03 PM - SYSTEM STATS: Time:2.4516 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:18 RRDsProcessed:11


In addition, below is the data when I export as a csv file:

Title: Cinnwin - Traffic - 192.168.119.223 (Intel(R) PRO/10)
Vertical Label: bytes per second
Start Date: 12/31/1969 19:00
End Date: 12/31/1969 19:00
Step:
Total Rows:
Graph ID: 22
Host ID: 7
Summation: Total In: 0 bytes
Summation: Total Out: 0 bytes

I found the debugging guide and ran the basic data gathering check and this is the output:
C:\>snmpget -c Com -v 2c cinnwin .1.3.6.1.2.1.2.2.1.10.65539
IF-MIB::ifInOctets.65539 = Counter32: 2055515491

I'm not sure what that means or what it is supposed to be, but it looks like I got a reply?


Wed Apr 01, 2009 11:38 am
New User

Joined: Wed Apr 01, 2009 10:35 am
Posts: 2
Post Re: Interface - Traffic graphs not displaying - Disk usage works
Solved the issue. There is a bug in 0.8.7d that is referenced here:

http://bugs.cacti.net/view.php?id=1405

Quote:
Please change lib/snmp.php around line 366.

Old code:

/* now check for the second most obvious */
if (is_numeric($string)) {
return $string;
}

New Code:

/* now check for the second most obvious */
if (is_numeric($string)) {
return trim($string);
}


Thu Apr 02, 2009 11:17 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: