Windows 2003 Domain Controller NTDS Stats
Moderators: Developers, Moderators
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Windows 2003 Domain Controller NTDS Stats
Cacti is a great piece of software. It's very helpful at work (and at home too!). I recently created an NTDS stats graph and decided to share it on this message board. Hopefully folks will find this useful...
This uses WMI and it's only been run against Windows 2003 boxes.
This uses WMI and it's only been run against Windows 2003 boxes.
- Attachments
-
- pic1.PNG (52.98 KiB) Viewed 59670 times
-
- cacti_data_template_w32_ntds_stats.xml
- (7.58 KiB) Downloaded 3296 times
-
- cacti_graph_template_w32_ntds_stats.xml
- (21.94 KiB) Downloaded 3869 times
-
- w32_ntds_stats.pl.txt
- (5.27 KiB) Downloaded 5026 times
Re: Windows 2003 Domain Controller NTDS Stats
kevin_taco wrote:Cacti is a great piece of software. It's very helpful at work (and at home too!). I recently created an NTDS stats graph and decided to share it on this message board. Hopefully folks will find this useful...
This uses WMI and it's only been run against Windows 2003 boxes.
Is there any way, we could get this to function on linux? using maybe, like check_nt?
Donohue
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Re: Windows 2003 Domain Controller NTDS Stats
This info is exposed via the NTDS Performance object in Perfmon so I can't see why not.ddonohue wrote:kevin_taco wrote:Cacti is a great piece of software. It's very helpful at work (and at home too!). I recently created an NTDS stats graph and decided to share it on this message board. Hopefully folks will find this useful...
This uses WMI and it's only been run against Windows 2003 boxes.
Is there any way, we could get this to function on linux? using maybe, like check_nt?
Donohue
-kevin_taco
Re: Windows 2003 Domain Controller NTDS Stats
Could you be bothered to give it a go?kevin_taco wrote:This info is exposed via the NTDS Performance object in Perfmon so I can't see why not.ddonohue wrote:kevin_taco wrote:Cacti is a great piece of software. It's very helpful at work (and at home too!). I recently created an NTDS stats graph and decided to share it on this message board. Hopefully folks will find this useful...
This uses WMI and it's only been run against Windows 2003 boxes.
Is there any way, we could get this to function on linux? using maybe, like check_nt?
Donohue
-kevin_taco
-
- Posts: 16
- Joined: Thu Jul 14, 2005 8:55 am
Error: XML: Hash version does not exist.
Error: XML: Hash version does not exist.
What version of Cacti was this generated in?
What version of Cacti was this generated in?
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
- Diggit2001
- Cacti User
- Posts: 195
- Joined: Tue May 03, 2005 4:29 pm
- Location: MD, US
I have edited this to work with checknt, if anyone is interested. Please let me know if there are any problems.
Thanks
Thanks
- Attachments
-
- ntds_stats.zip
- (5.28 KiB) Downloaded 2390 times
WMI Interface needs...
My brain is a bit off today but;
Is there anything other then WMI access to the server that is required for this perl script? I can't seen to get any data from the query...
Thanks.
Is there anything other then WMI access to the server that is required for this perl script? I can't seen to get any data from the query...
Thanks.
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Re: WMI Interface needs...
You need to have the NSClient running on the Windows servers as well.FreRange wrote:My brain is a bit off today but;
Is there anything other then WMI access to the server that is required for this perl script? I can't seen to get any data from the query...
Thanks.
Re: WMI Interface needs...
As far as I can see, Diggit2001 scripts require checknt. I'm trying to use kevin_taco's scripts that are just WMI.streaker69 wrote:You need to have the NSClient running on the Windows servers as well.FreRange wrote:My brain is a bit off today but;
Is there anything other then WMI access to the server that is required for this perl script? I can't seen to get any data from the query...
Thanks.
I'm trying to stay far away from any 3rd party addon's for windows. I will install then if needed but I would preferr not to.
Cacti 8h
Windows 2003sp1
IIS 6
MySQL 5
I think there might be an issue with my WMI classes on my pri DC's. I've done more testing and the script works on a secondary DC in my domain. I think I have to look into WMI repair.
Re: WMI Interface needs...
Yeah I figured it out. Big WMI mess. It's up and running now.
I have another question, what would be a good baseline number for these queries?
150+ servers
700+ Workstations
Exchange 2003
AD 2003
Thanks.
I have another question, what would be a good baseline number for these queries?
150+ servers
700+ Workstations
Exchange 2003
AD 2003
Thanks.
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
Hi All,
I was wondering if i was missing anything. I have imported the templates, and put the script in the scripts folder, but when my poller runs, i get:
When i run the following command i get what i think are the correct results, but when it runs with the poller, it is as though it is not getting the switch needed at the end.
Any assistance would be greatly apprecaited.
Thanks much
app
I was wondering if i was missing anything. I have imported the templates, and put the script in the scripts folder, but when my poller runs, i get:
Code: Select all
04/27/2007 11:50:03 AM - CMDPHP: Poller[0] Host[5] DS[3773] WARNING: Result from CMD not valid. Partial Result:
Code: Select all
perl w32_ntds_stats.pl SERVERNAME index
Any assistance would be greatly apprecaited.
Thanks much
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]
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
OK, here is an update to the problem that i was having with this script. I was missing the full path to perl in my setup. Once i put that in place, it started working just fine. SORT OF. I know have 3 of my domain controllers that i am unable to get this information for. When i run the script from the command line i get the following message back:
Does anyone have any idea what this means? I have tried restarting WMI on these systems, and nothing seems to help. They are all functional, working domain controllers, so they are responding to these requests, i just can't seem to get this information. I have looked at my firewall logs, and nothing is getting blocked.
Any help would be greatly apprecaited.
app
Code: Select all
Check the computer and class name.
No information was found on the specified class!
Any help would be greatly apprecaited.
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]
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
App,
If you get this message instead of results, this means (normally) that the WMI class does not exist. I got this same error with a couple of DC's I have that are Windows 2000. It works fine on Windows 2003.
If your boxes are W2k3, try running
wmiadap /f
From the command line. Stop and restart the WMI services, and have another go with the script.
If you get this message instead of results, this means (normally) that the WMI class does not exist. I got this same error with a couple of DC's I have that are Windows 2000. It works fine on Windows 2003.
If your boxes are W2k3, try running
wmiadap /f
From the command line. Stop and restart the WMI services, and have another go with the script.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 1 guest