Monitoring Windows physical disk performance

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Petunya
Posts: 17
Joined: Wed Jan 09, 2008 4:06 am
Contact:

Post by Petunya »

if you want to monitor remote servers you need to grant to cacti poller user account and web server user account ADMINISTRATOR RIGHTS OR NEXT PERMISSIONS:

if remote server runs Windows 2003:
- add to group "Performance monitor users"
- add to group "Distributed COM Users"
- Grant "REMOTE ENABLE" and "ENABLE ACCOUNT" rights to WMI subtree named CIMV2 (see screenshot)

if remote server runs Windows 2000
- grant read rights to registry key HKLM\SYSTEM\CurrentControlSet\Control\SecurePipeServers\Winreg
- Grant "REMOTE ENABLE" and "ENABLE ACCOUNT" rights to WMI subtree named CIMV2 (see screenshot)
Attachments
WMI Rights.JPG
WMI Rights.JPG (68.65 KiB) Viewed 2032 times
Last edited by Petunya on Wed Jan 23, 2008 3:49 am, edited 1 time in total.
Petunya
Posts: 17
Joined: Wed Jan 09, 2008 4:06 am
Contact:

Post by Petunya »

I wrote a tool that can automate operations for granting cacti poller user account permissions to get WMI requests

If you find any error please post it here!


PS. I have updated archive on first page :)
Attachments
1Server_Prepare.zip
Use this tool to grant permissions to get WMI requests for cacti poller user account
(172.67 KiB) Downloaded 133 times
ejensen
Cacti User
Posts: 55
Joined: Mon Jul 12, 2004 11:39 am

Post by ejensen »

here is my cacti info for the error i am having with
ERROR: unknown option '--alt-autoscale-min'
I have RRDtool 1.2.15
Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - CMD.php
Server Info - Windows NT 5.2
Web Server - Microsoft-IIS/6.0
PHP - 5.2.4
PHP Extensions - bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, ISAPI, gd, mssql, mysql, snmp, sockets, iisfunc, smtp, mysqli
MySQL - 5.0.37-community-nt
RRDTool - 1.2.15
SNMP - snmpwalk [OPTIONS] AGENT [OID]

Version: 5.4
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net

Plugins
  • Global Plugin Settings (settings - v0.3)
    Update Checker (update - v0.4)
    Device Monitoring (monitor - v0.8.1)
    Syslog Monitoring (syslog - v0.5.1)
    Report Creator (reports - v0.3)
    SuperLinks (superlinks - v0.72)
    Host Info (hostinfo - v0.2)
Petunya
Posts: 17
Joined: Wed Jan 09, 2008 4:06 am
Contact:

Post by Petunya »

Try to change "RRDTool Utility Version" in settings tab.
ejensen
Cacti User
Posts: 55
Joined: Mon Jul 12, 2004 11:39 am

Post by ejensen »

interesting... changed the RRDtool setting to 1.0.x and it works now. :-? not sure what that will break in other scripts.
ejensen
Cacti User
Posts: 55
Joined: Mon Jul 12, 2004 11:39 am

Post by ejensen »

Btw... thank you for the details of WMI security, the lack of those settings probably explains why some other WMI remote scripts are not working.

Thanks for sharing the info and your WMI permissions scripts as well as this disk performance script.
ejensen
Cacti User
Posts: 55
Joined: Mon Jul 12, 2004 11:39 am

Post by ejensen »

changing the RRDtool setting to 1.0 breaks all my other graphs, and setting it to 1.2 breaks this graph. :o

In the graph template if i change the auto-scale option to Use --alt-autoscale (ignoring given limits)
then it works fine.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest