More help on Polymon

Topics: User Forum
Jun 22, 2009 at 2:37 PM

Hi,

I am using a couple of Powershell monitors which checks disks and services on several servers.

I am wondering if I will be able to use counters in a useful way?

To me it seems that the use of counters is designed to be used with a monitor which contains only one"object", meaning one disk on one server etc.

Is this so? How should I use counters when when monitoring several servers (and disks) with one monitor?

 

Thanks,

Developer
Jun 22, 2009 at 3:03 PM

I don't think I have any rules that use it, but since adding a counter allows you to specify the counter name you should be able to do this:

$Counters.Add("Drive C:",$size)

$Counters.Add("Drive D:",$size)

$Counters.Add("Drive E:",$size)

 

 

$Counters.Add("Drive F:",$size)