Ping Latency graph no data

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

Moderators: Developers, Moderators

Post Reply
AtticusFinch
Posts: 4
Joined: Fri Sep 27, 2013 3:47 pm

Ping Latency graph no data

Post by AtticusFinch »

Operating System: Server 2008 R2
Webserver: IIS 7.5
Cacti: 0.8.8a
Spine: 0.8.8a
MySQL: 5.5.27
PHP: 5.3.17
RRDTool (Cygwin or Win32 build): RRDTool 1.4.x
Net-SNMP: NET-SNMP version: 5.5
Cygwin (cygwin1.dll version):
Plugin Architecture:

I have installed Cacti using the windows installer; I did not see any errors in the install log file. All SNMP graphs are showing data correctly, ping latency graph is not showing any data. I am new to Cacti and need some help. I have seen the exact question asked on the site but I have never seen the answer to the issue. Here are some screenshots. From what I see, it doesn't appear to be an NTFS permission either.

Attachment 1 shows Graph debug
Attachment 2 shows Data source debug
Attachment 3 shows ping latency displayed in the device properties page.
Attachments
3.JPG
3.JPG (58.47 KiB) Viewed 7580 times
2.JPG
2.JPG (29.08 KiB) Viewed 7580 times
1.JPG
1.JPG (58.24 KiB) Viewed 7580 times
Last edited by AtticusFinch on Mon Oct 07, 2013 4:06 pm, edited 1 time in total.
AtticusFinch
Posts: 4
Joined: Fri Sep 27, 2013 3:47 pm

Re: Ping Latency graph no data

Post by AtticusFinch »

And here is the Cacti install log and the CSV ouput for the graph, and the cacti log
Attachments
Cactilog.JPG
Cactilog.JPG (103.44 KiB) Viewed 7578 times
Cacti-installer.txt
(153.37 KiB) Downloaded 250 times
4csv.txt
(8.13 KiB) Downloaded 245 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Ping Latency graph no data

Post by BSOD2600 »

It's refreshing when someone reads forum stickies and their posts contain lots of helpful details :)

If you change the cacti logging level to debug, you'll find out why DS[8] (which is clickable -- should likely be the ping script) is failing to properly run.
AtticusFinch
Posts: 4
Joined: Fri Sep 27, 2013 3:47 pm

Re: Ping Latency graph no data

Post by AtticusFinch »

Thanks for the reply. So, here is the log after turning on the poller debug. I don't really understand all it says. And during more troubleshooting, I ended up deleting the graph and re-adding it, so now the it says DS[11] instead of [8], just so no one thinks I'm looking at something different now. When I click on [11] it shows the data source debug(second screenshot).
Attachments
Debug.JPG
Debug.JPG (138.62 KiB) Viewed 7554 times
debug2.JPG
debug2.JPG (44.9 KiB) Viewed 7554 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Ping Latency graph no data

Post by BSOD2600 »

if you manually run that perl ping command, does it work?

With newer Windows OS's, depending on the ping method used, it needs admin permissions to create the raw socket. The Cacti Task might need to be ran as admin with elevated permissions.

If you're really interested in graphing ping response, look at the advanced ping template (which mimics smokeping-like output) in the script forum.
AtticusFinch
Posts: 4
Joined: Fri Sep 27, 2013 3:47 pm

Re: Ping Latency graph no data

Post by AtticusFinch »

No, it doesn't, when I run the ping.pl script form the command prompt, I get a U.
I'll see if I can find the advanced ping and get that working.
ngoctrac
Posts: 3
Joined: Fri Mar 13, 2015 2:20 am

Re: Ping Latency graph no data

Post by ngoctrac »

Hi all,
I'm having the same problem.
I can manually run the script from command line (got positive output) but Cacti log shows as below:
05/28/2015 12:41:03 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
05/28/2015 12:41:02 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
05/28/2015 12:41:02 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Apache2\htdocs\cacti\rra\\11.rrd --template VG-01 1432791662:U
05/28/2015 12:41:02 PM - CMDPHP: Poller[0] Time: 0.0098 s, Theads: N/A, Hosts: 0
05/28/2015 12:41:02 PM - CMDPHP: Poller[0] Host[0] DS[11] CMD: perl C:/Apache2/htdocs/cacti/scripts/VG-01.pl, output: U

Please advise what could be the problem and what should I do. Thank you very much.
Other information:
- OS: Windows Server 2012 R2
- Cacti
- Apache comes with Cacti.
- Other graphs monitoring Cisco Routers are working fine.
- The rrd for the script is presented in rra folder.
- I checked process monitor and no Access Denied errors found.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Ping Latency graph no data

Post by BSOD2600 »

you should've created your own topic as it has nothing to do with this post.

VG-01.pl, output: U

means the script isnt returning data back to Cacti. Validate the cacti scheduled task has permissions to execute that script (manually verify by running it AS the task user account).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest