Blank graphs for performance counters

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

Moderators: Developers, Moderators

Post Reply
HSFS
Posts: 15
Joined: Mon Oct 28, 2013 4:52 am

Blank graphs for performance counters

Post by HSFS »

hi,

i have installed cacti on windows through cacti installer.

Operating System:Windows 7
Webserver: Apache
Cacti:0.8.8
MySQL:5.5
PHP:5.3.17
RRDTool :1.4.7
Net-SNMP:5.5

i have added devices and things are working i am getting the graphs. Now i am trying to add the performance counters in the cacti. i have downloaded the template imported and assigned to the device but my graphs are showing empty. i have even tried the typeperf and it is working fine.

could somebody help me regarding this.

Thankyou.
Attachments
perf counter.JPG
perf counter.JPG (130.14 KiB) Viewed 3132 times
perf counter1.JPG
perf counter1.JPG (53.94 KiB) Viewed 3133 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Blank graphs for performance counters

Post by BSOD2600 »

The service account Apache is running under needs to be a member of the "Performance Monitor Users" Windows group to access perfmon/wmi counters.
HSFS
Posts: 15
Joined: Mon Oct 28, 2013 4:52 am

Re: Blank graphs for performance counters

Post by HSFS »

i have added in the performance monitor users. still i am unable to retrieve any data in the graphs.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Blank graphs for performance counters

Post by BSOD2600 »

Shift-right click on the Command Prompt shortcut and select Run as Different User. Log in with the account Apache is using. Test your typeperf command again.

You do realize Cacti already comes with SNMP templates for cpu/memory/disk usage, right? They're under Associated Data Queries.
HSFS
Posts: 15
Joined: Mon Oct 28, 2013 4:52 am

Re: Blank graphs for performance counters

Post by HSFS »

I have checked in CMD prompt by changing the user (on which Apache is running) and typeperf is working fine, But the graphs are still empty.
I know that there are SNMP templates for disk space and CPU etc. i have just took an example but i need the performance counters like disk reads , pages/sec ,logged in connections etc..

Can you help me out in resolving this.

Thank you.
HSFS
Posts: 15
Joined: Mon Oct 28, 2013 4:52 am

Re: Blank graphs for performance counters

Post by HSFS »

hi,

i was trying this one butwas not successful. When i was investigating the poller cache i just found this may be a problem why the data is not fetched up. I think the path is wrong. Can you tell me where and how can i change this.
Attachments
cacti.JPG
cacti.JPG (44.61 KiB) Viewed 3034 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Blank graphs for performance counters

Post by BSOD2600 »

HSFS wrote: I think the path is wrong. Can you tell me where and how can i change this.
Data input methods.
HSFS
Posts: 15
Joined: Mon Oct 28, 2013 4:52 am

Re: Blank graphs for performance counters

Post by HSFS »

When i run the script through the commanad line i am getting the result as blank. Can you suggest me how to proceed.
Attachments
cmd.JPG
cmd.JPG (17.93 KiB) Viewed 2946 times
HSFS
Posts: 15
Joined: Mon Oct 28, 2013 4:52 am

Re: Blank graphs for performance counters

Post by HSFS »

Can somebody help on this.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Blank graphs for performance counters

Post by BSOD2600 »

when you manually run typeperf FROM your cacti server against that 10.10.xx server WITH the webserver user account, is it successful ?
HSFS
Posts: 15
Joined: Mon Oct 28, 2013 4:52 am

Re: Blank graphs for performance counters

Post by HSFS »

yes, I am trying to graph my local machine itself.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests