Plugin Realtime not display graph other graph ok

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

lolo54000
Posts: 9
Joined: Wed Mar 05, 2014 10:44 am

Plugin Realtime not display graph other graph ok

Post by lolo54000 »

Hi
I use cacti 8.8B under windows 2012R2 (poller cmd.php)
All work fine but when i want to use the plugin realtime i have no graph .
I test to change the plugin cache directory (./rra or ./rra/realtime ..) with the correct right on folder (iusr,iis_usr and my account is read and modify right on the folder rra . see screen captur in attachment)
i test to uninstall reinstall realtime no change.
when i active debug log i have no error (log is in log debug file in attachment)
No file were create on my folder(rra/realtime) and display to screen.
What must i do?

Thank you for your help.

Lolo
Attachments
Right on folder
Right on folder
Capture.JPG (70.5 KiB) Viewed 5558 times
log debug.txt
(1.21 KiB) Downloaded 167 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Plugin Realtime not display graph other graph ok

Post by BSOD2600 »

lolo54000 wrote:All work fine but when i want to use the plugin realtime i have no graph .
enable graph debug. any errors?

Followed the NTFS troubleshooting guide in my signature?
lolo54000
Posts: 9
Joined: Wed Mar 05, 2014 10:44 am

Re: Plugin Realtime not display graph other graph ok

Post by lolo54000 »

Hi thanks for your answer

What must i do to enable graph debug?
I test to set debug level to poller logging level and i check the graph export messages in setting/general
but i have no error just normal message.
Graph debug.JPG
Graph debug.JPG (176.91 KiB) Viewed 5532 times
I test your NTFS troubleshooting guide in yoursignature but i have no result when i search for denied i can only find a buffer overflow for rrdtool (cf capture1)
Capture1.JPG
Capture1.JPG (108.53 KiB) Viewed 5532 times
and name invalid for rrdtool (cf capture 2)
Capture2.JPG
Capture2.JPG (124.49 KiB) Viewed 5532 times
but i don't known if its normal or not.

Thanks for your help

Lolo
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Plugin Realtime not display graph other graph ok

Post by BSOD2600 »

lolo54000 wrote:What must i do to enable graph debug?
In graph management, select a graph and on the far right, enable graph debugging.

Start with the basics of normal graph creation before you add various plugins (aka realtime) into the mix. some times they dont all play well together...
lolo54000
Posts: 9
Joined: Wed Mar 05, 2014 10:44 am

Re: Plugin Realtime not display graph other graph ok

Post by lolo54000 »

Hi

With normal graph i have no problem it work fine :
Capture.JPG
Capture.JPG (24.12 KiB) Viewed 5510 times
But it's only with realtime plugin where i have no realtime graph just a popup with no graph (i test with interval of 1 sec,5 sec,1 min...)
Capture1.JPG
Capture1.JPG (15.33 KiB) Viewed 5510 times
When i turn on debug all is ok in graph management:
Capture3.JPG
Capture3.JPG (92.96 KiB) Viewed 5510 times
I don't understand why normal graph is ok but not in realtime mode.

Thanks for your help
Lolo
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Plugin Realtime not display graph other graph ok

Post by BSOD2600 »

Ah, so just an issue with the plugin... and then wrong forum ;)

You certain the realtime directory has the correct NTFS perms configured?
lolo54000
Posts: 9
Joined: Wed Mar 05, 2014 10:44 am

Re: Plugin Realtime not display graph other graph ok

Post by lolo54000 »

Hi

Sorry for the wrong forum :-?
Yes i'm certain i test to configure the realtime plugin in rra directory who work fine for standard graph and realtime don't work.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Plugin Realtime not display graph other graph ok

Post by BSOD2600 »

the realtime graphs use a different directory for the temporary images. I believe its typically /cacti/realtime/ check the settings and permissions.
lolo54000
Posts: 9
Joined: Wed Mar 05, 2014 10:44 am

Re: Plugin Realtime not display graph other graph ok

Post by lolo54000 »

Yes in configuration i can chage the directory used by the realtime plugin and regardless of the directory / permission that i configure (cacti/realtime, cacti/rra , or cacti/rra/realtime ) the plugin never work i don't know why
I check the permission of directory all is ok (iusr, IIs_usr can modify file in the directory that i configure)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Plugin Realtime not display graph other graph ok

Post by BSOD2600 »

looking again at the process monitor output from above, doesnt look like something is configured correctly with realtime -- it shouldnt be using rrdtool commands as part of the path. double-check the configuration again, read its manual, and I'm moving this thread to the correct forum.
Torhuk
Posts: 6
Joined: Thu May 21, 2015 5:04 am

Re: Plugin Realtime not display graph other graph ok

Post by Torhuk »

Hi lolo,

I have the same problem.
Do you find the solution ?
lolo54000
Posts: 9
Joined: Wed Mar 05, 2014 10:44 am

Re: Plugin Realtime not display graph other graph ok

Post by lolo54000 »

Hi Torhuk

No I don't find a solution for this problem
User avatar
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

Re: Plugin Realtime not display graph other graph ok

Post by GlueGuy »

You have to set the realtime cache directory in Console-->Settings-->Misc. There should be a section used by the realtime plugin, and you set it there.
---------
The Glue Guy
lolo54000
Posts: 9
Joined: Wed Mar 05, 2014 10:44 am

Re: Plugin Realtime not display graph other graph ok

Post by lolo54000 »

Hi

thank you for your answer GlueGuy but i have already set the cache directory like this:
C:/inetpub/wwwroot/cacti/rra/realtime
(cacti run Under Windows)
and under this line i have [OK: DIR FOUND]
i test to change this folder to C:/inetpub/wwwroot/cacti/rra to be certain of not having a problem of right but i have the same problem.
another idea ?
User avatar
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

Re: Plugin Realtime not display graph other graph ok

Post by GlueGuy »

What happens when you run the realtime CLI poller?

Invoke it from the realtime directory thusly:

Code: Select all

php poller_rt.php --graph=<graph id> --interval=<SEC>
Does that create the files in the cache directory?
---------
The Glue Guy
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests