Hi everyone,
I have a simple script that runs every hour and dumps the current hostnames
into a MySQL table (to reconcile with our asset database).
cat /usr/local/Nagios/var/objects.cache | grep -i host_name | cut -f 3 | sort |
uniq > $HOSTLIST
cat $HOSTLIST |while true
do read LINE || break
ec
What functional level are you at? In 2008 you can protect OUs in AD from being
moved etc. It's annoyingly easy it is to accidently click/drag OUs in AD
You could also use nsclient++ on your domain controller and run a power shell
script to compare list of OU's
Cheers
Gareth
-Original