-->>How graph the latency on cacti 0.8.7b? or any temp

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

Moderators: Developers, Moderators

Post Reply
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

-->>How graph the latency on cacti 0.8.7b? or any temp

Post by hatiras »

Hi i have a problem, i need graph the latency on my cacti install, i tried with advanced ping template, network ping template, unix ping latency, but stay the img but dont graph, no draw with any template, with advanced ping template draw the first time but the next times dont works, i dont know, all graphs works fine (cpu,memory,etc..)but the latency no.

my php.ini its ok and dont exist errors or alerts on installation just is the ping that no work...

Or maybe if anybody know other template for latency graph will be great.
this is my install:

Cacti Version 0.8.7b
architecture: 2.1
plugins: thold, monitor, ntop
Cacti OS win server 2003
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x




The cacti logs its fine , the debugs graphs its ok this says ok with my import templates pings , just the unix ping latency appear this:


01/16/2009 02:17:08 PM - SYSTEM STATS: Time:1.0197 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1
01/16/2009 02:17:07 PM - SYSTEM STATS: Time:2.0145 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1
01/16/2009 02:17:05 PM - SYSTEM STATS: Time:1.0149 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:2
01/16/2009 02:17:05 PM - CMDPHP: Poller[0] Host[6] DS[30] WARNING: Result from CMD not valid. Partial Result:
01/16/2009 02:17:04 PM - SYSTEM STATS: Time:1.0221 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:2
01/16/2009 02:17:03 PM - SYSTEM STATS: Time:1.0241 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1
01/16/2009 02:12:08 PM - SYSTEM STATS: Time:1.0199 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1
01/16/2009 02:12:07 PM - SYSTEM STATS: Time:2.0145 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1
01/16/2009 02:12:05 PM - SYSTEM STATS: Time:1.0151 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:2
01/16/2009 02:12:05 PM - CMDPHP: Poller[0] Host[6] DS[30] WARNING: Result from CMD not valid. Partial Result:
01/16/2009 02:12:04 PM - SYSTEM STATS: Time:1.0220 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:2
01/16/2009 02:12:03 PM - SYSTEM STATS: Time:1.0123 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1
01/16/2009 02:07:08 PM - SYSTEM STATS: Time:1.0504 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1
01/16/2009 02:07:07 PM - SYSTEM STATS: Time:1.0121 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:0
01/16/2009 02:07:06 PM - SYSTEM STATS: Time:2.0146 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1
01/16/2009 02:07:04 PM - SYSTEM STATS: Time:1.0231 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:4
01/16/2009 02:07:04 PM - CMDPHP: Poller[0] Host[6] DS[30] WARNING: Result from CMD not valid. Partial Result:
01/16/2009 02:07:03 PM - SYSTEM STATS: Time:1.0175 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:1 RRDsProcessed:1


[/list]
[b]___________________[/b]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

From your the cacti log viewer, click on the DS[30] link -- what does it go to?

As for why all of those templates don't work, it's hard to say without further investigating. Turn the cacti logging level to medium and monitor it for errors.
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

ok

Post by hatiras »

thnks BSOD and please help me, ok let me start again, i erase the ping templates installed on my cacti box, my poller now its ok, nothing of warnings, i Turn the cacti logging level to medium like do you say. This is the output, my graphs works good and draw (Like a rainbow LoL):

Log File [Total Lines: 50 - All Items Shown]

01/19/2009 01:47:08 PM - SYSTEM STATS: Time:1.0116 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:0
01/19/2009 01:47:07 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
01/19/2009 01:47:07 PM - SYSTEM STATS: Time:1.0140 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:1
01/19/2009 01:47:06 PM - CMDPHP: Poller[0] Time: 0.0236 s, Theads: N/A, Hosts: 3
01/19/2009 01:47:06 PM - CMDPHP: Poller[0] Host[4] DS[16] SNMP: v2: 127.0.0.1, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 42
01/19/2009 01:47:06 PM - SYSTEM STATS: Time:1.0201 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:2
01/19/2009 01:47:06 PM - CMDPHP: Poller[0] Time: 0.4018 s, Theads: N/A, Hosts: 3
01/19/2009 01:47:06 PM - CMDPHP: Poller[0] Host[6] DS[28] SNMP: v2: 100.100.1.31, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3698766805
01/19/2009 01:47:06 PM - CMDPHP: Poller[0] Host[6] DS[28] SNMP: v2: 100.100.1.31, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1162847921
01/19/2009 01:47:05 PM - CMDPHP: Poller[0] Host[4] DS[25] SNMP: v2: 127.0.0.1, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 4
01/19/2009 01:47:05 PM - SYSTEM STATS: Time:2.0144 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:1
01/19/2009 01:47:05 PM - CMDPHP: Poller[0] Time: 1.7484 s, Theads: N/A, Hosts: 3
01/19/2009 01:47:05 PM - CMDPHP: Poller[0] Host[4] DS[18] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 4 2:161:500:JIS2005:::MD5::DES: get total 6, output: 2120220672
01/19/2009 01:47:05 PM - CMDPHP: Poller[0] Host[4] DS[18] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 4 2:161:500:JIS2005:::MD5::DES: get used 6, output: 538771456
01/19/2009 01:47:03 PM - SYSTEM STATS: Time:1.0258 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:2
01/19/2009 01:47:02 PM - CMDPHP: Poller[0] Time: 0.1001 s, Theads: N/A, Hosts: 3
01/19/2009 01:47:02 PM - CMDPHP: Poller[0] Host[5] DS[19] SNMP: v2: 100.100.1.30, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3063090067
01/19/2009 01:47:02 PM - CMDPHP: Poller[0] Host[5] DS[19] SNMP: v2: 100.100.1.30, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2945366861
01/19/2009 01:47:02 PM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: 59513106
01/19/2009 01:47:02 PM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: 1080465188
01/19/2009 01:47:02 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '5'
01/19/2009 01:42:08 PM - SYSTEM STATS: Time:1.0117 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:0
01/19/2009 01:42:07 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
01/19/2009 01:42:07 PM - SYSTEM STATS: Time:1.0140 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:1
01/19/2009 01:42:06 PM - CMDPHP: Poller[0] Time: 0.0226 s, Theads: N/A, Hosts: 3
01/19/2009 01:42:06 PM - CMDPHP: Poller[0] Host[4] DS[16] SNMP: v2: 127.0.0.1, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 41
01/19/2009 01:42:06 PM - SYSTEM STATS: Time:1.0204 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:2
01/19/2009 01:42:06 PM - CMDPHP: Poller[0] Time: 0.4956 s, Theads: N/A, Hosts: 3
01/19/2009 01:42:06 PM - CMDPHP: Poller[0] Host[6] DS[28] SNMP: v2: 100.100.1.31, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3669384330
01/19/2009 01:42:06 PM - CMDPHP: Poller[0] Host[6] DS[28] SNMP: v2: 100.100.1.31, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1150737901
01/19/2009 01:42:05 PM - CMDPHP: Poller[0] Host[4] DS[25] SNMP: v2: 127.0.0.1, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 4
01/19/2009 01:42:05 PM - SYSTEM STATS: Time:2.0144 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:1
01/19/2009 01:42:05 PM - CMDPHP: Poller[0] Time: 1.7507 s, Theads: N/A, Hosts: 3
01/19/2009 01:42:05 PM - CMDPHP: Poller[0] Host[4] DS[18] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 4 2:161:500:JIS2005:::MD5::DES: get total 6, output: 2120220672
01/19/2009 01:42:05 PM - CMDPHP: Poller[0] Host[4] DS[18] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 4 2:161:500:JIS2005:::MD5::DES: get used 6, output: 527630336
01/19/2009 01:42:03 PM - SYSTEM STATS: Time:1.0212 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:2
01/19/2009 01:42:02 PM - CMDPHP: Poller[0] Time: 0.0942 s, Theads: N/A, Hosts: 3
01/19/2009 01:42:02 PM - CMDPHP: Poller[0] Host[5] DS[19] SNMP: v2: 100.100.1.30, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3032998417
01/19/2009 01:42:02 PM - CMDPHP: Poller[0] Host[5] DS[19] SNMP: v2: 100.100.1.30, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2933448031
01/19/2009 01:42:02 PM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: 56987117
01/19/2009 01:42:02 PM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: 1080401995
01/19/2009 01:42:02 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '5'
01/19/2009 01:37:08 PM - SYSTEM STATS: Time:1.0122 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:0
01/19/2009 01:37:07 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
01/19/2009 01:37:07 PM - SYSTEM STATS: Time:1.0144 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:1
01/19/2009 01:37:06 PM - CMDPHP: Poller[0] Time: 0.0224 s, Theads: N/A, Hosts: 3
01/19/2009 01:37:06 PM - CMDPHP: Poller[0] Host[4] DS[16] SNMP: v2: 127.0.0.1, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 41
01/19/2009 01:37:06 PM - SYSTEM STATS: Time:1.0203 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:4 RRDsProcessed:2
01/19/2009 01:37:06 PM - CMDPHP: Poller[0] Time: 0.3186 s, Theads: N/A, Hosts: 3
01/19/2009 01:37:06 PM - CMDPHP: Poller[0] Host[6] DS[28] SNMP: v2: 100.100.1.31, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3638989730


-------
Then, i like to know if the cacti 0.8.7b work with advanced_ping v_1_3 template, when i import the .xml i dont recieve errors, this is ok, i install just the xml because the \lib\ping.php and scripts\ss_fping.php is installed, the .xml template say ok when i install, this is the output:

Import Results

Cacti has imported the following items:

CDEF

[success] Advanced Ping - Loss Unknown [update]
[success] Advanced Ping - Loss 51 - 95 % top [update]
[success] Advanced Ping - Loss 6 - 10 % top [update]
[success] Advanced Ping - Loss 11 - 15 % top [update]
[success] Advanced Ping - Loss 16 - 50 % top [update]
[success] Advanced Ping - Loss 96 - 100 % top [update]
[success] Advanced Ping - Position 1,2 [update]
[success] Advanced Ping - Position 3,4,5 [update]
[success] Advanced Ping - Loss 11 - 15 % bottom [update]
[success] Advanced Ping - Loss 6 - 10 % bottom [update]
[success] Advanced Ping - Loss 16 - 50 % bottom [update]
[success] Advanced Ping - Loss 51 - 95 % bottom [update]
[success] Advanced Ping - Loss 96 - 100 % bottom [update]
[success] Advanced Ping - Loss 1 - 2 % bottom [update]
[success] Advanced Ping - Loss 1 - 2 % top [update]
[success] Advanced Ping - Loss 3 - 5 % bottom [update]
[success] Advanced Ping - Loss 3 - 5 % top [update]

GPRINT Preset

[success] Normal [update]
[success] Ping [update]
[success] Percentage as Decimal [update]

Data Input Method

[success] PING - Advanced Ping v1.3 [update]

Data Template

[success] PING - Advanced Ping v1.3 [new]

Graph Template

[success] PING - Advanced Ping v1.3 [update]

------
Then, i put one device to graph with my new ping template and i stay a few polls and this is the output of cacti log::


Log File [Total Lines: 50 - All Items Shown]

01/19/2009 02:12:09 PM - SYSTEM STATS: Time:1.0147 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:1
01/19/2009 02:12:09 PM - CMDPHP: Poller[0] Time: 0.3346 s, Theads: N/A, Hosts: 3
01/19/2009 02:12:09 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.5600 avg:3.2745 max:13.2100 dev:3.0818 loss:0.0000
01/19/2009 02:12:08 PM - SYSTEM STATS: Time:1.0160 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:2
01/19/2009 02:12:08 PM - CMDPHP: Poller[0] Time: 0.3378 s, Theads: N/A, Hosts: 3
01/19/2009 02:12:08 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.5500 avg:2.7545 max:9.6500 dev:1.9335 loss:0.0000
01/19/2009 02:12:08 PM - CMDPHP: Poller[0] Host[4] DS[16] SNMP: v2: 127.0.0.1, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 44
01/19/2009 02:12:07 PM - SYSTEM STATS: Time:1.0236 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:3
01/19/2009 02:12:07 PM - CMDPHP: Poller[0] Time: 0.7564 s, Theads: N/A, Hosts: 3
01/19/2009 02:12:07 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.5700 avg:2.0530 max:4.8200 dev:0.7492 loss:0.0000
01/19/2009 02:12:07 PM - CMDPHP: Poller[0] Host[5] DS[19] SNMP: v2: 100.100.1.30, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2995988537
01/19/2009 02:12:07 PM - CMDPHP: Poller[0] Host[5] DS[19] SNMP: v2: 100.100.1.30, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3326221595
01/19/2009 02:12:07 PM - CMDPHP: Poller[0] Host[4] DS[25] SNMP: v2: 127.0.0.1, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 4
01/19/2009 02:12:06 PM - SYSTEM STATS: Time:3.0133 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:2
01/19/2009 02:12:05 PM - CMDPHP: Poller[0] Time: 1.8718 s, Theads: N/A, Hosts: 3
01/19/2009 02:12:05 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.3300 avg:3.1810 max:11.2900 dev:2.7197 loss:0.0000
01/19/2009 02:12:05 PM - CMDPHP: Poller[0] Host[4] DS[18] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 4 2:161:500:JIS2005:::MD5::DES: get total 6, output: 2120220672
01/19/2009 02:12:05 PM - CMDPHP: Poller[0] Host[4] DS[18] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 4 2:161:500:JIS2005:::MD5::DES: get used 6, output: 517013504
01/19/2009 02:12:03 PM - SYSTEM STATS: Time:1.0110 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:2
01/19/2009 02:12:03 PM - CMDPHP: Poller[0] Time: 0.3470 s, Theads: N/A, Hosts: 3
01/19/2009 02:12:03 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.5700 avg:3.0905 max:11.6600 dev:2.8156 loss:0.0000
01/19/2009 02:12:03 PM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: 67937665
01/19/2009 02:12:03 PM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: 1080553262
01/19/2009 02:12:02 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '5'
01/19/2009 02:07:10 PM - SYSTEM STATS: Time:1.0145 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:1
01/19/2009 02:07:10 PM - CMDPHP: Poller[0] Time: 0.3175 s, Theads: N/A, Hosts: 3
01/19/2009 02:07:10 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.5700 avg:2.6460 max:8.5300 dev:1.8573 loss:0.0000
01/19/2009 02:07:09 PM - SYSTEM STATS: Time:1.0132 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:2
01/19/2009 02:07:09 PM - CMDPHP: Poller[0] Time: 0.3413 s, Theads: N/A, Hosts: 3
01/19/2009 02:07:09 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.5900 avg:2.4450 max:7.8300 dev:1.8217 loss:0.0000
01/19/2009 02:07:09 PM - CMDPHP: Poller[0] Host[4] DS[16] SNMP: v2: 127.0.0.1, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 44
01/19/2009 02:07:08 PM - SYSTEM STATS: Time:2.0502 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:4
01/19/2009 02:07:08 PM - CMDPHP: Poller[0] Time: 1.6903 s, Theads: N/A, Hosts: 3
01/19/2009 02:07:08 PM - CMDPHP: Poller[0] Host[6] DS[28] SNMP: v2: 100.100.1.31, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3886608678
01/19/2009 02:07:08 PM - CMDPHP: Poller[0] Host[6] DS[28] SNMP: v2: 100.100.1.31, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1207826900
01/19/2009 02:07:07 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.6000 avg:1.8720 max:2.6600 dev:0.2762 loss:0.0000
01/19/2009 02:07:07 PM - CMDPHP: Poller[0] Host[5] DS[19] SNMP: v2: 100.100.1.30, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2988667731
01/19/2009 02:07:07 PM - CMDPHP: Poller[0] Host[5] DS[19] SNMP: v2: 100.100.1.30, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3255129226
01/19/2009 02:07:07 PM - CMDPHP: Poller[0] Host[4] DS[25] SNMP: v2: 127.0.0.1, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 4
01/19/2009 02:07:06 PM - SYSTEM STATS: Time:3.0135 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:2
01/19/2009 02:07:05 PM - CMDPHP: Poller[0] Time: 1.8494 s, Theads: N/A, Hosts: 3
01/19/2009 02:07:05 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.5500 avg:2.2130 max:8.2200 dev:1.4807 loss:0.0000
01/19/2009 02:07:05 PM - CMDPHP: Poller[0] Host[4] DS[18] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 4 2:161:500:JIS2005:::MD5::DES: get total 6, output: 2120220672
01/19/2009 02:07:05 PM - CMDPHP: Poller[0] Host[4] DS[18] SERVER: C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 4 2:161:500:JIS2005:::MD5::DES: get used 6, output: 526516224
01/19/2009 02:07:03 PM - SYSTEM STATS: Time:1.0293 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:3 RRDsProcessed:2
01/19/2009 02:07:03 PM - CMDPHP: Poller[0] Time: 0.3501 s, Theads: N/A, Hosts: 3
01/19/2009 02:07:03 PM - CMDPHP: Poller[0] Host[5] DS[36] SERVER: c:/inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 100.100.1.30 20 , output: min:1.5800 avg:3.3920 max:9.7000 dev:2.9277 loss:0.0000
01/19/2009 02:07:03 PM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 127.0.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: 66414640
01/19/2009 02:07:03 PM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 127.0.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: 1080538030
01/19/2009 02:07:02 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '5'




And my graph, just draw one time, the next times dont draw is very strange because the all graphs works fine, just the graphs of ping works one time no more:




My box:
Windows server 2003
iis 6
cacti 0.8.7b with all patches
rrdtool 1.2
spine 8.7a (but not run me)
php 4.4
mysql 5.0
plug arch 2.1
Attachments
fisrst ping works
fisrst ping works
ping first.JPG (28.99 KiB) Viewed 2891 times
next ping dont works this is output with zoom
next ping dont works this is output with zoom
ping after.JPG (28.04 KiB) Viewed 2891 times
all graphs working good.., less the ping graphs
all graphs working good.., less the ping graphs
good graph.JPG (14.35 KiB) Viewed 2891 times
[b]___________________[/b]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

On first glance, your cacti install is working fine and able to retrieve data.

Have you manually invoked poller.php from an administrator account? If so, that would explain why it works once then not for the scheduled task. You should review your NTFS permissions on all the files/folders, which is documented in the install guide.

With the cacti logging level set to debug, monitor what takes place for the advanced ping script. Does it retrieve data every time? Is rrdtool update ran with the CORRECT info retrieved?
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

Post by hatiras »

Yes of.course, my permissions is ok is like do you describe in your cacti manual (very good manual,always is updated, congratulations bsod!!!):

Path User NTFS Permissions
C:\Spine\ TaskUser Read & Execute
C:\Cygwin\bin\ TaskUser Read & Execute
C:\Inetpub\wwwroot\cacti\ TaskUser Read & Execute
IUSR_ Read & Execute
C:\Inetpub\wwwroot\cacti\rra\ IIS_WPG Modify
IUSR_ Modify
TaskUser Modify
C:\Inetpub\wwwroot\cacti\log\ IIS_WPG Modify
IUSR_ Modify
TaskUser Modify
C:\PHP\ IUSR_ Read & Execute
TaskUser Read & Execute
C:\PHP\sessiondata\ IUSR_ Modify (Files only)
C:\PHP\uploadtemp\ IUSR_ Modify (Files only)
C:\Net-SNMP\ IUSR_ Read & Execute
C:\RRDTool\ IUSR_ Read & Execute
TaskUser Read & Execute
C:\Windows\System32\cmd.exe IUSR_ Read & Execute
IIS_WPG Read & Execute
TaskUser Read & Execute

I verify my permissions and add modify permission in all paths of folders my iusr, iis and taskuser, this users are in all paths with all permissions, but this is equal, all works, graph and draw good but the ping graph dont draw.

Well, for this test,i just leave one device with the traffic template (default and works fine) polling and drawing good and the same device with the ping template this appear the graph but no draw.

my debug mode log is add but i dont find my ping templete line.

i THING THAT THE ADVANCED PING TEMPLETE V1_3 IS NOT COMPATIBLE
THIS TEMPLATE I HAVE WORKS GOOD IN CACT 0.8.6H BUT IN THE VERSION 8.7B DONT WORK GOOD OR MAYBE I´M MADING SOME BAD.

PLEASE DONT EXIST OTHER NEW PING TEMPLATE OR WHAT IS THE STRANGE ON MY INSTALATION..
Attachments
modedebuglog.txt
My poller, thnks
(86.89 KiB) Downloaded 196 times
[b]___________________[/b]
hatiras
Posts: 25
Joined: Mon Oct 10, 2005 4:55 pm
Location: Mexico, Puebla

Post by hatiras »

excuse me appear this at the last. thnks...
01/22/2009 02:42:55 PM - WEBLOG: Poller[0] CACTI2RRD: C:/RRDTool/rrdtool.exe graph - --imgformat=PNG --start=1232650199 --end=1232656062 --title="AP Prueba - Advanced Ping" --base=1000 --height=120 --width=500 --upper-limit=10 --lower-limit=0 --units-exponent=1 COMMENT:"From 2009/01/22 12\:49\:59 To 2009/01/22 14\:27\:42\c" COMMENT:" \n" --vertical-label="milliseconds" --slope-mode --font TITLE:10.5:c:/WINDOWS/Fonts/lucon.ttf --font AXIS:8:c:/WINDOWS/Fonts/lucon.ttf --font LEGEND:8:c:/WINDOWS/Fonts/lucon.ttf --font UNIT:8:c:/WINDOWS/Fonts/lucon.ttf DEF:a="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":min:AVERAGE DEF:b="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":avg:AVERAGE DEF:c="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":max:AVERAGE DEF:d="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":loss:AVERAGE DEF:e="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":dev:AVERAGE DEF:f="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":avg:MAX DEF:g="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":loss:MAX DEF:h="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":min:MAX DEF:i="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":max:MAX DEF:j="c\:/inetpub/wwwroot/cacti/rra/ap_prueba_min_36.rrd":dev:MAX CDEF:cdefg=d,0,GT,d,2,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefh=d,3,GT,d,5,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefi=d,5,GT,d,10,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefj=d,10,GT,d,15,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefba=d,15,GT,d,50,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbb=d,50,GT,d,95,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbc=d,95,GT,d,100,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbd=d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,95,GT,INF,UNKN,IF,IF CDEF:cdefbf=e,2,/ CDEF:cdefbh=c,b,-,e,-,3,/ CDEF:cdefcd=d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF CDEF:cdefce=d,3,GT,d,5,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcf=d,5,GT,d,10,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcg=d,10,GT,d,15,GT,UNKN,b,IF,UNKN,IF CDEF:cdefch=d,15,GT,d,50,GT,b,INF,IF,UNKN,IF CDEF:cdefci=d,50,GT,d,95,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcj=d,95,GT,d,100,GT,UNKN,b,IF,UNKN,IF LINE1:a:"" LINE1:b:"" LINE1:c:"" LINE1:d:"" LINE1:e:"" COMMENT:" Pkt Loss\:" AREA:cdefg#AFECEDFF:"1-2%" AREA:cdefh#55D6D3FF:"3-5%" AREA:cdefi#7CB3F1FF:"6-10%" AREA:cdefj#4668E4FF:"11-15%" AREA:cdefba#A150AAFF:"16-50%" AREA:cdefbb#FF00FFFF:"51-95%" AREA:cdefbc#F51D30FF:"96-100%" COMMENT:"Unknown\n" AREA:b#FFFFFFFF:"" AREA:cdefbf#333333FF:"":STACK AREA:cdefbf#555555FF:"":STACK AREA:cdefbh#888888FF:"":STACK AREA:cdefbh#AAAAAAFF:"":STACK AREA:cdefbh#CCCCCCFF:"":STACK GPRINT:d:AVERAGE:" Avg Loss\:%6.2lf%%" GPRINT:g:MAX:"Max Loss\:%6.2lf%%\n" COMMENT:" Latency\:" AREA:cdefcd#AFECEDFF:"" AREA:cdefce#55D6D3FF:"" AREA:cdefcf#7CB3F1FF:"" AREA:cdefcg#4668E4FF:"" AREA:cdefch#A150AAFF:"" AREA:cdefci#FF00FFFF:"" AREA:cdefcj#F51D30FF:"" GPRINT:a:AVERAGE:"Min\:%8.2lf ms" GPRINT:b:AVERAGE:"Avg\:%8.2lf ms" GPRINT:i:MAX:"Max\:%8.2lf ms" GPRINT:e:AVERAGE:"Dev\:%8.2lf ms\n" COMMENT:"Avg Latency\:" LINE1:b#00BD27FF:"
[b]___________________[/b]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, so since your other graphs are working fine... it's just an issue with the non-standard template/script. I suggest you post the troubleshooting steps and issues in the Advanced ping template thread.

The fact it's not even ran, would suggest to me it's not a data source for a device.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest