notification of a specific Event Viewer event

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

notification of a specific Event Viewer event

Post by gornm565 »

We need to setup a Nagios alert that would notify us if a particular event occurs in the "System" Event Viewer Log in WIndows.
Event ID 2004
Provider Name="Microsoft-Windows-Resource-Exhaustion-Detector"

I am attaching a screen shot of the event. How do I go about setting that up? We would need an email notification immediately after the event occurs as usually all software starts to fail after this event.

Thank you.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: notification of a specific Event Viewer event

Post by scottwilkerson »

If you have the NCPA agent on this server you can use the Windows Event Log monitoring wizard
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: notification of a specific Event Viewer event

Post by gornm565 »

I don't have NCPA agent on it, so I am trying to install it. Where do I get the token to put into the token field? See attachment.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: notification of a specific Event Viewer event

Post by scottwilkerson »

gornm565 wrote:I don't have NCPA agent on it, so I am trying to install it. Where do I get the token to put into the token field? See attachment.
You get to choose this, but remember it as you will need it when you run the Wizard from Nagios XI. It is like a password/community string
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gornm565
Posts: 72
Joined: Tue Nov 15, 2016 6:11 pm

Re: notification of a specific Event Viewer event

Post by gornm565 »

Are there any characters not allowed in the string? I used * and I think it broke it as the token is broken up in a few arguments
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: notification of a specific Event Viewer event

Post by ssax »

There shouldn't be any reserved characters in the NCPA agent configs but I assume when you say the token is broken up do you mean in the XI Core Config Manager?

Since the CCM uses ! as a separator in the configs you may need to escape the ! if there is one. That's usually the one that causes the $ARGn$ values to be split.

https://support.nagios.com/kb/article.php?id=580

Please send me a copy of your profile and let me know the hostname that you setup so I can see how it's configured, you can download it from Admin > System Profile by clicking the Download Profile button.
Locked