Graph Access Denied

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

Moderators: Developers, Moderators

Post Reply
neight
Posts: 5
Joined: Mon Mar 09, 2015 7:19 am

Graph Access Denied

Post by neight »

I have Cacti running on Windows Server 2012 and the setup of everything seems fine but I can't access any graphs. When I check the associated graph templates for the device the status says "Is Being Graphed" and the associated data queries are successful. But when I go to the graph management screen and turn on debug mode I get a broken image link and the following error messages:
RRDTool Command:
GRAPH ACCESS DENIED
RRDTool Says:
GRAPH ACCESS DENIED

I checked all of my permissions and I should be able to access everything. The Cacti Log File is completely empty. Any suggestions on where the problem might be? I'm completely new to this and I've searched and tried everything I can think of with no luck so any help would be greatly appreciated.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph Access Denied

Post by BSOD2600 »

Ask the cacti admin to validate you should have access to the graph tree/device in User management.

cacti version?
neight
Posts: 5
Joined: Mon Mar 09, 2015 7:19 am

Re: Graph Access Denied

Post by neight »

BSOD2600 wrote:Ask the cacti admin to validate you should have access to the graph tree/device in User management.

cacti version?
Cacti version: 0.8.8c

I do have access to the graph tree/device in user management. I've also found a few more issues that I'm sure are related. The localhost shows up but the status is "unknown". There are also no RRD files in C:\inetpub\wwwroot\rra and C:\PHP\Extras\mibs does not exist.

I've gone back over the install instructions and everything looks like it was done and I've also made sure that the permission settings were ok in IIS. Is there anything else I should be checking?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph Access Denied

Post by BSOD2600 »

You're following http://docs.cacti.net/manual:088:1_inst ... er_windows right?

In user management for the account, are ANY graphs/templates/etc denied access? Default allow vs deny mode been changed?

as for the unknown and no rrd files, start with http://forums.cacti.net/viewtopic.php?f=3&t=11747
neight
Posts: 5
Joined: Mon Mar 09, 2015 7:19 am

Re: Graph Access Denied

Post by neight »

BSOD2600 wrote:You're following http://docs.cacti.net/manual:088:1_inst ... er_windows right?
I didn't do the initial installation myself but I'm using that manual to troubleshoot. I found that we are using PHP 5.6.6. Is it possible that is contributing to the issues and needs to be rolled back to 5.5?
BSOD2600 wrote:In user management for the account, are ANY graphs/templates/etc denied access? Default allow vs deny mode been changed?
Access isn't denied for anything and the default is set to allow.
BSOD2600 wrote:as for the unknown and no rrd files, start with http://forums.cacti.net/viewtopic.php?f=3&t=11747

I changed the poller log level to debug yesterday and I just started getting errors.
03/10/2015 12:38:57 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1064', SQL:"REPLACE INTO user_auth_perms (user_id,item_id,type) VALUES (4,,1)'
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph Access Denied

Post by BSOD2600 »

MySQL Error:'1064' is parsing error. Try running /cacti/cli/repair_database.php
neight
Posts: 5
Joined: Mon Mar 09, 2015 7:19 am

Re: Graph Access Denied

Post by neight »

Thanks. I was able to resolve all of the errors by following your [HOWTO] Debug Windows NTFS permission problems and the rrd files are now being created. I'm still not getting graphs though. In graph debug mode there are no issues but I'm seeing "WARNING: SNMP Get Timeout for Host:" in the Cacti log files. I've tried upping SNMP timeout all the way up to 15 seconds with the same results.

Code: Select all

03/18/2015 03:29:02 PM - SYSTEM STATS: Time:2.8743 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:18 RRDsProcessed:15
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Time: 2.4796 s, Theads: N/A, Hosts: 1
03/18/2015 03:29:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_cpu_user_60.rrd --template cpu_user 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_hdd_used_67.rrd --template hdd_total:hdd_used 1426706940:214379261952:19083571200
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_mem_free_66.rrd --template mem_free 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_mem_cache_65.rrd --template mem_cache 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_mem_buffers_64.rrd --template mem_buffers 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_load_5min_63.rrd --template load_5min 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_load_15min_62.rrd --template load_15min 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_load_1min_61.rrd --template load_1min 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_cpu_system_59.rrd --template cpu_system 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_cpu_nice_58.rrd --template cpu_nice 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_snmp_oid_57.rrd --template snmp_oid 1426706940:U
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_proc_56.rrd --template proc 1426706940:54
03/18/2015 03:29:02 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\rra\test_users_55.rrd --template users 1426706940:9
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Host[5] DS[60] SNMP: v2: 192.168.0.16, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: U
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Host[5] DS[60] WARNING: Result from SNMP not valid. Partial Result: U
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'192.168.0.16', and OID:'.1.3.6.1.4.1.2021.11.50.0'
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Host[5] DS[59] SNMP: v2: 192.168.0.16, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: U
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Host[5] DS[59] WARNING: Result from SNMP not valid. Partial Result: U
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'192.168.0.16', and OID:'.1.3.6.1.4.1.2021.11.52.0'
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Host[5] DS[58] SNMP: v2: 192.168.0.16, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: U
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Host[5] DS[58] WARNING: Result from SNMP not valid. Partial Result: U
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'192.168.0.16', and OID:'.1.3.6.1.4.1.2021.11.51.0'
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Host[5] DS[57] SNMP: v2: 192.168.0.16, dsname: snmp_oid, oid: , output: U
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] Host[5] DS[57] WARNING: Result from SNMP not valid. Partial Result: U
03/18/2015 03:29:02 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'192.168.0.16', and OID:''
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph Access Denied

Post by BSOD2600 »

Any linux / net-snmp / ucd-snmp templates will not function against a Windows device. Remove them and try adding the other snmp data query templates.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest