Windows 2003 Domain Controller NTDS Stats
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
once again, you rock!! That fixed the problem.
thanks again
app
thanks again
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
-
- Posts: 1
- Joined: Tue May 22, 2007 8:52 am
How do I download these ???
How do I download these ???....
....nevermind.......figured it out...had to resize my browser window....doy....
....nevermind.......figured it out...had to resize my browser window....doy....
I've got a stupid problem
06/29/2007 11:35:37 AM - CMDPHP: Poller[0] Host[8] DS[46] CMD: c:/perl/bin/perl5.8.8.exe c:/Inetpub/wwwroot/cacti/scripts/w32_ntds_stats.pl get DSDirectoryReadsPersec,DSDirectorySearchesPersec,DSDirectoryWritesPersec,LDAPSearchesPersec,ABBrowsesPersec, output: U
06/29/2007 11:35:37 AM - CMDPHP: Poller[0] Host[8] DS[46] WARNING: Result from CMD not valid. Partial Result: Unable to talk to WM
But, if I run that exact command from the command prompt, it works fine.
Any ideas?
Joel
06/29/2007 11:35:37 AM - CMDPHP: Poller[0] Host[8] DS[46] CMD: c:/perl/bin/perl5.8.8.exe c:/Inetpub/wwwroot/cacti/scripts/w32_ntds_stats.pl get DSDirectoryReadsPersec,DSDirectorySearchesPersec,DSDirectoryWritesPersec,LDAPSearchesPersec,ABBrowsesPersec, output: U
06/29/2007 11:35:37 AM - CMDPHP: Poller[0] Host[8] DS[46] WARNING: Result from CMD not valid. Partial Result: Unable to talk to WM
But, if I run that exact command from the command prompt, it works fine.
Any ideas?
Joel
Unable to talk to WMI
I am confused.
The cacti log:
11/21/2007 10:15:06 PM - CMDPHP: Poller[0] Host[9] DS[26] WARNING: Result from CMD not valid. Partial Result: Unable to talk to WM
but I can get sucess result through command:
c:/perl/bin/perl.exe C:/Inetpub/wwwroot/cacti/scripts/w32_ntds_stat
s.pl 192.168.64.69 index
any ideas?
The cacti log:
11/21/2007 10:15:06 PM - CMDPHP: Poller[0] Host[9] DS[26] WARNING: Result from CMD not valid. Partial Result: Unable to talk to WM
but I can get sucess result through command:
c:/perl/bin/perl.exe C:/Inetpub/wwwroot/cacti/scripts/w32_ntds_stat
s.pl 192.168.64.69 index
any ideas?
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
Nils,
Is Cacti running as the same user account that you are testing as? Have you tried resetting the WMI adapter on the system?
try running this at a command prompt on the system you are having problems with
and then restart the WMI services.
Does that help at all? I have found that the account that cacti runs under needs additional rights to query WMI. I have made the cacti account a member of the admins group on the servers that we are querying with WMI.
app
Is Cacti running as the same user account that you are testing as? Have you tried resetting the WMI adapter on the system?
try running this at a command prompt on the system you are having problems with
Code: Select all
wmiadap /f
Does that help at all? I have found that the account that cacti runs under needs additional rights to query WMI. I have made the cacti account a member of the admins group on the servers that we are querying with WMI.
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
Re: Unable to talk to WMI
Nils,nils wrote: I am confused.
The cacti log:
11/21/2007 10:15:06 PM - CMDPHP: Poller[0] Host[9] DS[26] WARNING: Result from CMD not valid. Partial Result: Unable to talk to WM
but I can get sucess result through command:
c:/perl/bin/perl.exe C:/Inetpub/wwwroot/cacti/scripts/w32_ntds_stat
s.pl 192.168.64.69 index
any ideas?
go to the Data Input Method, W32 - Get NTDS Stats
in the input string, change all your "/' to "" should fix the problem.
check_nt and NTDS
btw--
Some of you who have Nagios installed may want to do this to ntds.pl
#$CheckNTPath='/var/www/html/scripts';
$CheckNTPath='/usr/local/nagios/libexec';
You could just copy check_nt into the place where Cacti expects it to be.
But I decided to try running it from where Nagios had it.
Now I'm working on this problem:
[root@netmon scripts]# /usr/bin/perl /usr/share/cacti/scripts/ntds.pl <myserverhostname> get DSDirectoryReadsPersec,DSDirectorySearchesPersec,DSDirectoryWritesPersec,LDAPSearchesPersec,ABBrowsesPersec
ABBrowsesPersec:Connection refused
could not fetch information from server LDAPSearchesPersec:Connection refused
could not fetch information from server DSDirectoryWritesPersec:Connection refused
could not fetch information from server DSDirectorySearchesPersec:Connection refused
could not fetch information from server DSDirectoryReadsPersec:Connection refused
could not fetch information from server
[root@netmon scripts]#
Some sort of rights issue.
Some of you who have Nagios installed may want to do this to ntds.pl
#$CheckNTPath='/var/www/html/scripts';
$CheckNTPath='/usr/local/nagios/libexec';
You could just copy check_nt into the place where Cacti expects it to be.
But I decided to try running it from where Nagios had it.
Now I'm working on this problem:
[root@netmon scripts]# /usr/bin/perl /usr/share/cacti/scripts/ntds.pl <myserverhostname> get DSDirectoryReadsPersec,DSDirectorySearchesPersec,DSDirectoryWritesPersec,LDAPSearchesPersec,ABBrowsesPersec
ABBrowsesPersec:Connection refused
could not fetch information from server LDAPSearchesPersec:Connection refused
could not fetch information from server DSDirectoryWritesPersec:Connection refused
could not fetch information from server DSDirectorySearchesPersec:Connection refused
could not fetch information from server DSDirectoryReadsPersec:Connection refused
could not fetch information from server
[root@netmon scripts]#
Some sort of rights issue.
This script is exactly what I am looking for, but we can't get it running.
I hoping someone can help me here, I am runnnig Cacti on Ubuntu, everything so far has been working perfectly. We are trying to get NTDS stats from our servers but we see the following from the poller logs
If we run the perl script from the command line we get the following output
We have checked the permissions on the script and it has same owner and permissions as other scripts using check_nt. So we feel that the script is running OK within catci and that the issue is the output format. Interestingly the performance counters on the server do show non zero values so we would expect some non zero values once in a while.
Having not used counters within check_nt before the output format looks unusual, but I have no point of reference to know if Cacti is ok with this data output.
Should I trim the output down to return only the 0.00 values, or will Cacti also have a problem with values containing a point '.'?
Look forward to any help anyone can provide.
OS - Ubuntu 8.04
Cacti Version - 0.8.7b
check_nt - NC_NET 4.4.0
I hoping someone can help me here, I am runnnig Cacti on Ubuntu, everything so far has been working perfectly. We are trying to get NTDS stats from our servers but we see the following from the poller logs
Code: Select all
08/19/2008 09:56:37 PM - SPINE: Poller[0] Host[29] DS[279] SCRIPT: perl /usr/local/cacti-0.8.7b/scripts/w32_ntds_stats.pl SERVERNAME get DSDirectoryReadsPersec,DSDirectorySearchesPersec,DSDirectoryWritesPersec,LDAPSearchesPersec,ABBrowsesPersec, output: U
Code: Select all
root@NAMEcacti:/usr/local/cacti-0.8.7b/scripts# perl w32_ntds_stats.pl SERVER
ABBrowsesPersec:\NTDS\AB Browses/sec = 0.00 LDAPSearchesPersec:\NTDS\LDAP Searches/sec = 0.00 DSDirectoryWritesPersec:\NTDS\DS Directory Writes/sec = 0.00 DSDirectorySearchesPersec:\NTDS\DS Directory Searches/sec = 0.00 DSDirectoryReadsPersec:\NTDS\DS Directory Reads/sec = 0.00
Having not used counters within check_nt before the output format looks unusual, but I have no point of reference to know if Cacti is ok with this data output.
Should I trim the output down to return only the 0.00 values, or will Cacti also have a problem with values containing a point '.'?
Look forward to any help anyone can provide.
OS - Ubuntu 8.04
Cacti Version - 0.8.7b
check_nt - NC_NET 4.4.0
I've looked over this and another thread but cant see what has been done to process the raw data..
What have you guys done to sanitize the raw data being given back by PerfRawData_NTDS_NTDS?
From what I understand the raw performance data needs to be "cooked" so to speak else you won't actually get the values you want. For example if I went just off the raw data it claims we have been doing over 3.3 million directory searches per second which is highly unlikely (It would mean every machine in the company is doing over 8000+ searches/second).
Generally we use the PerfFormattedData to get the results preprocessed but it looks like we don't get any data back when using that on NTDS_NTDS so we will have to process the data ourselves.
What have you guys done to sanitize the raw data being given back by PerfRawData_NTDS_NTDS?
From what I understand the raw performance data needs to be "cooked" so to speak else you won't actually get the values you want. For example if I went just off the raw data it claims we have been doing over 3.3 million directory searches per second which is highly unlikely (It would mean every machine in the company is doing over 8000+ searches/second).
Generally we use the PerfFormattedData to get the results preprocessed but it looks like we don't get any data back when using that on NTDS_NTDS so we will have to process the data ourselves.
Blank Graphs for NTDS
Windows Server 2003
IIS6
Version 0.8.7b
ActivePerl 5.10.0 Build 1004
I get disk space graphs just fine from my domain controllers but no data shows up in the graphs for the NTDS.
I can run the script locally on the box from the command line as:
c:/perl/bin/perl.exe c:/inetpub/wwwroot/cacti/scripts/w32_ntds_stats.pl <hostname> get DSDirectoryReadsPersec,DSDirectorySearchesPersec,DSDirectoryWritesPersec,LDAPSearchesPersec,ABBrowsesPersec
with <hostname> removed and the DNS name of the domain controller and it returns results such as:
DSDirectoryReadsPersec:26715588 DSDirectorySearchesPersec:8624607 DSDirectoryWritesPersec:118081 LDAPSearchesPersec:10976022 ABBrowsesPersec:163766
IIS6
Version 0.8.7b
ActivePerl 5.10.0 Build 1004
I get disk space graphs just fine from my domain controllers but no data shows up in the graphs for the NTDS.
I can run the script locally on the box from the command line as:
c:/perl/bin/perl.exe c:/inetpub/wwwroot/cacti/scripts/w32_ntds_stats.pl <hostname> get DSDirectoryReadsPersec,DSDirectorySearchesPersec,DSDirectoryWritesPersec,LDAPSearchesPersec,ABBrowsesPersec
with <hostname> removed and the DNS name of the domain controller and it returns results such as:
DSDirectoryReadsPersec:26715588 DSDirectorySearchesPersec:8624607 DSDirectoryWritesPersec:118081 LDAPSearchesPersec:10976022 ABBrowsesPersec:163766
Who is online
Users browsing this forum: No registered users and 0 guests