I am monitoring Eventlog of some Windows Servers and I have two issues:
1. Trigger for Template
I created a template for these and configured an item for Eventlog.
But now I have a little Problem because I want to add a Trigger to this template.
My trigger looks like this:
But I can't add this to my template because here "SERVERNAME" I wrote the real name. Is there a variable that catches all the Host Names which are in my template?
Let's say I have Server1, Server2 & Server3 all in my windows_template.
The Item is created for the windows_template, but the trigger not.
So I need a placeholder or a variable for the servernames.
2. Selective Information
I just need some Informations but not all. So I'll configured it like it says in the manual:
But I get all: Eventlog:Informations & Eventlog:Warning & Eventlog:Error
I don't want Eventlog:Informations.
I hope you will understand my Problem.
1. Trigger for Template
I created a template for these and configured an item for Eventlog.
But now I have a little Problem because I want to add a Trigger to this template.
My trigger looks like this:
Code:
({SERVERNAME:eventlog[System].logseverity(2)}=2)&({SERVERNAME:eventlog[System].logseverity(4)}=4)&({SERVERNAME:eventlog[System].logseverity(8)}=8)
Let's say I have Server1, Server2 & Server3 all in my windows_template.
The Item is created for the windows_template, but the trigger not.
So I need a placeholder or a variable for the servernames.
2. Selective Information
I just need some Informations but not all. So I'll configured it like it says in the manual:
{Template_Eventviewer:eventlog[System].logseverity(0)}=4 means HIGH message from System event log.
I don't want Eventlog:Informations.
I hope you will understand my Problem.

Comment