Set the poll interval to 10 seconds to get realtime graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
PPRRBBDD
Posts: 5
Joined: Tue Aug 17, 2010 4:49 pm

Set the poll interval to 10 seconds to get realtime graphs

Post by PPRRBBDD »

Hi my cacti's friends.

I've been looking, in the web and at this forum, how to get graphs in real time(at least 10 seconds, I already have 1 minute graphs)? In other words, how to run the poller interval every 10 secs? (Scheduled task from windows can't do it) Do I have to modify the poller.php file some how too? Is there a script that I can run for windows to get this 10 seconds poll interval, wich one? Please help me, I'm desperate. Has anyone done this before? Is there another way?

Operating System: Windows XP SP3
Webserver: Apache 2.2
Cacti: 0.87e
Spine: I'm using cmd.php
MySQL: 5.0
PHP: 5
RRDTool (Cygwin or Win32 version): Win35 1.2.30.0
Net-SNMP: 5.5
Cygwin (cygwin1.dll version):
Plugin Architecture: 2.5
Hope someone knows the answer
Best Regards.
Lazybones
Posts: 40
Joined: Wed Aug 23, 2006 9:47 am

Post by Lazybones »

The realtime plugin will poll as fast as 5seconds but it is for display it does not log.
PPRRBBDD
Posts: 5
Joined: Tue Aug 17, 2010 4:49 pm

Post by PPRRBBDD »

Thanks Lazybones. Do you know how it works in windows?. I install and enable the plugin but I don't know where to see the graphs in real time.

Best Regards
PPRRBBDD
Posts: 5
Joined: Tue Aug 17, 2010 4:49 pm

Post by PPRRBBDD »

I almost got it. I guess. I see the realtime button in the graphs. But I get this error. "The image cache directory directory does not exist. Please create it and then set permissions and the attempt to open another realtime graph" How can I do this? for Windows plase help
Lazybones
Posts: 40
Joined: Wed Aug 23, 2006 9:47 am

Post by Lazybones »

I am also running it under windows..

You have to go under Settings and the Misc Tab... there is a section for the Realtime plugin, you have to set a path for Cache Directory... Just go make a folder and then put that path there so it has a place to save files.

On my system I just used C:\Apache2\htdocs\cacti\plugins\realtime\cache but I actually had to make the folder "cache" in the realtime folder it will not create for you.. I am just running small config so I do not know what the impact of this folder is for performance..
PPRRBBDD
Posts: 5
Joined: Tue Aug 17, 2010 4:49 pm

Post by PPRRBBDD »

I got it. But it seems that doesn't work at all, well, for me. It polls at 5 seconds but, the values are wrong, for example, in the graph with 1 minute interval the inbound traffic , is 4.75 kb(average). And in the real time graph it is showing 300Mb(every 5 seconds I'm getting values around 300Mb ). Also in the graphs that I create after running the realtime plugin, it displays wrong values too. Any idea to correct this issue?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests