Quantcast
Channel: Zenoss Community: Message List
Viewing all articles
Browse latest Browse all 1097

Re: Monitoring Windows Server 2008 DHCP Scopes

$
0
0

Thank you,

 

It worked, the correct code is:

 

import re

if evt.component == 'Microsoft-Windows-DHCP-Server':

  msg=evt.summary

  if re.match (".*percent full with only*.", msg):

    evt.severity=5

  else:

    evt.severity=3


Viewing all articles
Browse latest Browse all 1097

Trending Articles