Anyway, I created a quick VBScript that walks Active Directory and returns the number of members in a given group. I've been using some other scripts as examples and the documentation, most of it seems like its working but I'm getting those dreaded "NaN" results with rddtool. Here's an output of the pollers logfile that shows the relevant transactions (this is clipped, I can post an uncut version if need be)
Code: Select all
01/04/2006 11:12:06 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\Inetpub\wwwroot\monitoring\cacti\rra\active_directory_count_28.rrd --template Count 1136401921:250
01/04/2006 11:12:06 AM - POLLER: Poller[0] Parsed MULTI output field 'Count:250' [map Count->Count]
01/04/2006 11:12:06 AM - CMDPHP: Poller[0] Host[5] DS[28] CMD: c:/windows/system32/cscript.exe //nologo C:/Inetpub/wwwroot/monitoring/cacti/scripts/ad_list.vbs, output: Count:250
Any ideas for a struggling noob?