Graph export to UNC

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

Moderators: Developers, Moderators

Post Reply
Freddy2
Posts: 7
Joined: Tue Dec 19, 2006 5:11 pm

Graph export to UNC

Post by Freddy2 »

Graph export: Export to local directory refuses Windows network shares (UNC). Is it due to my permissions, or is it simply not implemented?

[Cacti 0.8.6.i unpatched, win2003, php 5.0.5.5, iis6, cygwin1.dll ]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

From your cacti box, are you able to access that UNC path with the user account running the Cacti scheduled task? what about as the web user account (either IIS_WPG or IUSR_XXX) ?

If yes to both, then its likely a cacti implementation issue. Try doubling the backslashes needed. Example: \\computer\share would end up being \\\\computer\\share. This would be to escape the backslashes.
Freddy2
Posts: 7
Joined: Tue Dec 19, 2006 5:11 pm

Post by Freddy2 »

Scheduled task run with system account, which has by definition no access to the network. Are these credentials used for the export job?
Doubling backslashes doesn't help.
Last edited by Freddy2 on Tue Dec 19, 2006 6:05 pm, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Freddy2 wrote:But dipslaying the graphs is a job for PHP, or not?
Not.

rrdtool renders the graphs. to go graph mangement, click on a graph, enable graph debugging to see the command that is issued to generate the graphs.
Freddy2
Posts: 7
Joined: Tue Dec 19, 2006 5:11 pm

Post by Freddy2 »

OK I'll do the debug. It needs 1-3 hours to apply new credentials, even if i restart iis.
Freddy2
Posts: 7
Joined: Tue Dec 19, 2006 5:11 pm

Post by Freddy2 »

RRDTool renders the graphs, but PHP takes the results somehow, thru the console output, as far as I see. Funny to see a png graphic outputted on the console.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests