PDA

View Full Version : Monitor Windows Eventlog


eldiablo14
24-05-2010, 13:03
Hello All,

I have serious problem and I'll loose my mind very soon if I can't solve it :(

I read several topics but couldn't got an exact answer about Windows Eventlogging.

Here is the situation;

I can get last value info from the agent but I don't know how can I set a trigger to it.

I want to be notified when it comes from a specific source (application) and severity (high)

i.e;
({MYHOST:eventlog[application].logsource(NETWORKER)})&({MYHOST:eventlog[application].logseverity(4)}=4)

this is not working :( :(

eldiablo14
24-05-2010, 19:14
I finally solved it with this ; I hope it will work for you as well...
Tested with 1.8.2

({HOSTNAME:eventlog[application].logsource(LOGSOURCE)})&({HOSTNAME:eventlog[application].logseverity(4)}>2)


But i have another problem now. I can't receive all characters in an email, there is limit at characters. How can I put all event description in the notification email ?