Hey guys I have my log server pulling eventlogs from my windows servers.
I would like to know if I can configure the logserver to send an alert that contains all of the text of the evenlog message. For example:
the Ideal scenario would be that all the text located in the message field would become the alert/ notification that appears in nagios.
Question about log server notifications
Question about log server notifications
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Question about log server notifications
The %lastalertlog% macro can do this. You can view all the macros usable in an email template here:
Unfortunately, that's not usable in an NRDP check that you pass off to Nagios XI yet; Just emails. Using macros in scripts/NRDP messages won't be in NLS until a future version.
Unfortunately, that's not usable in an NRDP check that you pass off to Nagios XI yet; Just emails. Using macros in scripts/NRDP messages won't be in NLS until a future version.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Question about log server notifications
Where do I put the macros are the one thing in Nagios I never understood.(Yes I am ashamed).
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Question about log server notifications
You'd first have to create a new email template. Then, you can chuck them in the body of the template in whatever way you like.
Then, when you're creating an alert later on, you can pick the template from a drop-down menu if the method is "Email Users"
Then, when you're creating an alert later on, you can pick the template from a drop-down menu if the method is "Email Users"
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Question about log server notifications
Thanks man. I appreciate it.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Question about log server notifications
Did you have any additional questions regarding this?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Question about log server notifications
yes, I created an alert for the log event.
The problem is that I dont know how to configure the alert to send when the event occurs it seems.
How do I configure the Warning and Critial thresholds for an event that I want to be alerted on everytime it happens?
The problem is that I dont know how to configure the alert to send when the event occurs it seems.
How do I configure the Warning and Critial thresholds for an event that I want to be alerted on everytime it happens?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Question about log server notifications
Have you taken a look at the guide for setting up Logserver to send alerts at the link below?
http://assets.nagios.com/downloads/nagi ... Server.pdf
If you have setup an email alert, one thing is that use users in the list have to be highlighted / selected for the alert to send the emails to that user.
If they are not highlighted, they will not be emailed the alert.
http://assets.nagios.com/downloads/nagi ... Server.pdf
If you have setup an email alert, one thing is that use users in the list have to be highlighted / selected for the alert to send the emails to that user.
If they are not highlighted, they will not be emailed the alert.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Question about log server notifications
now im not THAT lazy lol!
Yes I read it. I have notifications being sent to my email addys, but this particular event will be tracking when a new user is added to a server, which is not frequent.
I'm trying to set it up so that every time the event happens, an alert will be sent as critical.
Yes I read it. I have notifications being sent to my email addys, but this particular event will be tracking when a new user is added to a server, which is not frequent.
I'm trying to set it up so that every time the event happens, an alert will be sent as critical.
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: Question about log server notifications
It could be that the Lookback setting is set to zero, try settings it to the 1 second like Check interval and see if it works.
I am betting that zero means don't go back at all in the log when counting the messages.Lookback Period – How far in the logs to look back when counting messages.
Be sure to check out our Knowledgebase for helpful articles and solutions!