Monitoring Windows Server 2008 DHCP Scopes
Hello Guys,I'm trying to implement a function in my Zenoss 4.2.3 that monitor the dhcp leases based on events, but no success until now. Zenoss shows messages like this in events: Resource:...
View ArticleRe: Monitoring Windows Server 2008 DHCP Scopes
This is untested, but the logic should be sound.. import.reif evt.component == 'Microsoft-Windows-DHCP-Server': msg=evt.summary if re.match (".*percent full with only*.", msg): evt.severity=5...
View ArticleRe: Monitoring Windows Server 2008 DHCP Scopes
In which field should I fill out this information?I'm new at this type of event processing. In Event Classes i've created an Event ClassMapping: Thanks for now =)
View ArticleRe: Monitoring Windows Server 2008 DHCP Scopes
Hi Gustavo,Can we just back up a touch. You have created a mapping at the /Events level - the top of the Event Class tree. I would be far more tempted to create your new class further down the tree....
View ArticleRe: Monitoring Windows Server 2008 DHCP Scopes
Ok, Got how to do it, but I've tried to correct the script and got no success on it Im not the best person on scripting... Anybody know where is the error on it ? Thanks
View ArticleRe: Monitoring Windows Server 2008 DHCP Scopes
Please can you post exactly what you have in your transform? Unfortunately, the earlier screenshot doesn't show all of it. Cheers,Jane
View ArticleRe: Monitoring Windows Server 2008 DHCP Scopes
Hello, Exactly as guyverix posted: import.reif evt.component == 'Microsoft-Windows-DHCP-Server': msg=evt.summary if re.match (".*percent full with only*.", msg): evt.severity=5 else:...
View ArticleRe: Monitoring Windows Server 2008 DHCP Scopes
Sorry - can see the problem. For some reason there is a spurious dot between import and re in the first line - it should just be a space ie. import re Then it works for me.Cheers,Jane
View ArticleRe: Monitoring Windows Server 2008 DHCP Scopes
Thank you, It worked, the correct code is: import reif evt.component == 'Microsoft-Windows-DHCP-Server': msg=evt.summary if re.match (".*percent full with only*.", msg): evt.severity=5 else:...
View Article
More Pages to Explore .....