Monitoring Windows physical disk performance
Moderators: Developers, Moderators
Monitoring Windows physical disk performance
This template monitor's physical disk perfomance of Windows 2000 or Windows 2003 from Windows installed cacti box.
Contents:
1) Script
2) DataQuery definition file
3) Template file includes dataquery, graph template and datatemplate
Contents:
1) Script
2) DataQuery definition file
3) Template file includes dataquery, graph template and datatemplate
- Attachments
-
- WMI - Physical drives.rar
- Script + xml files. Version 3
- (28.46 KiB) Downloaded 304 times
-
- screenshot
- Percent Busy Time.JPG (31.57 KiB) Viewed 7126 times
Last edited by Petunya on Wed Jan 23, 2008 3:59 am, edited 2 times in total.
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Sorry, but this still doesn't work - the same set of three values are missing, and even placing the XML file into script_queries does not cure this. Also, the actual query itself is not listed under "Associated Data Queries", nor is is listed in either of the Collection Methods...
I've checked the XML file, and it looks ok - any ideas ?
Thanks
I've checked the XML file, and it looks ok - any ideas ?
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Looks like this is used to delay the start of the script by 15 seconds - shouldn't be required as far as I see...?ejensen wrote:Same problems as before.
And what is Launch.exe in the archive?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Sorry for bad archive
Data query + graph template + data template are in attachement
I use launch.exe to limit execution time for the script. Sometime wmi scripts needs too much time to work and other poller operations does not have time in 5 minute poller interval.
Data query + graph template + data template are in attachement
I use launch.exe to limit execution time for the script. Sometime wmi scripts needs too much time to work and other poller operations does not have time in 5 minute poller interval.
- Attachments
-
- cacti_data_query_wmi_-_get_physical_drive_performance.xml
- (10.92 KiB) Downloaded 233 times
i imported this additional script and changed the xml file to remove the launch.exe reference. Added the new data query to a device "WMI - Get Physical Drive Performance " and it shows no items and no rows. I ran a verbose query and see the script running, but not showing any return data. I manually run the script and get the expected items returned (e.g. drive labels and such).
Any other suggestions?
BTW... Thanks for sharing!
Any other suggestions?
BTW... Thanks for sharing!
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
I came across the same issue. I'm running Apache (WAMP) under Windows. I had to change the Apache services to the same user account that runs the poller for this to work.
I was able to obtain data, but according to this template, all the disks in my servers are maxxing out at 100% ?????? Another template (that does sort of the same thing) shows the disk % at around 4%.....
I was able to obtain data, but according to this template, all the disks in my servers are maxxing out at 100% ?????? Another template (that does sort of the same thing) shows the disk % at around 4%.....
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
For the localhost, this makes sense. However, a local account used for either IIS Worker or Apache services won't be able to pull data on a remote system.
I had the same issue, and this was the fix.
I had the same issue, and this was the fix.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
not sure what your fix was? can you share it?
as for the localhost running this script, it runs but no graph is created. When i turn on debug for the graph I see the following error:
any suggestions?
as for the localhost running this script, it runs but no graph is created. When i turn on debug for the graph I see the following error:
Code: Select all
ERROR: unknown option '--alt-autoscale-min'
Who is online
Users browsing this forum: No registered users and 0 guests