how to set cache folder on windows server
Moderators: Developers, Moderators
how to set cache folder on windows server
hi all.
i want to understand how to setup cache directory on windows server which has cacti installed on it to view realtime graphs.
i want to understand how to setup cache directory on windows server which has cacti installed on it to view realtime graphs.
-
- Posts: 48
- Joined: Fri Dec 07, 2012 11:11 am
Re: how to set cache folder on windows server
Is this "Cache" folder for the "Realtime" plugin by chance?harbinur wrote:hi all.
i want to understand how to setup cache directory on windows server which has cacti installed on it to view realtime graphs.
If so, you need to set the permissions on the folder so that the WAMP/IIS server can write to the C:\your\rrd\cache\path (whatever it may be).
-------------------------------------
VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR
VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR
Re: how to set cache folder on windows server
Thanks for quick response.
cache folder is for realtime graph
what i did up to now is ;
i have created folder in c:\\Cache folder
gave modify persmission for iusr on folder and the status of settings on cacti is on captured screen picture.
when i click on realtime graph button the result appears on screen as seen on attachment.
it does not show anything just a window which can can be expanded to see contents.
cache folder is for realtime graph
what i did up to now is ;
i have created folder in c:\\Cache folder
gave modify persmission for iusr on folder and the status of settings on cacti is on captured screen picture.
when i click on realtime graph button the result appears on screen as seen on attachment.
it does not show anything just a window which can can be expanded to see contents.
- Attachments
-
- realtime result.PNG (6.1 KiB) Viewed 4915 times
-
- cache.PNG (9.47 KiB) Viewed 4915 times
Re: how to set cache folder on windows server
will you give any response ?
jimcjulsonjr wrote:Is this "Cache" folder for the "Realtime" plugin by chance?harbinur wrote:hi all.
i want to understand how to setup cache directory on windows server which has cacti installed on it to view realtime graphs.
If so, you need to set the permissions on the folder so that the WAMP/IIS server can write to the C:\your\rrd\cache\path (whatever it may be).
-
- Posts: 48
- Joined: Fri Dec 07, 2012 11:11 am
Re: how to set cache folder on windows server
Hi there,harbinur wrote:will you give any response ?
jimcjulsonjr wrote:Is this "Cache" folder for the "Realtime" plugin by chance?harbinur wrote:hi all.
i want to understand how to setup cache directory on windows server which has cacti installed on it to view realtime graphs.
If so, you need to set the permissions on the folder so that the WAMP/IIS server can write to the C:\your\rrd\cache\path (whatever it may be).
Thanks for getting back to me. So the cache directory is obviously set properly...You said you gave the IIS account permission to the directory, so that's good. The next thing you need to figure out is, whether the process that writes the RRD files has permissions to update that directory.
One thing you can try to see if this is a permissions issue is to * TEMPORARILY * set the permissions on C:\cache to "everyone" with FULL rights. That should tell you straight away if it's an issue with permissions. Additionally, you'll want to check your Windows Logs for both System and IIS logs to see if anything jumps out. It's been years since I've managed a Windows Cacti box, but if memory serves, issues with polling or with directory permissions will show up there.
-------------------------------------
VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR
VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR
Re: how to set cache folder on windows server
Or use Sysinternals Process Monitor (http://technet.microsoft.com/en-us/sysi ... s/bb896645) and log a realtime cache attempt to see what account is being used and the reason for failure.
http://forums.cacti.net/viewtopic.php?f=6&t=26165
http://forums.cacti.net/viewtopic.php?f=6&t=26165
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 48
- Joined: Fri Dec 07, 2012 11:11 am
Re: how to set cache folder on windows server
BSOD2600 wrote:Or use Sysinternals Process Monitor (http://technet.microsoft.com/en-us/sysi ... s/bb896645) and log a realtime cache attempt to see what account is being used and the reason for failure.
http://forums.cacti.net/viewtopic.php?f=6&t=26165
^^^ This ^^^
-------------------------------------
VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR
VERSION: Cacti 0.8.8b
POLLER: Spine
DATA SOURCES: 100,000K and Growing (Multiple Servers)
PLUGINS: AUTOM8, THOLD, DISCOVER, WEATHERMAP, BOOST, CLOG, NECTAR, MACTRACK, FLOWVIEW, SPIKEKILL, INTROPAGE, MONITOR
Re: how to set cache folder on windows server
i have tested both iusr and everyone with full rights however there is no activity on folder yet.
when i click on realtime graph link same window appears as i sent earlier.
is it possible someone to connect via team or ammyy to check settings ?
when i click on realtime graph link same window appears as i sent earlier.
is it possible someone to connect via team or ammyy to check settings ?
Re: how to set cache folder on windows server
Certainly, for a consulting fee. PM me if interested.harbinur wrote:is it possible someone to connect via team or ammyy to check settings ?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: how to set cache folder on windows server
is there anyone to help about cacti real-time graphs ?
i was not successful.
i was not successful.
-
- Posts: 6
- Joined: Mon Jun 02, 2014 10:00 pm
Re: how to set cache folder on windows server
Hi Harnibur,
This is how i managed to work:
1- inside realtime plugin folder made a cache folder called "cache" (doh !)
2- In the realtime settings, i've writte the full path, like this: C:/inetpub/wwwroot/cacti/plugins/realtime/cache (yes, with right slashes)
3- In windows, over the cache folder added writte permissions to the IUSR user and the IIS_IUSRS group
4- and enjoy realtime graph
My win-cacti its running on IIS over MS Windows Server 2008 SP2 Standard
Spanish its my native lang, sorry if you find some errors.
This is how i managed to work:
1- inside realtime plugin folder made a cache folder called "cache" (doh !)
2- In the realtime settings, i've writte the full path, like this: C:/inetpub/wwwroot/cacti/plugins/realtime/cache (yes, with right slashes)
3- In windows, over the cache folder added writte permissions to the IUSR user and the IIS_IUSRS group
4- and enjoy realtime graph
My win-cacti its running on IIS over MS Windows Server 2008 SP2 Standard
Spanish its my native lang, sorry if you find some errors.
Re: how to set cache folder on windows server
hi..
I think this is rather old topic but... i setup the realtime cache folder on "C\inetpub\www\cacti\realcache"...
every so often it keeps adding "backslashes" to the route... ex; "C\\\\\\\\inetpub\\\\\\\\www\\\\\\\\cacti\\\\\\\realcache"
rendering the folder unusable... giving log errors...
Like this...
"CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1406', SQL:"replace into settings (name,value) values ('realtime_cache_path', 'C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\inetpub\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\wwwroot\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\cacti\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\realcache')' "
Any suggestion?
cacti .0.8.8h on Windows 7
I think this is rather old topic but... i setup the realtime cache folder on "C\inetpub\www\cacti\realcache"...
every so often it keeps adding "backslashes" to the route... ex; "C\\\\\\\\inetpub\\\\\\\\www\\\\\\\\cacti\\\\\\\realcache"
rendering the folder unusable... giving log errors...
Like this...
"CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1406', SQL:"replace into settings (name,value) values ('realtime_cache_path', 'C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\inetpub\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\wwwroot\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\cacti\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\realcache')' "
Any suggestion?
cacti .0.8.8h on Windows 7
Who is online
Users browsing this forum: No registered users and 1 guest