real time plugin v0.43 error

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
epsmed
Posts: 13
Joined: Thu Sep 16, 2010 9:06 am

real time plugin v0.43 error

Post by epsmed »

The real time plugin works only manually.
If i run C:\Inetpub\wwwroot\cacti\plugins\realtime>php poller_rt.php --graph=83 --interval=5 --force –debug from dos box, each 5 sec manually then file is created and updated and graph is showing.
I have set user access rights correctly. (i believe !!!)
If i run it from the browser then no file is created and no graph is showing

I forgott the enviroment Info's
win 2003 R2 x64
IIS 6.0 (turn into 32 bit mode)
php-5.2.14-Win32
CGI
net-snmp 15.x
RRDTool 1.2.x
Cacti-Spine 0.8.7g
Cacti is working very well. Except the realtime plugin
http://xxx.xxx.xxx.xxx/graph.php?local_ ... rra_id=all#
The window is opened but broken image icon is showing.
After i run in a dos box the Command: C:\Inetpub\wwwroot\cacti\plugins\realtime>php poller_rt.php --graph=83 --interval=5 --force –debug
and each 5 sec again and again the Graph is showing.

Any idea ?
Any Help ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I would run filemon and see what's happening under the covers. I use Apache and Realtime on Windows and I don't have a single problem.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
epsmed
Posts: 13
Joined: Thu Sep 16, 2010 9:06 am

Post by epsmed »

Thanks for the response.

Filemon (ProcessMonitor) shows, that there is only QueryDirectory attempt and no CreateFile attempt from proccess php-cgi.exe

I am not experienced with ProcessMonitor, but i supose, from some reasons, that the realtime plugin is not tried to create the realtime_xx_5.rrd file like php poller_rt.php dos command.

I cannot use Apache, because there is another Program uses IIS.
??

The URL is http://xx.xx.xx.xx/plugins/realtime/gra ... raph_id=83
Is this the correct one ?
Should popup URL be something else ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I suspect that this has something to do with CGI mode PHP. Please seek out BSOD2600.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
epsmed
Posts: 13
Joined: Thu Sep 16, 2010 9:06 am

Solved

Post by epsmed »

Thank you very much "TheWitness"

I have installed Fastcgi and configured it correctly.
Now is running and i believe also site performance is much better.

Thanks again.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest